python-2.7mpd

MPD, How to get the name of the current playlist?


I am using Python MPD2, is there a way to return the name of the currently selected playlist?

Thanks, Mark.


Solution

  • After more searching, I finally posted on the musicpd forum

    https://forum.musicpd.org/viewtopic.php?f=7&t=4034

    and the response was:

    "MPD does not remember of the most recently loaded playlist's name, so there's no way to query it.".