AmarokControl

Conky

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Description:
Displays current song, artist, album cover and current/total song time
Has previous, play/pause, stop and next button for controling Amarok player

I must admit that this screenlet isn't so much useful because of amarok shortcut keys(super+z x c v b)... but maybe someone needs it...

TODO: needs more look improving

if someone has idea to add new or improve it's funcionalities please let me know...

fell free to create and send me themes
Last changelog:

1.9.2008.
v0.3.3 changeg draw_text() function because of memory leak
--------------------
30.6.2008. added gnu public licence

20.4.2228.
v0.3.2 added new themes (hope u like it)
added some more settings
--------------------
17.4.2008.
v0.3.1 fixed bug when amarok is off
renamed file from AmarokControl to AmarokControlScreenlet (now screenlet manager recognize it)
---------------
16.4.2008.
v0.3
added album cover
added current/total song time
replaced play and pause button with one play/pause
edited theme
---------------
15.4.2008.
v0.2 initial version


Ratings & Comments

25 Comments

TheWizzard

Not good, this screenlet uses way too much CPU, occasionally it burst up to 40%

blinderi2eri2

The server is down... Can you re-upload the file please?

drxnele

link is ok... i tryed it just now and it works fine

blinderi2eri2

Sorry... I'm from Mexico, in my country I can't enter to the page... Can you upload the file in other server please? (I.E. MediaFire or Rapidshare) Or Can you send me an E-Mail please with the file... blinderi2eri2 [@] gmail.com

abz

I can't get this to work. I download, open manager, install new screenlet, select it, add screenlet...nothing happens. Terminal returns: AttributeError: 'AmarokControlScreenlet' object has no attribute 'draw_scaled_image' Any help? Abi

drxnele

could you please send me whole output of terminal... start screenlet using this command python /path_to_screenlet/AmarokControlScreenlet.py or maybe you need just to delete its config files... (try this first) they are located in ~/.config/Screenlets delete everything in this folder with name AmarokControl

abz

I had the screenlet completely removed so there were no files there. It might be worth mentioning I am rubbing Hardy. I don't know if that might be affecting it. -------- abi@Dennis:~$ python /home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py Traceback (most recent call last): File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 17, in <module> import screenlets File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 36, in <module> import rsvg ImportError: /usr/lib/libgsf-1.so.114: undefined symbol: gSf_xml_out_add_int Hope that helps. :) Abz

abz

scrap that one - something very odd was going on there. This is the actual output - sorry for the spam :S -------------- abi@Dennis:~$ python /home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py CachingBackend: Loading instances from cache Found a running session of AmarokControl, adding new instance by service. Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.AmarokControl was not provided by any .service files Screenlet has already been added to /tmp/screenlets/screenlets.abi.running Loading instances in: /home/abi/.config/Screenlets/AmarokControl/default/ No instance(s) found in session-path, creating new one. UPDATING SHAPE LOAD NEW THEME: default FOUND: /home/abi/.screenlets/AmarokControl/themes/default UPDATING SHAPE /home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py:162: DeprecationWarning: integer argument expected, got float p_layout.set_width(220 * self.scale*pango.SCALE) Traceback (most recent call last): File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 188, in <module> screenlets.session.create_session(AmarokControlScreenlet) File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 466, in create_session session.start() File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 242, in start sl = self.screenlet(session=self, id=self.__get_next_id()) File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 57, in __init__ self.theme_name = "default" File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 84, in __setattr__ screenlets.Screenlet.__setattr__(self, name, value) File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 688, in __setattr__ self.update_shape() File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1127, in update_shape self.on_draw_shape(ctx) File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 148, in on_draw_shape self.on_draw(ctx) File "/home/abi/.screenlets/AmarokControl/AmarokControlScreenlet.py", line 122, in on_draw self.draw_scaled_image(ctx,self.album_x*self.scale,self.album_y*self.scale,cover,60*self.scale,60*self.scale) AttributeError: 'AmarokControlScreenlet' object has no attribute 'draw_scaled_image' Abi

drxnele

do you have installed screenlets >= v0.1

bigbrovar

u would never know how much little things like this mean to me and lots of pple.. all i can say is thanks

HedgeSlammer

Thanks for making this. This was the exact screenlet I needed. I've been using "Now Playing" with Amarok, but I wanted something more simple, that does not display as much info. I use Sidebar, so there isn't much horizontal room for each screenlet. This screenlet brings the necessary functions and gets the job done. Wishes? well, themes would be nice. :-D

drxnele

:) i'll add some new themes. i'm not so good artist but i'll make a effort ;)

bigbrovar

it just worked ... thanks for the update

MNICY

1. The new version of the screenlet does not work. It does not run. The old one ran fine. The only thing is, the screenlet manager does not recognize it as a screenlet in either version. (installed by putting in ~/.screenlets) 2. When you get everything straitened out, it would be cool if you would allow custom sizes. I mean like if i want it to be width 300 and height 50. Technically this should work. I tried to edit the code, but i dont know python and i broke it ;), so i will leave it to you. If these two things get straightened out, i can assure you i will use this screenlet :)

drxnele

this with manager is fixed... screenlet should work, if not work delete it's config files from ~/.config/Screenlets if still not work run it from terminal and paste terminal output here

MNICY

Installed great :) Please allow custom sizes for width and height, and custom text sizes. You do this, and you are my hero :D

drxnele

happy birthay :) if I make settings for screenlet size then I can't use background, glass and other images but I could make settings for text position and colors...

MNICY

Thanks :) Well, the update does make it nicer. To bad about resize, but that is ok :)

bigbrovar

nice job just what i have always wanted nowplaying screenlets doesnt work seamlessly with amarok .. which is my default music player .. i would be looking forward to an update ..hopes it would include albumart

drxnele

thanks :)... I'm working on it just now... changign design and adding new stuff... it will be done today or tomorow... :)

vrunner123

Why don't you build on the NowPlaying screenlet instead ? It's got an existing themeing support as well.

drxnele

I don't like so much now playing... and it's much easier to make it from begining... so I made it just to practise python (because i am beginer in python) ;)

vrunner123

lol ok, no worries :)

lonerocker

but it would be much nicer if it showed the current album cover.

drxnele

I'll add it in next version :)

Pling
0 Affiliates
Details
license
version 0.3.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Conky from drxnele:

DigitalClock
drxnele
last update date: 13 years ago

Score 6.5

Net Monitor
drxnele
last update date: 13 years ago

Score 6.3

WirelessScreenlet
drxnele
last update date: 13 years ago

Score 5.4

LinuxBiHStats
drxnele
last update date: 17 years ago

Score 5.0

LinuxSerbiaStats
drxnele
last update date: 17 years ago

Score 5.7

PPPOEScreenlet
drxnele
last update date: 17 years ago

Score 5.0

Other Conky:

System Status
Whise
last update date: 17 years ago

Score 5.0

Genetic code
Whise
last update date: 17 years ago

Score 5.0

BCCRScreenlet
gartuz
last update date: 17 years ago

Score 5.0

Diggler
Whise
last update date: 17 years ago

Score 5.0

Comic
Whise
last update date: 17 years ago

Score 5.0

Clear-enGlish Theme pack (Picframe Theme
ClearenGlish
last update date: 17 years ago

Score 4.7