simple musicIP mixer integration Problem
2008-12-14 09:37:13
hello to all, i have a question, that is related to foo_run and MusicIP and some basic things. I experiment with the MusicIP Api just for fun and had the idea to integrate this in foobar2000 with foo_run. Here the steps if someone want to reproduce it: 1. download and install MusicIP mixer and scan your library. 2. start the server of musicIP over File/Preferences/Services (i installed this as service, because the server was always shut down after minutes -> read here more: http://forums.slimdevices.com/showthread.p...4787#post114787 ) 3. point your browser to http://localhost:10002/api - a simple webform is shown. now try: http://localhost:10002/api/mix - a list of filepath should shown. this is a random mix. now try: http://localhost:10002/api/mix?artist=your+artist - this should return a mix with "your artist" as seed. ok and now with the suggested parameter content=m3u for playlisthttp://localhost:10002/api/mix?artist=Spok...amp;content=m3u browser returns a m3u playlist for download. so far so good. I tried to open this url with foobar2000 File/Add Location but I get a Playback error:Unable to open item for playback (Unsupported format or corrupted file): "http://localhost:10002/api/mix?artist=Spokane&content=m3u" I think if this will not work, it will not work with foo_run ?! I've set up a really simple call (I hope it's correct)C:\Programme\foobar2000\foobar2000.exe Command:"File/Add Location" http://localhost:10002/api/mix?content=m3u&artist=$replace(%artist%, ,+) and this result in.Unable to open item for playback (Unsupported format or corrupted file): "http://localhost:10002/api/mix?content=m3u&artist=Inquiet" Unable to open item for playback (Unsupported file format): "C:\Programme\foobar2000\Command:File\Add Location" At this point, I have no idea what is wrong, maybe the foo_run command is false, but I should be able to load the m3u playlist over Add Location (and any other remote playlist works)?! Maybe someone has an idea or more knowledge what happen there, or have some free time to try out these steps ;-) Thanks and best wishes Marcus