
awn-amarok-minsec
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
Shows the album cover instead of amarok icon in Avant-window-navigator dockbar.
When a song is paused the cover is not unset, remaining time/pause are showed alternatively.
This updated version works with awn 0.2.1.
Requirements:
A compositing manager is required by awn (beryl/compiz/metacity>2.21)
avant-window-navigator
dcop-client
python-dbus
Download the tar file and install it through Tools->script-manager in amarok.
hubfred
12 years ago
I managed to download the python-dbus package.
Do know know from where I can obtain the dcop-client? Or is dcop-client=python-dcop. If so I already know where to get it too.
Thanks,
Fred
Report
TommyHLW
12 years ago
With my old pc and a new kubuntu the script runs without problems.
Maybe on the other kubuntu-system is the wrong config or some trouble with the packages, because it's a upgrade from 7.10 to 8.04!
I will give you some response, if the script works again and if i know where is the problem!
Report
psicus78
12 years ago
I'm sorry about that, I use gnome and it still works perfectly...are you using kde4?
Report
terryDenver
12 years ago
Interestingly I had a previous version of your script
57893-awn-amarok-minsec.amarokscript.tar
and it works great. Line 60 creates the problem
Report
statmonkey
12 years ago
Report
Luke7
12 years ago
In bash: pidof amarokapp returns 2 pids, so I killed them (kill -n 9 PID) and it helps.
psicus78: may be, you should check in your code, if amarokpid does not contains space, and show to user solution.
Report
TommyHLW
12 years ago
I use the actually KDE3 in Kubuntu Hardy Heron 8.04
Report
TommyHLW
12 years ago
errormessage:
Traceback (most recent call last):
File "/home/thomas/.kde/share/apps/amarok/scripts/awn-amarok-minsec/awn-amarok-minsec.py", line 60, in <module>
task = awn.GetTaskByPid(int(amarokpid)); #get amarok task name in awn
ValueError: invalid literal for int() with base 10: '9610 7845'
Report
TommyHLW
12 years ago
errormessage:
Traceback (most recent call last):
File "/home/thomas/.kde/share/apps/amarok/scripts/awn-amarok-minsec/awn-amarok-minsec.py", line 60, in <module>
task = awn.GetTaskByPid(int(amarokpid)); #get amarok task name in awn
ValueError: invalid literal for int() with base 10: '9610 7845'
Report
ianux
12 years ago
but in fact this feature let me find a bug: when you close amarok instead of minimize it (so that it remains in the systray but not in the taskbar), the icon stop refreshing (time stop, title and cover don't get refreshed)
Report
zeltak
13 years ago
thx for the update!
Is there any chance for an option not to see the time remaining but rather just the album cover? it would be much appriciated!
Thx
Zeltak
Report
greg1978
12 years ago
As a quick fix to remove the time, just edit awn-amarok-minsec.py and comment the lines:
awn.SetInfoByName(str(task),str(minutes)+':'+string.zfill(secs,2))
(around line 119 you should also add command after "if alternate:" or remove it)
Greg.
Report
zeltak
13 years ago
Great Job. its my Fav AVN plug in. Is there any plans for future improvements?
thx
Zeltak
Report
jusuchin85
13 years ago
I didn't want to leave Amarok, which has served me for so long! Then, I stumbled on your script. Installed, and got it running smoothly!
Thanks, and keep up with any upgrades in the future!
TESTED ON:
----------
Ubuntu Gutsy Gibbon 7.10
Amarok 1.47
Report
gram
13 years ago
Report
BorgQueen
13 years ago
Report