
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org
Copies all album covers that were fetched by amarok to the album directories with the new name. The name and permissions are configurable in a settings dialog (initial: 00cover.*, 0644). The file extension is is determined automatically depending on the image format (jpg or png).
After installing you can find a new entry in the Tools menu to start it and a new entry in the Settings menu to configure it. After finishing a short message in the status bar will be displayed.
Existing cover files will not be overwritten. So you can call the command again after adding albums and fetching covers.
8 years ago
1.0 Initial release
1.1 Fix: add device path to destination
1.2 More debug output
1.3 Fix getting device path
1.4 The cover file name is configurable
1.5 The permissions of the cover file are configurable
1.6 File extension is determined by the file format (jpg or png)
1.7 Fix problem if cover file does not exist
8 years ago
1.0 Initial release
1.1 Fix: add device path to destination
1.2 More debug output
1.3 Fix getting device path
1.4 The cover file name is configurable
1.5 The permissions of the cover file are configurable
1.6 File extension is determined by the file format (jpg or png)
1.7 Fix problem if cover file does not exist
mfraser
5 years ago
Report
mfraser
5 years ago
Report
FraMari
6 years ago
When i try to run Copy All Cover, i always get this error: CopyAllCover TypeError: Result of expression 'pathfile_this' [undefined] is not an object.
Amarok 2.5.0 and KDE 4.8.1 on Chakra GNU/Linux
Report
boerge
6 years ago
Report
pierat
7 years ago
Report
boerge
7 years ago
But for now this error should not be a big problem. All picture viewer I know do not have any problem with the wrong file extension.
Report
pierat
7 years ago
Report
boerge
6 years ago
Report
pierat
6 years ago
Thank you very much for the update and the quick response!
Report
boerge
7 years ago
In this version the file extension is determined depending on the file format.
Could you test it, please?
You do not have to remove already existing cover files with bad extension before running the script. The script should recognise and correct this.
Report
mfraser
7 years ago
Report
mfraser
7 years ago
I am using Amarok 2.4.3.
Report
boerge
6 years ago
If you do not want to have this trouble configure another name for the cover file (i.e. "00cover".jpg/png)
Report
mfraser
7 years ago
At the moment they are set as rw-rw----, but I would prefer rw-r--r--.
Report
boerge
7 years ago
Here you can configure the file permissions.
Please note: The permissions of already existing files are not changed, but you can perform the following command to change them:
# find <root path of collection> -name 00cover.jpg -print -exec chmod 644 {} \;
Report
mfraser
7 years ago
Report
pierat
7 years ago
This script is just what I was looking for! But unfortunately it doesn't copy all covers. There are ~200 albums in my collection and for each one a cover was fetched by Amarok. But the script only copies 53 covers. What about the other 150 covers? What can I do to get all covers copied?
Report
boerge
7 years ago
So, it is not a bug in this script. The only possibility I found to repair this is to refetch all the covers.
BTW: Despite of this bug in the database the covers are shown in the collection tree as cached icons without database access.
Report
aendruk
7 years ago
http://download.rockbox.org/daily/manual/rockbox-sansae200/rockbox-buildap3.html#x18-390000C.21.2
Report
boerge
7 years ago
In this version you can configure the file name.
Report
boerge
7 years ago
Does the version 1.4 now work for you?
Report
mfraser
7 years ago
Report
boerge
7 years ago
amarok: SCRIPT "CopyAllCover" : "CopyAllCover Mystery to Me s: /home/bernd/.kde4/share/apps/amarok/albumcovers/large/96879f4734c3f366233a02dbb9d691ff, d: /home/bernd/Musik/Alben/Fleetwood Mac/1973 Mystery to Me/00cover.jpg, dev: /home, ie: true, pe: true"
Report
mfraser
7 years ago
Report
boerge
7 years ago
Could you please verify?
Report