03-11-2021, 07:20 PM
@electroremy
Here's what the docs say about listfiles
So, now the question is "what is the music directory?" In moOde's case, it is /var/lib/mpd/music. Here's what's in mine:
Using the MPD protocol I can ask for a listing of a particular subdirectory on the particular USB thumbdrive which is plugged into this player:
Regards,
Kent
Here's what the docs say about listfiles
Quote:Lists the contents of the directory URI, including files are not recognized by MPD. URI can be a path relative to the music directory or an URI understood by one of the storage plugins. The response contains at least one line for each directory entry with the prefix “file: ” or “directory: “, and may be followed by file attributes such as “Last-Modified” and “size”.
So, now the question is "what is the music directory?" In moOde's case, it is /var/lib/mpd/music. Here's what's in mine:
Code:
pi@moode:/var/lib/mpd/music $ ls
NAS RADIO SDCARD UPNPminim USB
Using the MPD protocol I can ask for a listing of a particular subdirectory on the particular USB thumbdrive which is plugged into this player:
Code:
telnet moode.local 6600
Trying 192.168.4.26...
Connected to moode.local.
Escape character is '^]'.
OK MPD 0.22.4
listfiles USB/MUSIC/JAZZ
directory: Bob Schwartz Quartet-Look for the Silver Lining
Last-Modified: 2019-08-21T21:09:30Z
directory: Bob Schwartz Quartet-Taint whatcha do
Last-Modified: 2019-08-21T21:09:54Z
directory: Miles Davis & Quincy Jones-Miles & Quincy Live at Montreux
Last-Modified: 2019-08-22T16:48:06Z
directory: Greg Harrison Jazz Band - Volume 2
Last-Modified: 2019-05-04T11:42:46Z
directory: Larry Coryell-The Eleventh House
Last-Modified: 2019-08-31T21:59:20Z
file: temp.tar
size: 353597440
Last-Modified: 2020-08-13T21:22:58Z
OK
Regards,
Kent