Banshee.PlaybackController.PlaybackControllerService.QueryTrack C# (CSharp) Method

QueryTrack() private method

private QueryTrack ( Direction direction, bool restart ) : Banshee.Collection.TrackInfo
direction Direction
restart bool
return Banshee.Collection.TrackInfo
        private TrackInfo QueryTrack (Direction direction, bool restart)
        {
            Log.DebugFormat ("Querying model for track to play in {0}:{1} mode", ShuffleMode, direction);
            return ShuffleMode == "off"
                ? QueryTrackLinear (direction, restart)
                : QueryTrackRandom (ShuffleMode, restart);
        }