Vortexbox / Superuniti - conflicting album count

Posted by: jobseeker on 02 July 2012

Despite my Vortexbox having 999 album folders, I notice that my Superuniti reports the number of albums in music/albums as 989. If I go into music/folders, the count is correct at 999. I've rebooted, reloaded and rescanned everything I can think of, but the problem remains. I've been through the folders with a fine toothcomb to check for the possibility or repeated albums etc, but they are all in order. I haven't yet faced the task of comparing each album by name in the two lists to see if any are actually not being shown in the albums list on the Superuniti.

 

I just wondered if anyone out there could think of any cause for the discrepancy which may not yet have occurred to me.

Posted on: 02 July 2012 by beeka

Maybe there are some folders that the vortexbox DLNA server doesn't think contain music - possibly because it failed to scan something or a folder is empty (which often happens on my system after I let MusicBrainz rename a folder). Have you tried asking it to rescan? Do the other interfaces, e.g. MPD or SqueezeCentre agree with the 989 figure?

Posted on: 02 July 2012 by engjoo
Could there be some folders (eg scan, album art) which do not contain any audio files?
Posted on: 02 July 2012 by jobseeker

Thanks for the comments. I guess the next step is a line by line comparison and examination of each folder.

Posted on: 02 July 2012 by beeka

If you are comfortable with command-line access to the VortexBox, you could try one of the following:

 

find /storage/flac -name \*.flac -exec {} \; | wc -l

 

This should give you a count of all the directories that have flac files in.

 

Find out which directories don't have flac files in them is a little bit trickier:

 

find /storage/flac -type d | sort -u > /tmp/xxx

find /storage/flac -name \*.flac -exec dirname {} \; | sort -u > /tmp/yyy

diff --suppress-common-lines /tmp/xxx /tmp/yyy

 

This should put a list of all directories in /tmp/xxx and a list of directories with flac files in /tmp/yyy and then compare the two... any directories shown from the diff should be looked at further as they don't contain flac files (if the incantations work as intended).

 

You will need to adjust the paths/parameters if you use wav files (or MP3s?).

 

I just had another thought... it could be that some of the meta-data clashes. For example, there are two versions of Nerina Pallot's "Fires" album (it was re-issued with a re-ordered track list). I have had to modify the metadata so that the album titles are different or else they get merged into one listing. Multi-disc compilation albums are also where I have had this happen before.

Posted on: 02 July 2012 by jobseeker

I wish I were more comfortable with tweaking Vortexbox, but I haven't got to near that level yet. I'm still running 1.10 because I don't really know how to upgrade and don't want to take a risk. I've ensured that each disc in multi-disc albums is differently named and that all folders have FLAC files in them. I only use the DLNA server and have no MP3 files or anything. I've rescanned it and rebooted the Vortexbox.

 

I think I'll now revisit the files which Vortexbox couldn't identify upon ripping, to see if there are metadata problems from when i used MP3tag to sort them out. Might be a bit time-consuming, with trial-and-error, but I can't think of anything else at the moment.

 

The time so far hasn't been a total waste as I've learned a couple of things and found some other mistakes that I've corrected. The current count is now 1000 folders showing in the music/folders on the SU (which is correct, as I've counted them), with 989 albums showing in music/albums on the SU. Interestingly, bliss is showing an album count of 998, so something is certainly amiss somewhere.

Posted on: 03 July 2012 by jobseeker

Just thought I'd update this for the benefit of anyone who may encounter a similar problem. I guess i should have been more on the ball and worked this out.

 

The main reason for the 'missing'albums is that several were titled 'The Best Of' or 'Greatest Hits' and a couple of others also had identical titles. Even though they were by different artists, they were all being classed as the same album  if they had the same title. Obviously, music/artist would list the albums correctly, but music/albums did not. I've now made sure I've added the artist to the title of the album. I'll need to remember to check any future ripping to see if the title matches anything already ripped.

 

Thanks to all those who contributed.