- October 26, 2010
- 537
- 201
- Home Country
-
Germany
I've tried to get get RadioTime compatible with MP 1.4 pre, but because of "GetStreamTags()" is missing in "BassAudioEngine" a rebuild gets failed. Where is it gone or what to do now?
Also "using MP.Externals.BASS" throws an error. I've used "using MediaPortal.MusicPlayer.BASS", is this right?
Maybe @hwahrmann knows what i have to do?!
This is the code from RadioTime plugin:
Edit: Found the git commit where the method was removed from @hwahrmann:
[url]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19[/Url]
Also "using MP.Externals.BASS" throws an error. I've used "using MediaPortal.MusicPlayer.BASS", is this right?
Maybe @hwahrmann knows what i have to do?!
This is the code from RadioTime plugin:
Code:
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);
}
Edit: Found the git commit where the method was removed from @hwahrmann:
[url]https://github.com/MediaPortal/MediaPortal-1/commit/3e04b2e96c1e5e75d1a41eab3bdb1b246fda0a19[/Url]
Last edited: