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
MediaPortal 1 Plugins
Popular Plugins
My Lyrics Plugin
My Lyrics 1.8.0 for MP 1.4 / 1.5 (26-07-13)
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="yoavain" data-source="post: 1008219" data-attributes="member: 92067"><p>I've checked the MP code, and it seems that the #Play.Current.Lyrics property is set in the GUIMusicOverlay (along with other properties).</p><p>The tag is set here (in the same class):</p><p>[spoiler][CODE]MusicTag tag;</p><p> </p><p> if (string.IsNullOrEmpty(filename))</p><p> {</p><p> return;</p><p> }</p><p> // last.fm radio sets properties manually therefore do not overwrite them.</p><p> if (Util.Utils.IsLastFMStream(filename))</p><p> {</p><p> return;</p><p> }</p><p> </p><p> // Radio Properties are set already in Play routine</p><p> if (g_Player.IsRadio)</p><p> {</p><p> return;</p><p> }</p><p> </p><p> // When Playing an Internet Stream, via BASS, skin properties are set during the Play method in BassAudio.cs</p><p> if (BassMusicPlayer.IsDefaultMusicPlayer && isInternetStream)</p><p> {</p><p> return;</p><p> }</p><p> else</p><p> {</p><p> tag = GetTag(filename);</p><p> }[/CODE][/spoiler]</p><p> </p><p>However, in the BassAudio.cs, the lyrics property is not set, only the following:</p><p>[spoiler][CODE]// and display what we get</p><p> GUIPropertyManager.SetProperty("#Play.Current.Album", _tagInfo.album);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Artist", _tagInfo.artist);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Title", title);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Comment", _tagInfo.comment);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Genre", _tagInfo.genre);</p><p> GUIPropertyManager.SetProperty("#Play.Current.Year", _tagInfo.year);[/CODE][/spoiler]</p><p> </p><p>Lyrics are either forgotten or not parsed at all...</p><p> </p><p>Either way, I'm not sure if that related to MyLyrics. I could set this property, when finding the lyrics.</p><p>The issue is with MP not parsing lyrics from file's metadata...</p></blockquote><p></p>
[QUOTE="yoavain, post: 1008219, member: 92067"] I've checked the MP code, and it seems that the #Play.Current.Lyrics property is set in the GUIMusicOverlay (along with other properties). The tag is set here (in the same class): [spoiler][CODE]MusicTag tag; if (string.IsNullOrEmpty(filename)) { return; } // last.fm radio sets properties manually therefore do not overwrite them. if (Util.Utils.IsLastFMStream(filename)) { return; } // Radio Properties are set already in Play routine if (g_Player.IsRadio) { return; } // When Playing an Internet Stream, via BASS, skin properties are set during the Play method in BassAudio.cs if (BassMusicPlayer.IsDefaultMusicPlayer && isInternetStream) { return; } else { tag = GetTag(filename); }[/CODE][/spoiler] However, in the BassAudio.cs, the lyrics property is not set, only the following: [spoiler][CODE]// and display what we get GUIPropertyManager.SetProperty("#Play.Current.Album", _tagInfo.album); GUIPropertyManager.SetProperty("#Play.Current.Artist", _tagInfo.artist); GUIPropertyManager.SetProperty("#Play.Current.Title", title); GUIPropertyManager.SetProperty("#Play.Current.Comment", _tagInfo.comment); GUIPropertyManager.SetProperty("#Play.Current.Genre", _tagInfo.genre); GUIPropertyManager.SetProperty("#Play.Current.Year", _tagInfo.year);[/CODE][/spoiler] Lyrics are either forgotten or not parsed at all... Either way, I'm not sure if that related to MyLyrics. I could set this property, when finding the lyrics. The issue is with MP not parsing lyrics from file's metadata... [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My Lyrics Plugin
My Lyrics 1.8.0 for MP 1.4 / 1.5 (26-07-13)
Contact us
RSS
Top
Bottom