Bug 398821 - Ogg Files don't show album thumbnail art.
Summary: Ogg Files don't show album thumbnail art.
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 18.08.1
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 21:14 UTC by Xeno Idaltu
Modified: 2018-10-17 17:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
audiothumbs-frameworks-master (37.02 KB, image/png)
2018-10-11 23:49 UTC, Xeno Idaltu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xeno Idaltu 2018-09-18 21:14:35 UTC
On Dolphin Manager, I recently noticed that Ogg files don't show any album cover art but Flac and Mp3 files do show it. 

Programs like PuddleTag and Quod Libet show Ogg artwork.

Maybe kio-extras forgot to include Ogg thumbnails?
Comment 1 Rog131 2018-09-19 18:27:21 UTC
(In reply to Xeno Idaltu from comment #0)
> On Dolphin Manager, I recently noticed that Ogg files don't show any album
> cover art but Flac and Mp3 files do show it. 
> 
> Programs like PuddleTag and Quod Libet show Ogg artwork.
> 
> Maybe kio-extras forgot to include Ogg thumbnails?

It seems that threre are many kind of the audio ogg files with the cover art. The official KDE audio thumbnailer (kio-extras/taglib) can show some of the cover art but not always.

At here, Arch, kio-extras 18.08.1, taglib 1.11.1-1.

The KDE audio thumbnailer can show the cover art if it is added with the Kid3 - https://kid3.sourceforge.io/

Ogg file from: http://www.music.helsinki.fi/tmt/opetus/uusmedia/esim/index-e.html -> http://www.music.helsinki.fi/tmt/opetus/uusmedia/esim/a2002011001-e02-128k.mp3

Dolphin preview, cover art added with the Kid3: https://imgur.com/nd75yfM


Another thumbnailer: audiothumbs-frameworks - https://github.com/eplightning/audiothumbs-frameworks
It has a fix: Fix cannot get ogg's thumbnail - https://github.com/eplightning/audiothumbs-frameworks/commit/653943c542313be25c20bfa37729269891b981b2


Testing with a sample from https://hydrogenaud.io/index.php/topic,40860.0.html -> https://hydrogenaud.io/index.php?action=dlattach;topic=40860.0;attach=2571

Dolphin preview, audiothumbs-frameworks thumbnailer: https://imgur.com/Lnxh4yS


Both thumbnailers fail with a sample from the FFMpeg: https://samples.ffmpeg.org/ogg/ -> https://samples.ffmpeg.org/ogg/mmw-deadzy.ogg

The Kid3 can show the cover art in all cases.
Comment 2 Xeno Idaltu 2018-10-11 23:49:38 UTC
Created attachment 115581 [details]
audiothumbs-frameworks-master
Comment 3 Xeno Idaltu 2018-10-11 23:50:57 UTC
(In reply to Rog131 from comment #1)
> (In reply to Xeno Idaltu from comment #0)
> > On Dolphin Manager, I recently noticed that Ogg files don't show any album
> > cover art but Flac and Mp3 files do show it. 
> > 
> > Programs like PuddleTag and Quod Libet show Ogg artwork.
> > 
> > Maybe kio-extras forgot to include Ogg thumbnails?
> 
> It seems that threre are many kind of the audio ogg files with the cover
> art. The official KDE audio thumbnailer (kio-extras/taglib) can show some of
> the cover art but not always.
> 
> At here, Arch, kio-extras 18.08.1, taglib 1.11.1-1.
> 
> The KDE audio thumbnailer can show the cover art if it is added with the
> Kid3 - https://kid3.sourceforge.io/
> 
> Ogg file from:
> http://www.music.helsinki.fi/tmt/opetus/uusmedia/esim/index-e.html ->
> http://www.music.helsinki.fi/tmt/opetus/uusmedia/esim/a2002011001-e02-128k.
> mp3
> 
> Dolphin preview, cover art added with the Kid3: https://imgur.com/nd75yfM
> 
> 
> Another thumbnailer: audiothumbs-frameworks -
> https://github.com/eplightning/audiothumbs-frameworks
> It has a fix: Fix cannot get ogg's thumbnail -
> https://github.com/eplightning/audiothumbs-frameworks/commit/
> 653943c542313be25c20bfa37729269891b981b2
> 
> 
> Testing with a sample from
> https://hydrogenaud.io/index.php/topic,40860.0.html ->
> https://hydrogenaud.io/index.php?action=dlattach;topic=40860.0;attach=2571
> 
> Dolphin preview, audiothumbs-frameworks thumbnailer:
> https://imgur.com/Lnxh4yS
> 
> 
> Both thumbnailers fail with a sample from the FFMpeg:
> https://samples.ffmpeg.org/ogg/ ->
> https://samples.ffmpeg.org/ogg/mmw-deadzy.ogg
> 
> The Kid3 can show the cover art in all cases.


[Sorry for late reply]

I used EasyTag and Kid3 and they also make Dolphin show ogg album art. I wonder if it has to do with PuddleTag not being maintained since 2016 and still using QT4 technology.

Also when I used audiothumbs-frameworks-master, unlike you Dolphin never showed them as Audio Files (audiothumbs-frameworks) and had no effect on ogg album art edited by PuddleTag.

I have no other choice but to use KID3 to make Dolphin show album art cover. Thank you so much for your support.
Comment 4 Kai Uwe Broulik 2018-10-12 09:37:20 UTC
The 4s_sample_MC.ogg has one picture in it which isn't flagged as "front cover" and as such ignored. The mmw-deadzy.ogg has no pictures as far as taglib is concerned.

That patch for "fixing" OGG thumbnails is basically exactly what the audiothumbnailer is doing here, except that it doesn't just use the first picture but the one of type FrontCover.