Page 1 of 1

ignored files?

PostPosted: Thu Mar 21, 2013 4:27 pm
by Pcace
hey,

im using Musiccabinet 0.7.22 and i am very happy with it.
The only Problem is: there are files wich are not imported to Musiccabinet, and i really cannot understand why.- Sometimes there are only a few songs of a whole Album (copied from one CD in exactly the same way...)which are not recognized.... is there a more explicit log where i could get more informations?!

i attachted a screenshot of a file which is not recognized by Musiccabinet.

Any Idea?


Thanks,

Pcace

Re: ignored files?

PostPosted: 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?

PostPosted: Thu Mar 21, 2013 6:38 pm
by Pcace
Where can i find the musiccabinet.log?

I only have the /var/subsonic/subsonic.log. Or is this the file you ment?

Thanks,

Pcace


EDIT: with
hakko wrote:I you have to remove all media folders, scan, add all media folders back, and scan again.
you mean, the "remove" button in the screenshot?

Re: ignored files?

PostPosted: 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?

PostPosted: Thu Mar 21, 2013 7:48 pm
by Pcace
Ok,
thanks, i will try that.. And there is no faster thing i could do? With this method i have to rescan a 1TB Music database.... this takes on that server around 1,5 days.....


Pcace

Re: ignored files?

PostPosted: 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?

PostPosted: Fri Mar 22, 2013 10:51 am
by Pcace
Hey, i Completely rescanned the Library over night, but the result was really not good:
There are now maaaaany tracks wich are not recognized by musiccabinet. I really want to find the Problem behind this!!!

first the Musiccabinet version:
Code: Select all
Subsonic, originally written by Sindre Mehus. Built with MusicCabinet plugin, version 0.7.22, on 13. Februar 2013.
Server   jetty/8.y.z-SNAPSHOT, java 1.7.0_07, Linux (77,9 MB / 162,8 MB)


The Musiccabinet.log is that one here: http://pastebin.com/24H1qqtS
This is what Musiccabinet sais: http://paste.ubuntuusers.de/414082/

i controlled a lot of the not imported Tracks. Most (~85%) of the not imported tracks have: Tracknumber, Track, Album, Artist, Year and cover.
So there must be another Problem or?


The structure here is the following: i have a MacPro with a iTunes library. This iTunes Lib (only the folder structure and *.mp3) is syncronized automaticly with the Server where Musiccabinet runs.
So the Tagging of the mp3s is done completely via iTunes (11.02).

Even if all those media files are only around 2% of the whole Library, it would be great to see every song in there!!!


Any Idea?


Thanks,

Pcace

Re: ignored files?

PostPosted: 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?

PostPosted: Fri Mar 22, 2013 5:56 pm
by Pcace
Hey Hakko,

i send you a mail with one file attached. Maybe you can find out what the Problem is!!

Thank you,

Pcace

Re: ignored files?

PostPosted: 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.

Image

MusicCabinet requires at least artist and title to identify a file and present it in the interface.

Re: ignored files?

PostPosted: 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?

PostPosted: Sat Mar 23, 2013 4:16 pm
by Pcace
hakko wrote:The problem with the particular file that you sent is that it only contains artist and album, not title.

Image

MusicCabinet requires at least artist and title to identify a file and present it in the interface.



Hey, wich Application do you use for the tagging stuff?


Thanks,

Pcace

Re: ignored files?

PostPosted: Sat Mar 23, 2013 7:52 pm
by hakko
I primarily use http://beets.radbox.org/

Re: ignored files?

PostPosted: Sun Mar 24, 2013 2:30 pm
by Pcace
Hey, Thanks a lot for your help!
The Problem was, that itunes shows the filename as "id3name" when no id3 tag is given. So i thought these files had a id3 name but they didnt.

i fixed it by:
1. creating an m3u file containing the not imported songs
2. using EasyTAG (mac) to write the filenames to the "name" section of the id3...


Thanks again for the great software and your help!!!!!


Thanks!


Pcace