IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
simple musicIP mixer integration Problem, foobar2000 cannot read generated playlist from http://localhost
muzack
post Dec 14 2008, 10:37
Post #1





Group: Members
Posts: 113
Joined: 14-December 08
Member No.: 64497



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 playlist
http://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:
QUOTE
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)
CODE
C:\Programme\foobar2000\foobar2000.exe Command:"File/Add Location" http://localhost:10002/api/mix?content=m3u&artist=$replace(%artist%, ,+)

and this result in.
QUOTE
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

This post has been edited by muzack: Dec 14 2008, 10:39
Go to the top of the page
+Quote Post
muzack
post Dec 17 2008, 20:13
Post #2





Group: Members
Posts: 113
Joined: 14-December 08
Member No.: 64497



I found out now how it works in basic so take a look here: http://www.hydrogenaudio.org/forums/index....showtopic=68068
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd September 2014 - 01:38