Swap out a path

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

Swap out a path

Post by kdubious »

Hello. New to MPD development, so please be nice.

I'm implementing a front end (queue) for several online audio services. Everything works great except that the URL I get for the track has a lifespan. So, from time to time, I need to run through the queue and update the URL for the tracks to their new (not-yet-expired) URLs.

It would be easier for me to do this swap, rather than remove the track and add a new track in its place (I think), because I'm keeping some metadata in Redis based on the Song's ID.

Does this feature exist? If not, can anyone point me to the code files I should look at for trying to build this feature / command?

Post Reply