"Can't add track with no Title" exception breaks scanning

Bug #1337285 reported by Alex Penner on 2014-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtunes
Undecided
Unassigned

Bug Description

It seems that mp3 with no titles interrupt scanner process.

STEPS TO REPRODUCE:

1. checkout current trunk (http://bazaar.launchpad.net/~mike32767/qtunes/trunk/revision/160)
2. build all.jar
3. start with java -jar dist/all.jar qtunes.conf

RESULT:

Exception in thread "qTunes-scanner" java.lang.IllegalArgumentException: Can't add track with no Title ($/Depeche Mode/[Bootlegs]/02-depeche_mode_-_cinderella_(16_b_r.mp3)
 at org.qtunes.db.spi.simple.DatabaseImpl.create(DatabaseImpl.java:107)
 at org.qtunes.scanner.Scanner.addChanged(Scanner.java:167)
 at org.qtunes.scanner.Scanner.findChanged(Scanner.java:191)
 at org.qtunes.scanner.Scanner.findChanged(Scanner.java:178)
 at org.qtunes.scanner.Scanner.findChanged(Scanner.java:178)
 at org.qtunes.scanner.Scanner.findChanged(Scanner.java:178)
 at org.qtunes.scanner.Scanner.run(Scanner.java:140)
 at java.lang.Thread.run(Thread.java:744)

After this exception the directory scan is stopped. No new tracks added.

EXPECTED RESULT:

directory scan doesn't stop

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers