Music with invalid year field (-1) in metadata causes mediascanner to crash
Bug #1436110 reported by
SB
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Music App |
Invalid
|
Undecided
|
Unassigned | ||
mediascanner2 |
Fix Released
|
High
|
James Henstridge | ||
mediascanner2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Music which has the value -1 in the year field causes mediascanner2 to crash. This then causes problems to the clients, eg Music-app, as they cannot read the tracks in the store or add tracks via a content-hub import.
-- Original bug report--
When I use the file manager application to open a mp3 file from SD card Music says "waiting for file" and then "imported file not found" even though it plays that file normally when opened directly from Music.
BQ Aquaris HD4.5 Ubuntu Edition fully updated and running on 14.10 r20.
Related branches
lp:~jamesh/mediascanner2/bug-1436110
- Michi Henning (community): Approve
-
Diff: 189 lines (+102/-6)4 files modifiedCMakeLists.txt (+1/-1)
src/daemon/MetadataExtractor.cc (+3/-0)
test/basic.cc (+9/-3)
test/test_metadataextractor.cc (+89/-2)
Changed in music-app: | |
status: | New → Invalid |
summary: |
- Music refuses to play file opened via file manager + Music with invalid year field (-1) in metadata causes mediascanner to + crash |
description: | updated |
Changed in mediascanner2: | |
assignee: | nobody → James Henstridge (jamesh) |
Changed in mediascanner2: | |
importance: | Undecided → Medium |
importance: | Medium → High |
Changed in mediascanner2: | |
status: | Confirmed → In Progress |
Changed in mediascanner2: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
status: | New → Fix Released |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
Personally I believe the file manager should be using url-handler instead of content-hub in this case as the music already exists in the target location (on SD card/Music or in ~/Music) and does not need to be imported.
However mediascanner should have scanned the audio files on your SD card already. So if you open the music-app by itself the tracks should be there already and you shouldn't have to use file manager to play them, can you confirm if this is true?