Page 1 of 1
Re: ignored files?

Posted:
Thu Mar 21, 2013 4:33 pm
by hakko
I introduced a list of missing/ignored files as a feature in some relatively recent version.. but to get that information, you have to remove all media folders, scan, add all media folders back, and scan again. Missing files will then be shown on the Media folders settings page, and you can also check the musiccabinet.log file after the second scan, it should give a hint on why they couldn't be imported. Or post it here and I'll have a look! That's probably the best solution.
Re: ignored files?

Posted:
Thu Mar 21, 2013 7:39 pm
by shadow.8
You can find the location of musiccabinet.log on the About page, under Bug Reports. Mine is in the temp folder, /tmp/musiccabinet.log.
Also, I believe that is what he is referring to by removing the tracks. If you click those check boxes and then scan, it will remove all of the tracks in your library. Then add them back and you should get some output in your musiccabinet.log file as well as on the bottom of the Media Folders page in Settings.
Re: ignored files?

Posted:
Thu Mar 21, 2013 9:42 pm
by hakko
Thanks shadow.8!
To avoid having to rescan all files with correct tags, you can work directly with the database.
First run this:
select * from library.file f where f.filename like '%.mp3' and not exists (select 1 from library.filetag where file_id = f.id);This will give you all files that lack tag information (only .mp3, otherwise cover etc is included too).
To remove just them from your index (if you think this seems like a good idea after checking the output from the first statement):
delete from library.file f where f.filename like '%.mp3' and not exists (select 1 from library.filetag where file_id = f.id);This is on your own risk.

Then scan again.
Re: ignored files?

Posted:
Fri Mar 22, 2013 1:42 pm
by hakko
It looks (from the error message) as if the unimported tracks have faulty ID3v1 tags. Could you send me one of the files to work with? Faulty tags like that shouldn't stop the import (I need to change the code so that they aren't ignored), but I need a file for reproducing it.
Re: ignored files?

Posted:
Fri Mar 22, 2013 8:30 pm
by hakko
The problem with the particular file that you sent is that it only contains artist and album, not title.

MusicCabinet requires at least artist and title to identify a file and present it in the interface.
Re: ignored files?

Posted:
Fri Mar 22, 2013 8:34 pm
by hakko
You can find files that lack tags by going to the very bottom of the left column, switch to "File-based browsing", and then browse your library that way. I'd make sure all files are tagged with at least artist and title, though.
Re: ignored files?

Posted:
Sat Mar 23, 2013 7:52 pm
by hakko