That can be simplified greatly...
if( params["trackIDs"] <> invalid ) then
playlist = params["trackIDs"].Tokenize(" ")
"lucasgonze" wrote:No problem, glad to see the feature added into the Mog beta. Would it be ok with you/Mog to add the launch interface to remoku for end users now, or would it be better to wait until after this version of Mog leaves beta status? I have a testing version I keep locally where I'm already adding interfaces for channels that publicly support ecp launch params (right now it's just shoutcast and soon-to-be mog). I wouldn't want to make something public unless the developer is onboard first.
And thanks for the incantations, EnTerr and TheEndless.
gonzotek, reading the remoku source was a big help. I appreciate the learning. In the end I used hardcoded hack forms like this one, so that I could focus on just the brightscript: http://pastebin.com/8RryduUv
whaleface, I'm really psyched to see your hack. Is the only modification to the MOG UI that it adds the blue "(Roku)" link? That doesn't look so bad, all things considering. I know from experience that modifying page layouts is a can of worms... Might as well just get started.
I haven't gotten time to hook up the Roku today, so haven't been able to test the extension fully. But it has been smooth so far.
I'll be demoing MOG Roku hacks at NY Music Hack Day next weekend and will show this off. How does it detect a MOG ID? Is it possible to have your extension detect MOG IDs in tracks outside of mog.com? One way to do that is to look for links in the form http://mog.com/tracks/mn44159509/el-gui ... gro/bombay ....
I just did a test against a live device and nothing happened on the device.
My guess is that setting the IP in the config screen isn't working.