Page 1 of 1

What type of directory structure do we understand?

PostPosted: Mon Sep 16, 2013 8:48 pm
by bushidoka
Server is Ubuntu 12.10 with the latest Subsonic downloaded today. .deb

OK I added all of my MP3s as per my usual directory structure, but I've seen some oddities.

First of all, I set up /home/subsonic/Music and dumped all my stuff in there. Under that level my usual way to organize my music is :

HOME/source/band/album/song.mp3

Source tells me where I obtained the song e.g.
- MyCDs
- iTunes
- HMV
- Friend's Name

and so on. But when I dumped that all into /home/subsonic/Music and entered just /home/subsonic/Music into the GUI, on the left it was just showing me the "source" names. So I had to add a bunch of different directories, one for each "source".

But still now Subsonic says it only has 26 songs and there should be able 2400. So I just don't know what it is doing. I did a manual scan from the GUI. I went on the back end and ensured it was all owned by user 'subsonic'.

In /etc/default/subsonic I set the user to 'subsonic'

What am I doing wrong?

Re: What type of directory structure do we understand?

PostPosted: Mon Sep 16, 2013 11:17 pm
by BKKKPewsey
SS expects the directory structure to be Artist\Album\Tracks so if you have now added the source directories to SS eg "home\MyCDs" SS now should be happy.
You should now have the artists listed in alphabetical order in the left frame in the web gui - do you?
Also when scanning how many entries (songs) does the Mediascanner find before it completes (check log)

:mrgreen:

Re: What type of directory structure do we understand?

PostPosted: Mon Sep 16, 2013 11:41 pm
by bushidoka
Yeah I see artists all down the left but when I click them I don't see albums.

I see this in subsonic.log

Code: Select all
[2013-09-16 19:36:48,853] INFO MediaScannerService - Scanned media library with 183 entries.


But I have a total of about 2200 mp3s. In fact no single directory has anywhere near 183

Code: Select all
root@userver:/home/subsonic/Music# for dd in *; do find $dd -name \*.mp3 | wc -l; done
8
30
221
18
129
1687
159

Re: What type of directory structure do we understand?

PostPosted: Tue Sep 17, 2013 12:03 am
by bushidoka
Well it seems not all of my music follows that directory structure - so I have to ask - why the heck would there be any assumptions about directory structure when MP3s have all of that information embedded in the metadata? It should be just a matter of "find all MP3s in this directory" and then read in the metadata to sort out what album it is on and so forth.

However nonetheless, I do have enough of my files in that structure to know that Subsonic is not reading them correctly, so I have to figure out why.

Re: What type of directory structure do we understand?

PostPosted: Thu Sep 19, 2013 11:46 am
by bushidoka
Is there any way to turn off this dependency on directory structure and just let subsonic take that information from the MP3 metadata?

Re: What type of directory structure do we understand?

PostPosted: Sat Dec 09, 2017 3:24 am
by bushidoka
So does SS still have this same notion of directory structure?

I am looking for a streaming solution again but this is a deal breaker for me just like it was in 2013.

thanks.

Re: What type of directory structure do we understand?

PostPosted: Sat Dec 09, 2017 10:28 am
by toolman
Hi,
Subsonic indexes my directory regardless of the structure.
I use the structure : Music\A\Artist beginning with A\album\tracks
But I have also:Music\V\ Various Artists\Classical\101 Classics\Disc 1\tracks
They all show up in Subsonic, all be it with a foldersign in front of "Classical" to indicate that there are albums underneath.
Other albums like Music\V\ Various Artists\Classical\Masterpieces\tracks show up as expected.
So it seems that Subsonic expects a directory structure with a max of 5 levels, but it will index all further subdirectories.

Re: What type of directory structure do we understand?

PostPosted: Sat Dec 09, 2017 1:25 pm
by acroyear
Subsonic internally supports ID3 data through its API and some apps will allow you to browse through that instead of the directory structure, but the main UI and the official Android app are still predominantly physical folder structure.