Discuss client development (or even MPD development if you feel so inclined), ask questions about the client libs, MPD feature requests from client developers, etc...
Post Reply
Posts: 3
Joined: November 26th, 2019, 7:07 pm


Post by kdubious »

I just made a post about swapping the path of files in the Queue.

Another potential solution would be this:
  • The new track is about to play
    MPD requests the stream from the URL
    I intercept this request, inject my authentication
    I get the response from the auth request, and pass it to a new request for a valid URL
    I return the stream from that new valid URL to MPD
This solution would actually be several times more useful than having to swap out the paths in the queue all the time.

Is there some way to hook the Curl request starting?
Post Reply