


Amarok 2.x Scripts by garthps 35 comments
- Mar 31 2010

Amarok 2.x Scripts by garthps 35 comments
I'm the original author of the CopyCover script for Amarok 1.4.
I didn't have a need for it these last years, that's why I never ported it to Amarok 2.
This weekend, I suddendly needed it, so I said to myself "why not use this occasion to port CopyCover to Amarok2, at long last ?".
I just spent the last 5 days learning QTJambi and the Amarok APIs. Now that I have finished porting the script, I come here to update the page (feeling like I did a good deed) and find this...
Not only had someone already done the work, but TWO people had ported the script already !!
Please give me a few minutes while I jump from the nearest building.
Seriously, I'm deeply sorry for not porting the script earlier and causing you guys to do duplicated work.
I was going to upload my version to Gitorious, maybe there's something to salvage nonetheless ? I'll go and do that, you'll tell me if it's worth something.
Thanks to you for doing what I've been too lazy to do for 2 years.
If that doesn't teach me to do my research before picking up any significant piece of work...
By the way, funny thing that we're all french :) - Mar 31 2010

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments
Could you paste a sample of the following command please ?
dcop amarok collection query "SELECT DISTINCT album.name, devices.lastmountpoint || '/' || tags.dir FROM tags, album, devices WHERE tags.album = album.id AND tags.deviceid = devices.id AND album.name != '' AND tags.artist = A"
Thanks - Feb 21 2007

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments
The scripts works for my current amarok, which is 1.4.3. If it stops working when dynamic collections are added, I'll update it (but please remind me :) )
In this next version, your patch will be there. - Oct 13 2006

Amarok 1.x Scripts by gauret 143 comments

Groupware by voc 17 comments
I always pops up a box with "No synchronizer found for Appointment" - Feb 23 2006

Amarok 1.x Scripts by gauret 143 comments
Remember that the cover will not be copied if there is already an image file in the folder, png, jpg or gif (check for hidden files). - Feb 13 2006

Amarok 1.x Scripts by gauret 143 comments
matchmaker.h:91: error: ISO C++ forbids declaration of 'RRA_Matchmaker' with no type
matchmaker.h:91: error: expected ';' before '*' token
Any idea ? After some searching is should be some kind of missing "forward declaration", but I don't know C++... - Nov 26 2005

Amarok 1.x Scripts by gauret 143 comments
> names containd non english characters. CopyCover wouldn't copy the artwork to
> those folders too.
Hmm, I have albums containing non-ascii characters too (é, ö, ...), and CopyCover works for them. Which artists for example ?
> But this is not the case with my various artists albums.
Hmm, I'll have to look at that. Maybe it's handled differently in the database. - Oct 03 2005

Amarok 1.x Scripts by gauret 143 comments
The script does not copy an album to a directory if there is already a picture in this directory. Could that be the reason ? - Oct 03 2005

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments
Concerning the album in konqueror's tooltip, I don't know how to do that (yet), but if I have time I'll look into it. - Jul 03 2005

Amarok 1.x Scripts by gauret 143 comments
Thanks for your report - Jun 05 2005

Amarok 1.x Scripts by gauret 143 comments
I'll probably add a check for write permissions in the future, it's a good idea. - Apr 27 2005

Amarok 1.x Scripts by gauret 143 comments
For now, I chose the second option. If I add your feature, there will be a checkbox to enable it anyway.
So for now, if you want to replace an existing cover, just delete it, and it will be copied from the database on the next play. - Apr 26 2005

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments
amaroK >= 1.2.3 is stricly required however.
The script is available on this page. Run it with --help to see what's available, and run it with -d first to see what actions will be performed. - Apr 07 2005

Amarok 1.x Scripts by gauret 143 comments
I still can't find a way to find the (artist,album) couple when I only have the album filename (which is something like 100@, see in .kde/share/apps/amarok/albumcovers/large). Anyway, I'll figure that out eventually. Thanks Markey - Apr 03 2005

Amarok 1.x Scripts by gauret 143 comments
However, I need to figure out a way to do that, since the database does not seem to contain the images downloaded from the web, but only the ones in the music directory. - Apr 02 2005

Amarok 1.x Scripts by gauret 143 comments
find /my/music/folder -iname 'front.jpg' -o -iname 'back.jpg' | xargs rm -f - Apr 01 2005

Amarok 1.x Scripts by gauret 143 comments
I'll look at the PyQt warning problem soon. - Apr 01 2005

Amarok 1.x Scripts by gauret 143 comments
If PyQt is not installed, a popup should tell you to install it when you run the script. Is is not the case ? - Apr 01 2005

Amarok 1.x Scripts by gauret 143 comments

Amarok 1.x Scripts by gauret 143 comments
The .directory file is only created if a cover has been copied in the folder. - Apr 01 2005

Amarok 1.x Scripts by gauret 143 comments
Here's the output :
==============
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o amarokapp -L/usr/X11R6/lib -L/usr/lib/qt-3.2/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.2/lib -R /usr/X11R6/lib playlistwidget.o playlisttooltip.o playlistloader.o playlistitem.o playlistbrowser.o browserwin.o streambrowser.o expandbutton.o filebrowser.o kbookmarkhandler.o amarokfilelist.o playerwidget.o osd.o effectwidget.o amarokslider.o amaroksystray.o playerapp.o fht.o amarokconfigdialog.o threadweaver.o Options1.o Options2.o Options3.o Options4.o Options5.o ../../amarok/amarok/amarokcore/libamarokcore.a ../../amarok/amarok/engine/libengine.a ../../amarok/amarok/titleproxy/libtitleproxy.a ../../amarok/amarok/analyzers/libanalyzers.a ../../amarok/amarok/amarokarts/libamarokarts.la -lqtmcop -lkmedia2_idl -lartsflow -lsoundserver_idl -lartskde -lartsgui -lartsgui_kde -lartsmodules -lkutils -lkio -lkdeui -lkdecore -L/usr/lib -ltag -lGL
*** Warning: Linking the executable amarokapp against the loadable module
*** libamarokarts.so is not portable!
libtool: link: cannot find the library `/usr/lib/qt-3.2/lib/libqt-mt.la'
============
Any idea ? - Mar 02 2004