List of commands (#strings) available in music section (1 Viewer)

Holzi

Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    Hello!
    Is there a list of all available strings you can use? E.g. for showing title, duration, albumcover, mediainfo (mp3, flac...). I looked through the wiki but haven't found anything. Maybe someone can help?
    Thanks! =)
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Music Browsing Skin Properties - MediaPortal Wiki
    Music Now Playing Skin Properties - MediaPortal Wiki

    There are also some existing properties. So taking this from the code...

    In music browsing screens (will show details of highlighted item)
    GUIPropertyManager.SetProperty("#music.title", string.Empty);
    GUIPropertyManager.SetProperty("#music.track", string.Empty);
    GUIPropertyManager.SetProperty("#music.rating", string.Empty);
    GUIPropertyManager.SetProperty("#music.duration", string.Empty);
    GUIPropertyManager.SetProperty("#music.artist", string.Empty);
    GUIPropertyManager.SetProperty("#music.bitRate", string.Empty);
    GUIPropertyManager.SetProperty("#music.comment", string.Empty);
    GUIPropertyManager.SetProperty("#music.composer", string.Empty);
    GUIPropertyManager.SetProperty("#music.conductor", string.Empty);
    GUIPropertyManager.SetProperty("#music.lyrics", string.Empty);
    GUIPropertyManager.SetProperty("#music.timesplayed", string.Empty);
    GUIPropertyManager.SetProperty("#music.filetype", string.Empty);
    GUIPropertyManager.SetProperty("#music.codec", string.Empty);
    GUIPropertyManager.SetProperty("#music.bitratemode", string.Empty);
    GUIPropertyManager.SetProperty("#music.bpm", string.Empty);
    GUIPropertyManager.SetProperty("#music.channels", string.Empty);
    GUIPropertyManager.SetProperty("#music.samplerate", string.Empty);
    GUIPropertyManager.SetProperty("#music.album", tag.Album);
    GUIPropertyManager.SetProperty("#music.genre", tag.Genre);
    GUIPropertyManager.SetProperty("#music.year", strYear);
    GUIPropertyManager.SetProperty("#music.albumArtist", tag.AlbumArtist);
    GUIPropertyManager.SetProperty("#music.discid", strDiscID);
    GUIPropertyManager.SetProperty("#music.disctotal", strDiscTotal);
    GUIPropertyManager.SetProperty("#music.trackTotal", strTrackTotal);
    GUIPropertyManager.SetProperty("#music.datelastplayed", strDateLastPlayed);
    GUIPropertyManager.SetProperty("#music.dateadded", strDateAdded);
    GUIPropertyManager.SetProperty("#AlbumInfo.Review", _albumInfo.Review);
    GUIPropertyManager.SetProperty("#AlbumInfo.Rating", _albumInfo.Rating.ToString());
    GUIPropertyManager.SetProperty("#AlbumInfo.Genre", _albumInfo.Genre);
    GUIPropertyManager.SetProperty("#AlbumInfo.Styles", _albumInfo.Styles);
    GUIPropertyManager.SetProperty("#AlbumInfo.Tones", _albumInfo.Tones);
    GUIPropertyManager.SetProperty("#AlbumInfo.Year", _albumInfo.Year.ToString());
    GUIPropertyManager.SetProperty("#ArtistInfo.Bio", _artistInfo.AMGBio);
    GUIPropertyManager.SetProperty("#ArtistInfo.Born", _artistInfo.Born);
    GUIPropertyManager.SetProperty("#ArtistInfo.Genres", _artistInfo.Genres);
    GUIPropertyManager.SetProperty("#ArtistInfo.Instruments", _artistInfo.Instruments);
    GUIPropertyManager.SetProperty("#ArtistInfo.Styles", _artistInfo.Styles);
    GUIPropertyManager.SetProperty("#ArtistInfo.Tones", _artistInfo.Tones);
    GUIPropertyManager.SetProperty("#ArtistInfo.YearsActive", _artistInfo.YearsActive);

    In Now playing screen you have
    GUIPropertyManager.SetProperty("#Play.Current.Title", CurrentTrackTag.Title);
    GUIPropertyManager.SetProperty("#Play.Current.Track", strTrack);
    GUIPropertyManager.SetProperty("#Play.Current.Album", CurrentTrackTag.Album);
    GUIPropertyManager.SetProperty("#Play.Current.Artist", CurrentTrackTag.Artist);
    GUIPropertyManager.SetProperty("#Play.Current.Genre", CurrentTrackTag.Genre);
    GUIPropertyManager.SetProperty("#Play.Current.Year", strYear);
    GUIPropertyManager.SetProperty("#Play.Current.Rating", strRating);
    GUIPropertyManager.SetProperty("#Play.Current.Duration", strDuration);
    GUIPropertyManager.SetProperty("#duration", strDuration);
    GUIPropertyManager.SetProperty("#Play.Current.AlbumArtist", CurrentTrackTag.AlbumArtist);
    GUIPropertyManager.SetProperty("#Play.Current.BitRate", strBitrate);
    GUIPropertyManager.SetProperty("#Play.Current.Comment", CurrentTrackTag.Comment);
    GUIPropertyManager.SetProperty("#Play.Current.Composer", CurrentTrackTag.Composer);
    GUIPropertyManager.SetProperty("#Play.Current.Conductor", CurrentTrackTag.Conductor);
    GUIPropertyManager.SetProperty("#Play.Current.DiscID", strDiscID);
    GUIPropertyManager.SetProperty("#Play.Current.DiscTotal", strDiscTotal);
    GUIPropertyManager.SetProperty("#Play.Current.Lyrics", CurrentTrackTag.Lyrics);
    GUIPropertyManager.SetProperty("#Play.Current.TimesPlayed", strTimesPlayed);
    GUIPropertyManager.SetProperty("#Play.Current.TrackTotal", strTrackTotal);
    GUIPropertyManager.SetProperty("#Play.Current.FileType", CurrentTrackTag.FileType);
    GUIPropertyManager.SetProperty("#Play.Current.Codec", CurrentTrackTag.Codec);
    GUIPropertyManager.SetProperty("#Play.Current.BitRateMode", CurrentTrackTag.BitRateMode);
    GUIPropertyManager.SetProperty("#Play.Current.BPM", strBPM);
    GUIPropertyManager.SetProperty("#Play.Current.Channels", strChannels);
    GUIPropertyManager.SetProperty("#Play.Current.SampleRate", strSampleRate);
    GUIPropertyManager.SetProperty("#Play.Current.DateLastPlayed", strDateLastPlayed);
    GUIPropertyManager.SetProperty("#Play.Current.DateAdded", strDateAdded);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Review", String.Empty);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Rating", String.Empty);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Genre", String.Empty);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Styles", String.Empty);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Tones", String.Empty);
    GUIPropertyManager.SetProperty("#Play.AlbumInfo.Year", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Bio", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Born", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Genres", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Instruments", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Styles", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.Tones", String.Empty);
    GUIPropertyManager.SetProperty("#Play.ArtistInfo.YearsActive", String.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Thumb", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Title", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Track", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Album", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Artist", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Genre", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Year", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Rating", "0");
    GUIPropertyManager.SetProperty("#Play.Next.AlbumArtist", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.BitRate", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Comment", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Composer", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Conductor", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.DiscID", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.DiscTotal", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Lyrics", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.TimesPlayed", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.TrackTotal", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.FileType", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Codec", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.BitRateMode", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.BPM", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.Channels", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.SampleRate", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.DateLastPlayed", string.Empty);
    GUIPropertyManager.SetProperty("#Play.Next.DateAdded", string.Empty);

    The in general you will get some player properties
    #duration
    Was there anything in particular you were loooking for?
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #3
    AW: List of commands (#strings) available in music section

    Thats exactly what I was looking for.
    Thanks! =)
     

    Users who are viewing this thread

    Top Bottom