-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

amaroK Desktop Script

   0.2  

Amarok Script

Score 81%
amaroK Desktop Script
zoom


amaroK Desktop Script
zoom


Link:  http://
Downloads:  22831
Submitted:  Feb 1 2005
Updated:  Feb 13 2005

Description:

This is a script for amarok (you need amarok >= 1.2beta4). The script shows the cover of the album you are listening embedded in your desktop.

It also adds a lightning effect (this is configurable by the user)

NOTE: this is not a karamba script

You need pyqt and pykde to run it.




Changelog:

0.2:
-Now it hides the cover if amarok is stopped (Thanks to Pierre Habouzit).
-Hides itself if there is no cover defined.
-It shows an alert if you dont have PyQT or PyKDE installed (Thanks to Mark Kretschmann).
-The light filter is a little bit smoother now
-Real cd-box borders instead the old gray borders

0.1a:
-Get the coverImage using "dcop amarok player" instead of "dcop amarok playlist"
-Fixed the tab order in the config dialog
-Now it's correctly packaged

0.1:
-Initial release




LicenseGPL
(0.2 (mirror))
(0.2 (mirror))
(0.1a)
(0.1)
Send to a friend
Subscribe
Other  Apps  from Kner
Report inappropriate content



goto page: prev   1  2  3  4  5  6  7  8 

-

 Smaller cover?

 
 by CaceK on: Jun 25 2006
 
Score 50%

Could you create a smaller Version of the Cover?


Reply to this

-

 Cover

 
 by StewieG on: Jul 8 2006
 
Score 50%

Hi.

I like the script, but it has a drawback. If gets the cover from the Amarok miniature cache instead of from the real cover file. If we have Amarok set up to use 100 pixels for the covers, they will look bad when the scaling is done.

You may change the paintImage function to get the real cover file, like this:

def paintImage (self,force):
artist = popen("dcop amarok player artist").read()[0:-1]
album = popen("dcop amarok player album").read()[0:-1]
coverImage = popen("dcop amarok collection query \"select path from images where artist='" + artist + "' and album='" + album + "'\"").read()[0:-1]
if coverImage == "":
self.hasCover = False
self.__hide()
elif (self.actual != coverImage or force):
self.hasCover = True
cover = self.__getCover(coverImage)
if self.filter:
cover = self.__filter(cover)
self.image.setPixmap(self.__box(QPixmap(cover)))
self.__show()
self.actual = coverImage


Reply to this

-

 Re: Cover

 
 by StewieG on: Jul 8 2006
 
Score 50%

I forgot to add a detail, just in case there is an apostrophe in the artist or the album:

artist = artist.replace('\'', '\'\'');
album = album.replace('\'', '\'\'');

That goes before the SQL query.


Reply to this

-

 Re: Re: Cover

 
 by dta on: Jul 27 2006
 
Score 50%

There are 2 problems with this patch. The borders of cover are messed up (some weird colors) and this script cannot be runned if no track plays. Otherwise it's great. If you know what to do with these issues, I would really appreciate it. Thanks


Reply to this

-

 Re: Cover

 
 by mariahoney on: Oct 28 2006
 
Score 50%

I couldn't get this patch to work for me :(

Though, I did successfully get the original script to work by simply adding the following 3 lines of code beneath line:
song=popen("dcop amarok player coverImage").read()[0:-1]

and above line:
If OString(song).contains("nocover.png"):

------ This is the new code -----
large=song[:song.find('cache')]+"large/"+song[song.find('@')+1:]
if path.exists(large):
    song=large

---------------------------------

Theses three lines of code assume that you have not renamed your 'cache' and 'large' directories in ~/.kde3.5/share/apps/amarok/albumcovers




Reply to this

-

 Re: Cover

 
 by iamFIREcracker on: Jan 10 2007
 
Score 50%

i can't use this patch...it seems that the query doesn't work properly...could you help us make it working?
because of i'm not a script developer...i dont' know very well where to insert the correction for the "strange artist name patch"; u told before the quere...but were?

def paintImage (self,force):
artist = popen("dcop amarok player artist").read()[0:-1]
album = popen("dcop amarok player album").read()[0:-1]
artist = artist.replace('\'', '\'\'');
album = album.replace('\'', '\'\'');
coverImage = popen("dcop amarok collection query \"select path from images where artist='" + artist + "' and album='" + album + "'\"").read()[0:-1]
if coverImage == "":
self.hasCover = False
self.__hide()
elif (self.actual != coverImage or force):
self.hasCover = True
cover = self.__getCover(coverImage)
#if self.filter:
# cover = self.__filter(cover)
self.image.setPixmap(self.__box(QPixmap(cover)))
self.__show()
self.actual = coverImage

is it correct? if so..it doesnt work.. :(
M@


Reply to this

-

 endless instances

 
 by rabauke on: Aug 26 2006
 
Score 50%

I restarted KDE and amarok (1.4.2) was not loaded, but the py-script (0.2), resulting in a black cover. Fair enough.

After that I started amarok and endless instances of amarokapp were created blocking KDE. killing amarok and the script solved the problem. Yet after starting amarok again it began again. So I removed the script manually from amarokrc and now it works as expected.

Not sure what could cause this.


Reply to this

-

 Need pyqt and pykde

 
 by dennismdk on: Nov 14 2006
 
Score 50%

I need pyqt and pykde for SuSe 10.1. Where can I find them?


Reply to this

-

 Re: Need pyqt and pykde

 
 by gardenmouth on: Dec 10 2006
 
Score 50%

Just search this site.. http://rpm.pbone.net/index.php3/stat/2/simple/2 Sometimes the site goes down but the majority of time it's up.


Reply to this

-

 Kubuntu 6.10

 
 by Typhon on: Jan 1 2007
 
Score 50%

I can't access the configuration menu to set the position on desktop. Is there a way to do this manually by editing a text file?


Reply to this

-
.

 Re: Kubuntu 6.10

 
 by rynop on: Jan 3 2007
 
Score 50%

Yes, download the package, extract and edit desktop.py

change any refrence of :
self.x = 50
self.y = 50

to your desired values. Save file and put it back in the bz2 package (overwite old one). Then install in amarok.

There is an error in the python script 'TypeError: argument 1 of NETRootInfo() has an invalid type' - i do not know python but i am working on fixing it right now...


Reply to this

-
.

 Re: Re: Kubuntu 6.10

 
 by adny on: Feb 15 2008
 
Score 50%

I didn't see the config dialog either (Fedora 8)

"Fixed" it by commenting out:
# net = NETRootInfo(qt_xdisplay())

and then later on replacing the net.desktopGeometry(0).width and net.desktopGeometry(0).height with 4096 (i.e. a value larger than the size of the desktop).

Now the config dialog works just fine :)


Reply to this

-

 errors

 
 by stuif on: Feb 13 2007
 
Score 50%

Hello, I tried to install the Desktop script, but it gave the following error:
sh: kdialog: not found

Traceback (most recent call last):

file "/home/kasper/.kde/share/apps/amarok/scripts/desktop/desktop.py", line 37, in ?

from kdecore import*

importError: No module named kdecore

What should I do??

thanks a lot


Reply to this

goto page: prev   1  2  3  4  5  6  7  8 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.