public GUIListItem build(string cueFileName, CueSheet cueSheet, Track track) { GUIListItem res = new GUIListItem(); res.IsFolder = false; res.Path = CueUtil.buildCueFakeTrackFileName(cueFileName, track); MediaPortal.Util.Utils.SetDefaultIcons(res); if (track.Performer != null && track.Performer != cueSheet.Performer) { res.Label = track.Performer + " - " + track.Title; } else { res.Label = track.Title; } res.Label = track.TrackNumber.ToString("00") + " " + res.Label; return(res); }
public string build(string cueFileName, CueSheet cueSheet, Track track) { return(CueUtil.buildCueFakeTrackFileName(cueFileName, track)); }