07-25-2018, 02:42 PM
Sort the entire list or would directories still be listed at the top as they currently are?
moOde just uses the list generated by MPD as-is, example below. It appears to be an alpha sort till you get to the Default Playlist entry which should be below the Aaa entry but instead is above it. Very odd.
directory: NAS
directory: RADIO
directory: SDCARD
playlist: Default Playlist
playlist: Aaa
playlist: Eee
playlist: Favorites
playlist: Test
I'll have to play around with this a bit and see whats possible as far as sorts go.
-Tim
moOde just uses the list generated by MPD as-is, example below. It appears to be an alpha sort till you get to the Default Playlist entry which should be below the Aaa entry but instead is above it. Very odd.
directory: NAS
directory: RADIO
directory: SDCARD
playlist: Default Playlist
playlist: Aaa
playlist: Eee
playlist: Favorites
playlist: Test
Code:
pi@rp3:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.20.0
lsinfo
directory: NAS
Last-Modified: 2018-07-08T18:04:14Z
directory: RADIO
Last-Modified: 2018-07-24T23:33:06Z
directory: SDCARD
Last-Modified: 2018-07-12T16:01:41Z
playlist: Default Playlist
Last-Modified: 2018-07-24T23:33:06Z
playlist: Aaa
Last-Modified: 2018-07-25T12:44:21Z
playlist: Eee
Last-Modified: 2018-07-25T12:44:37Z
playlist: Favorites
Last-Modified: 2018-07-25T03:41:30Z
playlist: Test
Last-Modified: 2018-07-24T23:32:16Z
OK
I'll have to play around with this a bit and see whats possible as far as sorts go.
-Tim