-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with spdr:// requestString #1164
Comments
TBH: I've long forgotten what the |
The comment in
I have mpv working pretty well as a squeezebox player using a c-plugin that borrows heavily from existing c code, mostly from squeezeslave for the slimproto stuff. Basically, all the mpv c-plugin does is handle the slimproto comms with LMS and then issues commands to mpv to open files/urls and control playback, volume, etc. Since mpv plays video, I was testing how to pass a video url from LMS to mpv, with the idea of perhaps working on a plugin, but I wanted to come up with a method before going any further. The spdr:// format seemed to do what I wanted. For testing, I made a short playlist consisting of a remote .mp3 file (random from a google search), a local .mp3 file on my server, and then a remote .mp4 video. A playlist with these entries plays the first two files and then does not play the third:
If I change the third entry for the video to use the spdr:// prefix it works (after making the code change noted in my first post):
|
Well, I should note too that I had to handle the spdr:// url in my c-plugin code but that's on the client side. |
They are both needed (surprise...) when PH's don't descend from HTTP. Now, the requestString needed to be updated
I think this was broken in the above referenced commit. |
@philippe44 can you take a look at this when you get a chance? |
Does it make any sense to check for
requestString
and then callgetRequestString
? Am I reading this wrong?slimserver/Slim/Player/Squeezebox.pm
Lines 794 to 795 in b4c87de
The SqueezePlayDirect protocol handler defines
requestString
:slimserver/Slim/Player/Protocols/SqueezePlayDirect.pm
Line 46 in b4c87de
I'm testing using spdr:// formatted urls and was having issues getting
Squeezebox.pm
to send the strm command with an spdr:// url until I edited line 795 to$methodHandler->requestString
and then it started working as expected.The text was updated successfully, but these errors were encountered: