Amarok Folder Icons
Utilities
Amarok has a builtin function for setting the icon for folders (the one that displays in Konqueror etc) to be the cover image for the album it contains. However, it only works if you let it reorganise your music.
This script will scan the current directory and sub directories for music, and set all the folder icons where it can determine that the folder contains tracks from just one album.
This works best if you store your albums in a flat structure e.g.
/path/to/your/music/artist name - album name/
## Installation ##
Copy the script to your main music directory, and make it executable:
At a terminal:
$ chmod +x 'make_amarok_folder_icons.py'
## Usage ##
At a terminal:
$ cd /to/your/music/folder
$ ./make_amarok_folder_icons.py
## Requirements ##
- Python 2.5 (patches for python 2.4 welcomed!)
- pydcop (Debian package python-dcop)
10 years ago
0.2 - Added support for MySQL and Postgresql databases (using Amarok's dcop interface to query them)
0.1.1 - Fixed #! line to point to python 2.5, which is currently required.
0.1 Initial release
10 years ago
0.2 - Added support for MySQL and Postgresql databases (using Amarok's dcop interface to query them)
0.1.1 - Fixed #! line to point to python 2.5, which is currently required.
0.1 Initial release
openDesktop.org :
jackyohh
9 years ago
Traceback (most recent call last):
File "./make_amarok_folder_icons.py", line 35, in ?
import sqlite3
ImportError: No module named sqlite3
but sqlite3 (3.5.7-1)and python-sqlite (1.0.1-7) are already installed.
Report
markey
10 years ago
Please change the category, otherwise users will get errors when they try to download it with the script manager.
Report
spookster
10 years ago
Report
HessiJames
10 years ago
thank you for this great script.
just one thing that would be cool is, if it could copy the cover to the folder and link it as folder icon.
Report
spookster
10 years ago
Also, I may be getting myself into trouble with Amazon copyright. Currently Amarok handles the Amazon copyright issues itself, and it seems safer to leave it that way.
Report
HessiJames
10 years ago
Report
enaut
10 years ago
mfg enaut
Report
spookster
10 years ago
Report