
Amarok Cover
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A little Plasmoid to display the cover of the song currently played in Amarok.
Install with $ plasmapkg -i 125701-amarok-cover-1.4.1.zip. Have fun ;)
10 years ago
1.4.1: fixed resize bug, some code improvements
1.4: fixed bug: cover wasn't reset if a song was stopped and then a song with the same cover (e.g. from the same album) was played.
10 years ago
1.4.1: fixed resize bug, some code improvements
1.4: fixed bug: cover wasn't reset if a song was stopped and then a song with the same cover (e.g. from the same album) was played.
donpedro69
8 years ago
subprocess.Popen(['convert', '-resize', '300x300', '-quality', '60', self.tmp, self.out_with_dir]).wait()
60 -> 90 with no effect
Using kubuntu 11.10
Report
tnt533
10 years ago
Running on Lucid AMD64 KDE 4.4.5
Report
mindfck
10 years ago
At the moment you need Imagemagick to convert pictures which are not in .png format. I hope I can remove this dependency soon, but for the moment this is the only way. Everything else should be OK ;)
Report
tnt533
10 years ago
Report
mindfck
10 years ago
To solve your problem, you could open a python shell and try to import all these modules, perhaps you find the missing one!
From the plasmoid-file:
####
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyKDE4.kdecore import *
from PyKDE4.kdeui import *
from PyKDE4.plasma import Plasma
from PyKDE4 import plasmascript
import dbus
from dbus.mainloop.glib import DBusGMainLoop
import subprocess
import os
from urllib import unquote
import gobject
####
Report
Grindcore
10 years ago
you're plasmoid looks really promising but plasma tells me that the initialization of the scripts fails for some reason.
So I guess I'm missing some needed dependencies. Have you any ideas?
Thanks!
Report
mindfck
10 years ago
I think you need PyQt4, PyKDE4 and of course Python 2.6. Its working well with my KDE4.4.4, so try to find out if you installed these packages ;)
Report
luciform
10 years ago
Report
mindfck
10 years ago
subprocess.Popen(['convert', '-size', '300x300', '-quality', '60', self.tmp, self.out_with_dir]).wait()
with
subprocess.Popen(['convert', '-resize', '300x300', '-quality', '60', self.tmp, self.out_with_dir]).wait()
that's it!
Report
luciform
10 years ago
Report
Robbi1987
10 years ago
Report
Robbi1987
10 years ago
used cd to the directory
3,1 kb little file?
Report
mindfck
10 years ago
this site renamed the zipfile to 125701-amarok-cover-1.3.zip. so try it with $ plasmapkg -i 125701-amarok-cover-1.3.zip. filesize is ok ;)
Report
mindfck
10 years ago
Report
mindfck
10 years ago
this site renamed the zipfile to 125701-amarok-1.3.zip. so try it with $ plasmapkg -i 125701-amarok-1.3.zip. filesize is ok ;)
Report
mindfck
10 years ago
this site renamed the zipfile to 125701-amarok-1.3.zip. so try it with $ plasmapkg -i 125701-amarok-1.3.zip. filesize is ok ;)
Report