phreakonaleash
05-08-2007, 02:18 PM
Hey folks,
I am trying to create a wrapper function to add to the Pocket Tunes API (for my own use ;)) that will open and play an .m3u playlist. I believe I have the code right but when I try to pass the Action I made using PocketTunesCall() it tries to open my wifi connection then does nothing.
here is my pseudo:
allocate using AllocateAsynchronusActioNStruct
the pAction->action is kPocketTunes.. blabla bla openM3UPlayList
the URl is constructed as: "file://{cardname}{dir}" (cardname and dir are passed to my function)
call PocketTuensCall and pass the action i made.
but this doesn't work. has anyone gotten PocketTunes to open an m3u playlist?
PocketTunes API guide states that the url must be in the filebrowser API format, which imho is "file://{card}{dir}" as was in my function. I have also tried "VFFS://..." (which is stated in the pTunes api to stand for vfs fiel to pTunes)
Later daze from a confused
I am trying to create a wrapper function to add to the Pocket Tunes API (for my own use ;)) that will open and play an .m3u playlist. I believe I have the code right but when I try to pass the Action I made using PocketTunesCall() it tries to open my wifi connection then does nothing.
here is my pseudo:
allocate using AllocateAsynchronusActioNStruct
the pAction->action is kPocketTunes.. blabla bla openM3UPlayList
the URl is constructed as: "file://{cardname}{dir}" (cardname and dir are passed to my function)
call PocketTuensCall and pass the action i made.
but this doesn't work. has anyone gotten PocketTunes to open an m3u playlist?
PocketTunes API guide states that the url must be in the filebrowser API format, which imho is "file://{card}{dir}" as was in my function. I have also tried "VFFS://..." (which is stated in the pTunes api to stand for vfs fiel to pTunes)
Later daze from a confused