home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
List of commands (#strings) available in music section
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jameson_uk" data-source="post: 755976" data-attributes="member: 11220"><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Related_Changes/1.1.0_to_1.2.0/Music_Browsing_Skin_Properties" target="_blank">Music Browsing Skin Properties - MediaPortal Wiki</a></p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Related_Changes/1.1.0_to_1.2.0/Music_Now_Playing_Skin_Properties" target="_blank">Music Now Playing Skin Properties - MediaPortal Wiki</a></p><p></p><p>There are also some existing properties. So taking this from the code...</p><p></p><p>In music browsing screens (will show details of highlighted item)</p><p>[spoiler] GUIPropertyManager.SetProperty("#music.title", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.track", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.rating", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.duration", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.artist", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.bitRate", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.comment", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.composer", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.conductor", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.lyrics", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.timesplayed", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.filetype", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.codec", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.bitratemode", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.bpm", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.channels", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.samplerate", string.Empty);</p><p> GUIPropertyManager.SetProperty("#music.album", tag.Album);</p><p> GUIPropertyManager.SetProperty("#music.genre", tag.Genre);</p><p> GUIPropertyManager.SetProperty("#music.year", strYear);</p><p> GUIPropertyManager.SetProperty("#music.albumArtist", tag.AlbumArtist);</p><p> GUIPropertyManager.SetProperty("#music.discid", strDiscID);</p><p> GUIPropertyManager.SetProperty("#music.disctotal", strDiscTotal);</p><p> GUIPropertyManager.SetProperty("#music.trackTotal", strTrackTotal);</p><p> GUIPropertyManager.SetProperty("#music.datelastplayed", strDateLastPlayed);</p><p> GUIPropertyManager.SetProperty("#music.dateadded", strDateAdded);</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Review", _albumInfo.Review);</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Rating", _albumInfo.Rating.ToString());</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Genre", _albumInfo.Genre);</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Styles", _albumInfo.Styles);</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Tones", _albumInfo.Tones);</p><p> GUIPropertyManager.SetProperty("#AlbumInfo.Year", _albumInfo.Year.ToString());</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Bio", _artistInfo.AMGBio);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Born", _artistInfo.Born);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Genres", _artistInfo.Genres);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Instruments", _artistInfo.Instruments);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Styles", _artistInfo.Styles);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.Tones", _artistInfo.Tones);</p><p> GUIPropertyManager.SetProperty("#ArtistInfo.YearsActive", _artistInfo.YearsActive);[/spoiler]</p><p></p><p>In Now playing screen you have</p><p>[spoiler] GUIPropertyManager.SetProperty("#Play.Current.Title", CurrentTrackTag.Title);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Track", strTrack);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Album", CurrentTrackTag.Album);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Artist", CurrentTrackTag.Artist);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Genre", CurrentTrackTag.Genre);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Year", strYear);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Rating", strRating);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Duration", strDuration);</p><p> GUIPropertyManager.SetProperty("#duration", strDuration);</p><p> GUIPropertyManager.SetProperty("#Play.Current.AlbumArtist", CurrentTrackTag.AlbumArtist);</p><p> GUIPropertyManager.SetProperty("#Play.Current.BitRate", strBitrate);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Comment", CurrentTrackTag.Comment);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Composer", CurrentTrackTag.Composer);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Conductor", CurrentTrackTag.Conductor);</p><p> GUIPropertyManager.SetProperty("#Play.Current.DiscID", strDiscID);</p><p> GUIPropertyManager.SetProperty("#Play.Current.DiscTotal", strDiscTotal);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Lyrics", CurrentTrackTag.Lyrics);</p><p> GUIPropertyManager.SetProperty("#Play.Current.TimesPlayed", strTimesPlayed);</p><p> GUIPropertyManager.SetProperty("#Play.Current.TrackTotal", strTrackTotal);</p><p> GUIPropertyManager.SetProperty("#Play.Current.FileType", CurrentTrackTag.FileType);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Codec", CurrentTrackTag.Codec);</p><p> GUIPropertyManager.SetProperty("#Play.Current.BitRateMode", CurrentTrackTag.BitRateMode);</p><p> GUIPropertyManager.SetProperty("#Play.Current.BPM", strBPM);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Channels", strChannels);</p><p> GUIPropertyManager.SetProperty("#Play.Current.SampleRate", strSampleRate);</p><p> GUIPropertyManager.SetProperty("#Play.Current.DateLastPlayed", strDateLastPlayed);</p><p> GUIPropertyManager.SetProperty("#Play.Current.DateAdded", strDateAdded);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Review", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Rating", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Genre", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Styles", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Tones", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.AlbumInfo.Year", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Bio", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Born", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Genres", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Instruments", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Styles", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.Tones", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.ArtistInfo.YearsActive", String.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Thumb", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Title", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Track", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Album", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Artist", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Genre", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Year", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Rating", "0");</p><p> GUIPropertyManager.SetProperty("#Play.Next.AlbumArtist", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.BitRate", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Comment", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Composer", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Conductor", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.DiscID", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.DiscTotal", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Lyrics", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.TimesPlayed", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.TrackTotal", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.FileType", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Codec", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.BitRateMode", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.BPM", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.Channels", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.SampleRate", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.DateLastPlayed", string.Empty);</p><p> GUIPropertyManager.SetProperty("#Play.Next.DateAdded", string.Empty);[/spoiler]</p><p></p><p>The in general you will get some player properties</p><p>[spoiler]#duration[/spoiler]</p><p>Was there anything in particular you were loooking for?</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 755976, member: 11220"] [url=http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Related_Changes/1.1.0_to_1.2.0/Music_Browsing_Skin_Properties]Music Browsing Skin Properties - MediaPortal Wiki[/url] [url=http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Related_Changes/1.1.0_to_1.2.0/Music_Now_Playing_Skin_Properties]Music Now Playing Skin Properties - MediaPortal Wiki[/url] There are also some existing properties. So taking this from the code... In music browsing screens (will show details of highlighted item) [spoiler] 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);[/spoiler] In Now playing screen you have [spoiler] 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);[/spoiler] The in general you will get some player properties [spoiler]#duration[/spoiler] Was there anything in particular you were loooking for? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
List of commands (#strings) available in music section
Contact us
RSS
Top
Bottom