09-28-2021, 05:06 PM
@the_bertrum
If you're interesting in seeing how much detritus is involved you could try a test with just a couple of albums on a USBstick added to a media server.
Compare the directory tree on the USBstick (under /media if using a second moOde player as the media server) with the directory tree under /mnt/UPNP on the test moOde player. Have a look at the MPD file system /var/lib/mpd/music/<name>.
Here's that part of the MPD directory structure in my test case. I named the UPNP mount "top" 'cuz I mounted the top endpoint offered from the media server (a moOde player). The USBstick contains just two albums.
640 directories, many of which were generated by minimserver!
BTW the indispensible tree utility is available via apt-get. It has tons of useful options. I asked it to list only directories. If run with no options it would have also diagrammed the 10 .mp3 track files and 5 .flac track files repeatedly in different directories.
Have fun.
Regards,
Kent
If you're interesting in seeing how much detritus is involved you could try a test with just a couple of albums on a USBstick added to a media server.
Compare the directory tree on the USBstick (under /media if using a second moOde player as the media server) with the directory tree under /mnt/UPNP on the test moOde player. Have a look at the MPD file system /var/lib/mpd/music/<name>.
Here's that part of the MPD directory structure in my test case. I named the UPNP mount "top" 'cuz I mounted the top endpoint offered from the media server (a moOde player). The USBstick contains just two albums.
Code:
pi@Rpi4b2:/var/lib/mpd/music/top $ tree -d
.
├── Browse Folders
│ ├── NAS
│ │ └── _search
│ ├── RADIO
│ │ └── _search
│ ├── SDCARD
│ │ ├── _search
│ │ └── Stereo Test
│ │ └── _search
│ ├── _search
│ └── USB
│ ├── _search
│ └── USB DISK
│ ├── Music
│ │ ├── A Change of Pace
│ │ │ ├── Prepare the Masses
│ │ │ │ └── _search
│ │ │ └── _search
│ │ ├── davis-miles-1961-some-day-my-prince-will-come-blp-cr-5
│ │ │ └── _search
│ │ └── _search
│ └── _search
├── Music
│ ├── Album
│ │ ├── New American Saint
│ │ │ └── _search
│ │ ├── Prepare The Masses
│ │ │ └── _search
│ │ ├── _search
│ │ ├── Sing The Sorrow
│ │ │ └── _search
│ │ ├── Someday My Prince Will Come
│ │ │ └── _search
│ │ ├── Stereo Test
│ │ │ └── _search
│ │ ├── The Ransom EP
│ │ │ └── _search
│ │ ├── This Could Be A Possibility
│ │ │ └── _search
│ │ ├── This Could Be a Possibility-(RETAIL)
│ │ │ └── _search
│ │ ├── This is Who We Are
│ │ │ └── _search
│ │ └── Waste My Time (Web CDS)
│ │ └── _search
│ ├── All Music
│ │ └── _search
│ ├── Artist
│ │ ├── A Change Of Pace
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── Prepare The Masses
│ │ │ │ └── _search
│ │ │ └── _search
│ │ ├── AFI
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Sing The Sorrow
│ │ │ └── _search
│ │ ├── Bedlight For Blue Eyes
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Waste My Time (Web CDS)
│ │ │ └── _search
│ │ ├── Cartel
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── The Ransom EP
│ │ │ └── _search
│ │ ├── Davis, Miles
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Someday My Prince Will Come
│ │ │ └── _search
│ │ ├── Koz
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Stereo Test
│ │ │ └── _search
│ │ ├── Run Kid Run
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── This is Who We Are
│ │ │ └── _search
│ │ ├── _search
│ │ ├── something corporate
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Unknown Album
│ │ │ └── _search
│ │ ├── Tokyo Rose
│ │ │ ├── - All Albums -
│ │ │ │ └── _search
│ │ │ ├── New American Saint
│ │ │ │ └── _search
│ │ │ └── _search
│ │ └── Valencia
│ │ ├── - All Albums -
│ │ │ └── _search
│ │ ├── _search
│ │ ├── This Could Be A Possibility
│ │ │ └── _search
│ │ └── This Could Be a Possibility-(RETAIL)
│ │ └── _search
│ ├── Folders
│ │ ├── SDCARD
│ │ │ ├── _search
│ │ │ └── Stereo Test
│ │ │ └── _search
│ │ ├── _search
│ │ └── USB
│ │ ├── _search
│ │ └── USB DISK
│ │ ├── Music
│ │ │ ├── A Change of Pace
│ │ │ │ ├── Prepare the Masses
│ │ │ │ │ └── _search
│ │ │ │ └── _search
│ │ │ ├── davis-miles-1961-some-day-my-prince-will-come-blp-cr-5
│ │ │ │ └── _search
│ │ │ └── _search
│ │ └── _search
│ ├── Genre
│ │ ├── jazz small band
│ │ │ ├── - All Artists -
│ │ │ │ └── _search
│ │ │ ├── Davis, Miles
│ │ │ │ └── _search
│ │ │ └── _search
│ │ ├── Pop
│ │ │ ├── - All Artists -
│ │ │ │ └── _search
│ │ │ ├── Cartel
│ │ │ │ └── _search
│ │ │ └── _search
│ │ ├── Punk
│ │ │ ├── - All Artists -
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Valencia
│ │ │ └── _search
│ │ ├── Rock
│ │ │ ├── A Change Of Pace
│ │ │ │ └── _search
│ │ │ ├── AFI
│ │ │ │ └── _search
│ │ │ ├── - All Artists -
│ │ │ │ └── _search
│ │ │ ├── Bedlight For Blue Eyes
│ │ │ │ └── _search
│ │ │ ├── Run Kid Run
│ │ │ │ └── _search
│ │ │ ├── _search
│ │ │ └── Tokyo Rose
│ │ │ └── _search
│ │ ├── _search
│ │ └── Utilities
│ │ ├── - All Artists -
│ │ │ └── _search
│ │ ├── Koz
│ │ │ └── _search
│ │ └── _search
│ ├── Playlists
│ │ ├── 1.FM - Blues Radio
│ │ │ └── _search
│ │ ... <<deleted the rest of the radio stations>>
│ ├── Recently Added
│ └── _search
├── Pictures
│ ├── All Pictures
│ │ └── _search
│ ├── Camera
│ │ └── _search
│ ├── Date Taken
│ │ └── _search
│ ├── Folders
│ │ └── _search
│ ├── Recently Added
│ └── _search
├── _search
└── Video
├── All Video
│ └── _search
├── Folders
│ └── _search
├── Recently Added
└── _search
640 directories
pi@Rpi4b2:/var/lib/mpd/music/top $
640 directories, many of which were generated by minimserver!
BTW the indispensible tree utility is available via apt-get. It has tons of useful options. I asked it to list only directories. If run with no options it would have also diagrammed the 10 .mp3 track files and 5 .flac track files repeatedly in different directories.
Have fun.
Regards,
Kent