with the current version of the api you can construct the "now playing list" only
NowPlayingList_Clear
NowPlayingList_QueueLast (probably the one you want to use)
NowPlayingList_QueueNext
Hmm..Clear works, but the other 2 do nothing.
I am calling them all in method "Configure" as follows (1.2.4201):
mbApi.NowPlayingList_Clear();
mbApi.NowPlayingList_QueueNext("http://download.streampower.be/vrt/klara/31_KL110005QMIX-snip_hi.mp3");
mbApi.NowPlayingList_QueueLast("http://download.streampower.be/vrt/klara/31_KL110005QMIX-snip_hi.mp3");
(EDITED twice)
Thanks.
I've been browsing his source for a while, and finally found it, but it's too hard for me to implement anything in it (will cost too much time).
I will stick to the Menu Items for now.
For people possibly looking for the same, this is how to make a window (for now) (check boroda74 for skinning) :
mbForm = (Form)Form.FromHandle(mbApi.MB_GetWindowHandle());
ownedForm.Text = "Radio Dig";
mbForm.AddOwnedForm(ownedForm);
ownedForm.Show();
Steven,
1. Any ideas about my previous post, about refreshing / loading new plugins without closing MB?
2. Also, I would love it if API could make a new Dropdown in Navigator Panel. :P
3. And tertio, NowPlayingList_QueueNext does not work if the character '-' is inside the string. Does it have to be URL-encoded or bug?
EDIT: HttpUtility.UrlEncode does not encode "-" (dash)! So, maybe "dash" should be allowed and it's a bug after all?
Now it works with dash!!!??? Maybe Steven fixed it in a weekly build. Thanks if so!