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
Development
General Development (no feature request here!)
"public MusicTag GetStreamTags()" is missing under class "MediaPortal.Player.BassAudioEngine"
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="pünktchen" data-source="post: 994837" data-attributes="member: 107846"><p>I've tried to get get RadioTime compatible with MP 1.4 pre, but because of "<span style="color: #3366ff">GetStreamTags()</span>" is missing in "<span style="color: #3366ff">BassAudioEngine"</span> a rebuild gets failed. Where is it gone or what to do now?</p><p> </p><p>Also "<span style="color: #3366ff">using </span><span style="font-family: 'Open Sans'"><span style="color: #4f6b72"><span style="color: #3366ff">MP.Externals.BASS</span><span style="color: #000000">" throws an error. I've used "</span></span></span><span style="font-family: 'Open Sans'"><span style="color: #4f6b72"><span style="color: #3366ff">using MediaPortal.MusicPlayer.BASS</span><span style="color: #000000">", is this right?</span></span></span></p><p> </p><p><span style="font-family: 'Open Sans'"><span style="color: #4f6b72"><span style="color: #000000">Maybe @</span></span></span><a href="https://forum.team-mediaportal.com/members/hwahrmann.10391/" target="_blank"><span style="font-family: 'arial'"><strong>hwahrmann</strong></span></a> knows what i have to do?!</p><p> </p><p>This is the code from RadioTime plugin:</p><p>[CODE=C#]void Player_InternetStreamSongChanged(object sender)</p><p> {</p><p> if(!g_Player.Playing)</p><p> return;</p><p> BassAudioEngine engine = sender as BassAudioEngine;</p><p> MusicTag tag = engine.GetStreamTags();</p><p> var dlg1 = (GUIDialogNotify)GUIWindowManager.GetWindow((int)Window.WINDOW_DIALOG_NOTIFY);</p><p> if (dlg1 == null) return;</p><p> dlg1.Reset();</p><p> dlg1.SetHeading("");</p><p> dlg1.SetText(tag.Artist + "-" + tag.Title);</p><p> dlg1.Reset();</p><p> dlg1.TimeOut = 3;</p><p> dlg1.DoModal(GetID);</p><p> }[/CODE]</p><p> </p><p>Edit: Found the git commit where the method was removed from <span style="font-family: 'Open Sans'"><span style="color: #4f6b72"><span style="color: #000000">@</span></span></span><a href="https://forum.team-mediaportal.com/members/hwahrmann.10391/" target="_blank"><span style="font-family: 'arial'"><strong>hwahrmann</strong></span></a>:</p><p><a href="http://[URL]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19" target="_blank">[url]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19</a>[/Url]</p></blockquote><p></p>
[QUOTE="pünktchen, post: 994837, member: 107846"] I've tried to get get RadioTime compatible with MP 1.4 pre, but because of "[COLOR=#3366ff]GetStreamTags()[/COLOR]" is missing in "[COLOR=#3366ff]BassAudioEngine"[/COLOR] a rebuild gets failed. Where is it gone or what to do now? Also "[COLOR=#3366ff]using [/COLOR][FONT=Open Sans][COLOR=#4f6b72][COLOR=#3366ff]MP.Externals.BASS[/COLOR][COLOR=#000000]" throws an error. I've used "[/COLOR][/COLOR][/FONT][FONT=Open Sans][COLOR=#4f6b72][COLOR=#3366ff]using MediaPortal.MusicPlayer.BASS[/COLOR][COLOR=#000000]", is this right?[/COLOR][/COLOR][/FONT] [FONT=Open Sans][COLOR=#4f6b72][COLOR=#000000]Maybe @[/COLOR][/COLOR][/FONT][URL='https://forum.team-mediaportal.com/members/hwahrmann.10391/'][FONT=arial][B]hwahrmann[/B][/FONT][/URL] knows what i have to do?! This is the code from RadioTime plugin: [CODE=C#]void Player_InternetStreamSongChanged(object sender) { if(!g_Player.Playing) return; BassAudioEngine engine = sender as BassAudioEngine; MusicTag tag = engine.GetStreamTags(); var dlg1 = (GUIDialogNotify)GUIWindowManager.GetWindow((int)Window.WINDOW_DIALOG_NOTIFY); if (dlg1 == null) return; dlg1.Reset(); dlg1.SetHeading(""); dlg1.SetText(tag.Artist + "-" + tag.Title); dlg1.Reset(); dlg1.TimeOut = 3; dlg1.DoModal(GetID); }[/CODE] Edit: Found the git commit where the method was removed from [FONT=Open Sans][COLOR=#4f6b72][COLOR=#000000]@[/COLOR][/COLOR][/FONT][URL='https://forum.team-mediaportal.com/members/hwahrmann.10391/'][FONT=arial][B]hwahrmann[/B][/FONT][/URL]: [URL='http://[URL]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19'][url]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19[/url][/Url] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
"public MusicTag GetStreamTags()" is missing under class "MediaPortal.Player.BassAudioEngine"
Contact us
RSS
Top
Bottom