PDA

View Full Version : Browsing large folders via 'Music folder' is slow



hcanning
2012-11-29, 08:29
Hi all,

I've been having this problem for a while now and thought I'd ask and see if I could get any insight.

We have one LMS with two Squeezeboxes in our house, and one controller for each.

Our music is separated into two 'Collections' - My music, and my father's music. These are stored on a NAS box and accessed by the LMS using Windows file sharing.

The folder structure is thus:

Music Set 1 > Genre > Artist > Album > song.xxx

Music Set 2 > Compressed > Artist > Album > song.mp3
.................> FLAC > Artist > Album > Song.flac

Browsing the music folders within set 1 is instantaneous.

Browsing either of the folders in set 2 is very slow, taking 10-15 seconds to display the contents of the "FLAC" folder (which contains 200 sub-folders) and longer to display the "Compressed" folder (if it doesn't crash LMS completely). The "Compressed" folder contains 600 sub-folders.


Is it just because of the sheer number of Artist folders under each? Am I asking too much of it to display 600 folders without crashing the LMS? Can I do anything different, other than use Artist/Album?

I should also add that even when I go into the Artist's subfolders in the FLAC folder it'll still take a long time to display the list of albums, and then start playing that album, even though there are only one or two.

The LMS is running on an Athlon 64 X2 box with 2GB RAM. Not exactly cutting edge, but plentiful for Squeezeboxing, I'm sure you'll agree.

Thanks, I hope this makes sense!

lrossouw
2012-11-30, 02:17
The LMS experience is not optimised for using folders. It physically goes and read the folders as you browse to check if there are new folders. It's always best to use the internal menus as these are read from database relatively quickly.

You could run two LMS servers each set to look at the folders of one of the collecitons. You could then switch library. Not sure how you'd get to LMS running on one machine, but it may be possible.


Why not tag all your songs with the correct genre's? Then one person can get to their music by browse by genre. The other can go through artist/album.
You could maybe use custom scan and custom browse plugins to provide this functionality.
Or you could use multi library plugin.

Jaca
2012-11-30, 02:51
The LMS is running on an Athlon 64 X2 box with 2GB RAM. Not exactly cutting edge, but plentiful for Squeezeboxing, I'm sure you'll agree.


Just image how LMS 'Music folder' works on my 128MB RAM NAS O_O.. 10-15sec extends sometimes to 30+ (which make Music folder pretty much unusable - unless you got patience of monk)

It's really pain as I have always prefered browsing folders and newer been fan of library based on tag's. Specially when some of tag's are inccorect / not complete.. (and it seems like big job to get all tag's sorted properly)

Even with correct tag's I don't want everything in one place. With folders you can structure your library however you like..

I got quite a lot of various audio which is not suitable for my main library and that's why I use LMS Lite on 32GB USB connected to one of my SBT's

Does anyone uses Multi-Library plugin, is it any good? Never tried it myself cos read that smth is wrong with it..Can't rember what O_O

garym
2012-11-30, 05:45
Just image how LMS 'Music folder' works on my 128MB RAM NAS O_O.. 10-15sec extends sometimes to 30+ (which make Music folder pretty much unusable - unless you got patience of monk)

It's really pain as I have always prefered browsing folders and newer been fan of library based on tag's. Specially when some of tag's are inccorect / not complete.. (and it seems like big job to get all tag's sorted properly)

Even with correct tag's I don't want everything in one place. With folders you can structure your library however you like..

I got quite a lot of various audio which is not suitable for my main library and that's why I use LMS Lite on 32GB USB connected to one of my SBT's

Does anyone uses Multi-Library plugin, is it any good? Never tried it myself cos read that smth is wrong with it..Can't rember what O_O

Don't use it myself but I see plenty of reports of happy users of multilibrary plugin. Regarding folders vs tags. LMS is designed to work with tags. Folders is not really meant to be the main approach to finding music to play. And just because one uses tags doesn't mean you can't also have a very useful, logical file structure. I have about 70,000 tracks. They are organized by;

/Artist/Album/tracks....

So I can find anything by directory/subdirectory if I choose to. But all have good tags. And if your directory structure is good, one can use something like mp3tag to automatically create tags from the info contained in the file name or the directory and subdirectory location of the files themselves. mp3tag has a very good "mapping" function to do this in a batch way. (and mp3tag works with other than only mp3 files).
Bottom line: for other than very small collections, browsing by folder is not going to be a good experience for LMS users.

Mnyb
2012-11-30, 05:47
Search is also pretty fast it uses tags

Jaca
2012-11-30, 06:18
Don't use it myself but I see plenty of reports of happy users of multilibrary plugin. Regarding folders vs tags. LMS is designed to work with tags. Folders is not really meant to be the main approach to finding music to play. And just because one uses tags doesn't mean you can't also have a very useful, logical file structure. I have about 70,000 tracks. They are organized by;

/Artist/Album/tracks....

So I can find anything by directory/subdirectory if I choose to. But all have good tags. And if your directory structure is good, one can use something like mp3tag to automatically create tags from the info contained in the file name or the directory and subdirectory location of the files themselves. mp3tag has a very good "mapping" function to do this in a batch way. (and mp3tag works with other than only mp3 files).
Bottom line: for other than very small collections, browsing by folder is not going to be a good experience for LMS users.

I also keep same file structure .../Artist/Album/tracks.... but I wasn't aware I can use mp3tag to get tags from it.
Thanks for that! never really digged mp3tag... will definitely spend more time to try know it better..

Probably will get round multi library plugin as well to see if it would work for me... ohh
Not sure why I haven't done it yet, but sometimes Im just affraid that after messing about I will 'loose' existing working configuration and would have to spend hours to get it back to state where it was in first place O_O... I'm getting more frustrated and less patient with age....

garym
2012-11-30, 06:33
I also keep same file structure .../Artist/Album/tracks.... but I wasn't aware I can use mp3tag to get tags from it.
Thanks for that! never really digged mp3tag... will definitely spend more time to try know it better..

Probably will get round multi library plugin as well to see if it would work for me... ohh
Not sure why I haven't done it yet, but sometimes Im just affraid that after messing about I will 'loose' existing working configuration and would have to spend hours to get it back to state where it was in first place O_O... I'm getting more frustrated and less patient with age....

yep, mp3tag can work very well. Essentially, you load up your files, then use the menu item "convert" then "filename to tag". Then from here you get a popup with a "mask" that you can map directory names, subdirectory names, file names, spaces, characters, etc. to the appropriate field names (%field name%). Play around with it a bit and you'll see how it works.

garym
2012-11-30, 06:49
yep, mp3tag can work very well. Essentially, you load up your files, then use the menu item "convert" then "filename to tag". Then from here you get a popup with a "mask" that you can map directory names, subdirectory names, file names, spaces, characters, etc. to the appropriate field names (%field name%). Play around with it a bit and you'll see how it works.

for example, see picture. This file is in a x:\music upper level directory. the "." at the beginning of the map just takes care of the upper level directories so that it now only looking at the artist/album directories. Note, spaces, characters (like a "-") etc. all matter in your mapping.

dasmueller
2012-11-30, 07:13
Great band ! in the screenshot.

garym
2012-11-30, 07:16
Great band ! in the screenshot.

you and I definitely share musical taste (and an interest in LIVE music, really live and recorded shows!).

Jaca
2012-11-30, 10:09
for example, see picture. This file is in a x:\music upper level directory. the "." at the beginning of the map just takes care of the upper level directories so that it now only looking at the artist/album directories. Note, spaces, characters (like a "-") etc. all matter in your mapping.

Thank you for great example! I will have a go sometime this weekend when find some spare time. I'm only here few days but already love these forums..
well I guess Squeezebox community = true music lovers, you can't beat that!

ohh couldn't resist to check this band on youtube :)
it's not my usual genre/style of music but what a great honest band..!! Cheers!