Re: [Musicpd-dev-team] Save queue as playlist in MPD

2011-03-25 Thread Max Kellermann
On 2011/03/24 19:30, Markus Schuster fuch...@freenet.de wrote: i took a look into save_playlist.h and i tried two different types. But both didnt work. Could you give me another hint. I am unable give you hints if all you gave me is didnt work.

Re: [Musicpd-dev-team] Save queue as playlist in MPD

2011-03-23 Thread Max Kellermann
On 2011/03/22 19:50, Markus fuchsmar...@web.de wrote: For that i patched the src file playlist_queue.c. I can save a empty playlist and can clear the playlist, but how to save the actual queue to the playlist in src file playlist_queue.c? Especially i don't know how to get access to the queue.

[Musicpd-dev-team] Save queue as playlist in MPD

2011-03-22 Thread Markus
Hi! if a special playlist named Radio is called by a MPD client, the MPD server should (before loading the special playlist into queue) save the current queue as a playlist named Default. Background: http://musicpd.org/mantis/view.php?id=3134 For that i patched the src file playlist_queue.c. I