Wont play track if cover image is a bad file
Bug #136159 reported by
Adam Olsen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
High
|
Adam Olsen |
Bug Description
When trying to play a song, I get the message
"Couldn't recognize the image file format for file '/home/
When I click OK on the dialog, playback stops.
The biggest problem here is that because playback has stopped, I cant change the album cover! This feature shouldn't require the song to be playing perhaps.
I have a bad jpg album cover (It's actually a web link that I saved as .jpg accidentally I think). But I have no way of changing it without deleting said file from filesystem.
This ticket was migrated from the old trac: re #713
Changed in exaile: | |
importance: | Undecided → High |
Changed in exaile: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I got this when I tried to reproduce the bug
next track was reported as xxxxxxxxxxxxxxxxx ------- ------- -- exaile/ xl/player. py @ 581): ------- ------- -- oma/exaile/ xl/player. py", line 597, in play oma/exaile/ xl/player. py", line 666, in next track(track) : oma/exaile/ xl/player. py", line 558, in play_track exaile. cover_manager. fetch_cover( track) oma/exaile/ xl/covers. py", line 333, in fetch_cover exaile. cover.set_ image(coverfile ) oma/exaile/ xl/xlmisc. py", line 996, in set_image pixbuf_ new_from_ file(image) oma/.exaile/ covers/ 85e83fd8a1b4cba 8e952315448b74b d7.jpg'
-------
play ( /home/oma/
-------
Traceback (most recent call last):
File "/home/
self.next()
File "/home/
if not self.play_
File "/home/
self.
File "/home/
self.
File "/home/
pixbuf = gtk.gdk.
GError: Couldn't recognize the image file format for file '/home/
The same error also occurs in cover manager oma/exaile/ xl/covers. py", line 238, in fetch_covers fetcher( self.exaile) oma/exaile/ xl/covers. py", line 222, in get_cover_fetcher exaile) oma/exaile/ xl/covers. py", line 455, in __init__ total() oma/exaile/ xl/covers. py", line 632, in calculate_total pixbuf_ new_from_ file(image) oma/.exaile/ covers/ 85e83fd8a1b4cba 8e952315448b74b d7.jpg'
Traceback (most recent call last):
File "/home/
fetcher = get_cover_
File "/home/
FETCHER = CoverFetcher(
File "/home/
self.total = self.calculate_
File "/home/
image = gtk.gdk.
gobject.GError: Couldn't recognize the image file format for file '/home/