Author Topic: TESTING: AudioThumbs Previews for KDE / Dolphin  (Read 1243 times)

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
TESTING: AudioThumbs Previews for KDE / Dolphin
« on: April 08, 2012, 04:01:59 PM »
Project homepage:  http://kde-apps.org/content/show.php/AudioThumbs?content=114885

Description: Plugin to allow the use of embedded cover art in Audio files (MP3, FLAC) for Thumbnail Previews in the KDE file manager, Dolphin.

i585 (32 bit) SPEC, SRPM, & RPM's for evaluation / testing: http://travisn000.minus.com/mbebk4iJl9/1l

Install (as root):
Code: [Select]
apt-get install http://i.minus.com/1334007817/dqcOD4tu7bAb0gvU3V4_0w/dbn5rZILhBNxcs.rpm
NOTE: You must enable Audio Previews in Dolphin after installing this:
     Dolphin > Settings > Configure Dolphin > General > Previews (tab) > Check mark on "Audio Files"

(you also have to have audio/mp3 files with embedded album artwork...  MusicBrainz Picard can add them  ;))

« Last Edit: April 08, 2012, 04:24:21 PM by travisN000 »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #1 on: April 08, 2012, 04:23:57 PM »
..if someone want's to try and build / test this on a 64 bit system also, that would be great!

(I don't have one set up...  please let me know how it goes!)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #2 on: April 08, 2012, 10:35:20 PM »
I'll take a swing at the 64-bit. ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15283
  • ┌∩┐(◕_◕)┌∩┐
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #3 on: April 09, 2012, 04:48:04 AM »
I'll take a swing at the 64-bit. ;)

Quick question Archie if I may - will you provide a link or will it be added to the 64bit repo test section ?
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #4 on: April 09, 2012, 05:51:22 AM »
I'll take a swing at the 64-bit. ;)

Quick question Archie if I may - will you provide a link or will it be added to the 64bit repo test section ?


I got it packaged for the 64-bit test ... and I will make another for the x86_64 repo. I will provide the link a little later.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15283
  • ┌∩┐(◕_◕)┌∩┐
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #5 on: April 09, 2012, 06:11:47 AM »
Quote
I got it packaged for the 64-bit test ... and I will make another for the x86_64 repo. I will provide the link a little later.

Ta
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #6 on: April 09, 2012, 07:28:53 AM »
For KDE 4.6.5



http://dl.dropbox.com/u/32533806/audiothumbs-0.1-1_archie_2012.x86_64.rpm

The RPM for KDE 4.8.x is at SRPMS.Archie.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #7 on: April 09, 2012, 07:39:52 AM »
Nice addition!  :)

Thanks!

AS

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #8 on: April 09, 2012, 10:03:53 AM »
I just found a (forked) version 0.2 of AudioThumbs available here:

http://kde-apps.org/content/show.php/AudioThumbs?content=145088


The new / forked version adds support for M4A and OGG covers as well...  I will try and update my files / links shortly.

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #9 on: April 09, 2012, 10:44:21 AM »
...after an initial build attempt of the new / forked version, it looks like we might need to update taglib first; new files will be slightly delayed...

I'm getting an error about a missing file, and a quick google makes it look like it is supplied by taglib v1.7  ...the supplied README file says we should be ok with our current v1.6.x, but it may not have been updated with the new release.

Code: [Select]
Scanning dependencies of target AudioThumbs
[ 50%] Building CXX object src/CMakeFiles/AudioThumbs.dir/AudioThumbs_automoc.o
[100%] Building CXX object src/CMakeFiles/AudioThumbs.dir/AudioThumbs.o
/home/guest/rpmbuild/BUILD/AudioThumbs-0.2/src/AudioThumbs.cpp:32:32: fatal error: taglib/flacpicture.h: No such file or directory
compilation terminated.


...its a sunny day here, so I'm heading outside to play..  If no one else gets to it first, I'll take a look at this again this evening (6-8hrs)
« Last Edit: April 09, 2012, 10:54:13 AM by travisN000 »

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #10 on: April 10, 2012, 09:58:49 PM »
..new version and req'd libs have been added..  should now support MP3, FLAC, M4A, OGG embeded album art as thumbs.

http://minus.com/mbebk4iJl9/8l


Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #11 on: April 11, 2012, 02:09:26 AM »
Thanks, Travisn000. I'll check your spec and see if it also builds on 64-bit.

EDIT:

Heya Travis,

All is good except for a couple of things. (1) The package name should be in small, lowcase letter, i.e. audiothumbs-0.2-1pclos-2012.src.rpm. We've already been instructed to do away with the CamelCase. (2) Some of the libs on x86_64 can't be called with just the libpackage so you need to change those.

Particularly... Requires: %{_lib}qtcore4 %{_lib}qtgui4 %{_lib}flac++6
and BuildRequires: %{_lib}flac++6-devel

One other thing, I got this strange output when installing via CLI. I don't reckon it's AudioThumbs specifically rather (maybe) the Categories entries of some desktop files.

Code: [Select]
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-archie" is owned by uid 500 instead of uid 0.
kbuildsycoca4(25976) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/audacity.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(25976) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/google-earth.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(25976) KConfigGroup::readXdgListEntry: List entry Categories in "/usr/share/applications/bleachbit-root.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(25976) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file.
kbuildsycoca4(25976) parseLayoutNode: The menu spec file contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix your file

This was using KDE4.8. I will rebuild on KDE 4.6.5.

Nice to have previews of sound and video on Dolphin again. I really missed this feature. Thanks.

Peace and much respect,
Archie

« Last Edit: April 11, 2012, 07:11:04 AM by Archie »
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #12 on: April 11, 2012, 09:16:34 PM »
Hi Archie-

Thanks for testing.   The kbuildsycoca4 garbage is nothing to worry about...  ...I suppose we  (..by "we" I mean not-me!) could go back and re-package every app in the command's output so that they all have standards-compliant .desktop files...    ::) :P


I added the command to the post & postun sections so that kde would re-read the .desktop config files and immediately see (or forget) the configurations that tell KDE to use this plugin for those file types...  the output wasn't in the last one, because  I didn't have the command in the spec (without the command you had to restart dolphin after install/removal for the plugin to start/stop it's use...  now you shouldn't have to).


If you're OK with it, feel free to update these packages to be i586 and x86_64 compliant and submit them...  I'm kind of buried with other work ATM (..or I can learn how to do it correctly... ...later  :D).
« Last Edit: April 11, 2012, 09:28:08 PM by travisN000 »

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: TESTING: AudioThumbs Previews for KDE / Dolphin
« Reply #13 on: April 11, 2012, 11:24:29 PM »
Hi Archie-

Thanks for testing.   The kbuildsycoca4 garbage is nothing to worry about...  ...I suppose we  (..by "we" I mean not-me!) could go back and re-package every app in the command's output so that they all have standards-compliant .desktop files...    ::) :P

Of course. But that wouldn't be me in "we" as well. They're not my packages so unless the maintainers don't update them ... I guess I'll have to be in the "we" as one of them. ;)

Quote
I added the command to the post & postun sections so that kde would re-read the .desktop config files and immediately see (or forget) the configurations that tell KDE to use this plugin for those file types...  the output wasn't in the last one, because  I didn't have the command in the spec (without the command you had to restart dolphin after install/removal for the plugin to start/stop it's use...  now you shouldn't have to).


If you're OK with it, feel free to update these packages to be i586 and x86_64 compliant and submit them...  I'm kind of buried with other work ATM (..or I can learn how to do it correctly... ...later  :D).

I'm good with it. I'll check that my suggestions on %{_lib} builds correctly on i586 ... then submit your package. Good one, Travis.

Peace and much respect,
Archie
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42