awn-amarok-minsec

Amarok 1.x Scripts

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

0
5.0
Description:

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

10 years ago

Hey there,

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

10 years ago

okay the problem should be anywhere else!

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

C

psicus78

11 years ago

Hi,
I'm sorry about that, I use gnome and it still works perfectly...are you using kde4?

Report

terryDenver

10 years ago

I have the same error. I am running opensuse 11 kde 3.5.

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

10 years ago

Seeing this error on Gnome as well under hardy. Is there a fix or am I the only one?

Report

Luke7

10 years ago

I had the same problem. It is 'cos pidof returns more then one pid of amarokapp (did not die when amarok exits).
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

10 years ago

nope!
I use the actually KDE3 in Kubuntu Hardy Heron 8.04

Report

TommyHLW

11 years ago

since Kubuntu Hardy Heron the script don't want to start! :-(

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

11 years ago

since Kubuntu Hardy Heron the script don't want to start! :-(

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

11 years ago

i agree with zeltak about the option for hiding the time
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

11 years ago

Hi

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

10 years ago

Hi,

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

11 years ago

Hi

Great Job. its my Fav AVN plug in. Is there any plans for future improvements?

thx

Zeltak

Report

jusuchin85

11 years ago

Thanks! I was using AWN, and I noticed that they have the plugin for Exaile for the dock.

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

12 years ago

unluckly awn needs gnome, but that's cool!

Report

BorgQueen

12 years ago

No offense but...

Report

12345678910
product-maker Count: 2 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.1.2
updated Feb 18 2008
added May 08 2007
downloads today
0
page views today 2
System Tags addon