JPEG files are detected as valid music files

Bug #1952552 reported by Bob
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed

Bug Description

When running with a folder that contain the album's cover as JPEG, SoundConverter will detect said JPEG files as valid audio files and add them to the conversion list.

Of course, this will later fail, and display an error message every single time a conversion is attempted (making it very tedious to use with the UI).

Cherry-picked lines from soundconverter --debug:

DEBUG:, line 138, found tag: cover-front.jpg
INFO:, line 346, skipping '/media/paul/9fb3c0d1-b778-47e2-8f1d-d26dc10bf4ea/Musique/The Best of Joe Cocker/The Best of Joe Cocker.m3u': not an audiofile
INFO:, line 346, skipping '/media/paul/9fb3c0d1-b778-47e2-8f1d-d26dc10bf4ea/Musique/The Best of Joe Cocker/The Best of Joe Cocker.cue': not an audiofile
INFO:, line 363, starting conversion of 19 files…
ERROR:, line 30, gst-stream-error-quark: Internal data stream error. (1): /media/paul/9fb3c0d1-b778-47e2-8f1d-d26dc10bf4ea/Musique/The Best of Joe Cocker/cover-front.jpg

You can see that the .m3u and .cue files are correctly detected as not audio, but the JPEG file is detected as audio for whatever reason.

Revision history for this message
sezanzeb (sezanzeb) wrote :
Changed in soundconverter:
importance: Undecided → High
status: New → Confirmed
Changed in soundconverter:
status: Confirmed → Fix Committed
milestone: none → 4.0.4
Changed in soundconverter:
assignee: nobody → GautierPortet (kassoulet)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.