03-14-2025, 01:34 PM
(03-14-2025, 12:30 PM)datside Wrote:(03-14-2025, 11:38 AM)Tim Curtis Wrote: See the console session below. When MPD creates a playlist for example by saving the Queue there are no duration or other tags, just the URI's.
Code:pi@moode9:~ $ telnet localhost 6600
Trying ::1...
Connection failed: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.24.0
# List the contents of the Queue
playlist
0:file: http://79.111.119.111:8000/acid
1:file: http://79.120.39.202:8000/ethnotronica
OK
# Save the Queue to a playlist .m3u file
save tim
OK
# Show the contents of the stored playlist
listplaylist tim
file: http://79.111.119.111:8000/acid
file: http://79.120.39.202:8000/ethnotronica
OK
^C
Connection closed by foreign host.
# Same but via cat
pi@moode9:~ $ cat /var/lib/mpd/playlists/tim.m3u
http://79.111.119.111:8000/acid
http://79.120.39.202:8000/ethnotronica
pi@moode9:~ $
moOde's playlist feature also just saves the URI's but it adds two header tags to define the Genre and Cover image path
Code:pi@moode9:~ $ cat "/var/lib/mpd/playlists/Test playlist.m3u"
#EXTGENRE:Various
#EXTIMG:default
http://79.111.119.111:8000/acid
http://79.120.39.202:8000/ethnotronica
Your best bet would be to configure whatever playlist software you are using to create moOde/MPD compatible playlist files.
Please just tell me where to comment out this upnp feature and i will go away
Found myself,
Code:
moode/www/inc/mpd.php line 785