-
 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 (4) . 

Current Song

   0.2.3  

Plasmoid Script

Score 78%
Current Song
zoom


Current Song
zoom


Depends on  KDE 4.x
Downloads:  513
Submitted:  Sep 7 2010
Updated:  Oct 9 2010

Description:

This is intended as a more streamlined analogue of the standard "Now Playing" plasmoid. Instead of a collection of buttons and sliders, only the title and album art of the currently-playing track are shown, and can be clicked to advance to the next track (or resume playback, as appropriate). Obviously, this won't be much use to those that don't use album art, but in my case, I find it to be a more concise way of accessing the playback functionality I most commonly use.

Requires Plasma 4.5. Currently there is no support for placing the plasmoid inside a panel.

The default image shown when no album art is available is thanks to Amarok.




Changelog:

0.2.3:
- Improved corner rounding of album art.

0.2.2:
- Fixed bug in configuration loading.

0.2.1:
- Added configuration interface for main background.
- Fixed restoration of config settings.

0.2:
- Added configuration interface for text background.
- Better handling of odd Amarok behaviour
- Fixed action-icon glitch when all sources are removed.

0.1:
- Initial release.




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from keystonerose
Report inappropriate content



goto page:  1  2 

-
.

 Problem

 
 by Lole on: Sep 7 2010
 
Score 50%

I tried to install this plasmaoid on kde 4.5.1 from shell with "plasmapkg -i 129891-current-song-0.1.plasmoid" but then I see this error:

"KConfigIni: In file /tmp/kde-lorenzo/plasmapkgScHPSm/metadata.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkgScHPSm/metadata.desktop, line 2: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkgScHPSm/metadata.desktop, line 3: " Invalid entry (missing ']')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkgScHPSm/metadata.desktop, line 4: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkgScHPSm/metadata.desktop, line 7: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkg9vjd5g/metadata.desktop, line 1: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkg9vjd5g/metadata.desktop, line 2: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkg9vjd5g/metadata.desktop, line 3: " Invalid entry (missing ']')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkg9vjd5g/metadata.desktop, line 4: " Invalid entry (missing '=')
"KConfigIni: In file /tmp/kde-lorenzo/plasmapkg9vjd5g/metadata.desktop, line 7: " Invalid entry (missing '=')
plasmapkg(1961)/libplasma Plasma::Package::installPackage: Package plugin name not specified
Installazione di /home/lorenzo/129891-current-song-0.1.plasmoid non riuscita.


Reply to this

-
.

 Re: Problem

 
 by bitcrazy on: Sep 7 2010
 
Score 50%

Same here.
openSUSE 11.3
KDE 4.5.1
Qt 4.6.3


If men could get pregnant, abortion would be a sacrament.
Reply to this

-

 Re: Problem

 
 by keystonerose on: Sep 7 2010
 
Score 50%

As far as I know, this is a packaging problem with Plasma 4.5:

https://bugs.kde.org/show_bug.cgi?id=249980
https://bbs.archlinux.org/viewtopic.php?pid=820108

As a workaround, you can extract the contents of the .plasmoid file (which is actually a ZIP archive), then run plasmapkg -i . in the extracted directory.


Reply to this

-
.

 Re: Re: Problem

 
 by Lole on: Sep 8 2010
 
Score 50%

Thank you! Now it works! You should add to the description this way to install it (plasmapkg -i .)


Reply to this

-

 Won't Load

 
 by vexxed on: Sep 8 2010
 
Score 50%

I got it to install fine, but whenever I drag the widget to the desktop it just says

This object could not be created for the following reason: Script initialisation failed.

Any solutions?

Mandriva 2010.1
KDE 4.4.3


Reply to this

-

 Re: Won't Load

 
 by keystonerose on: Sep 8 2010
 
Score 50%

Huh, that's not so good... Unfortunately, I can't reproduce here, but I recall having had a similar problem with some other plasmoids that came right upon restarting Plasma.

I haven't tested the plasmoid with Plasma 4.4, either, so perhaps that's it? I'm not sure what different that would make, though.


Reply to this

-

 Re: Won't Load

 
 by vexxed on: Sep 8 2010
 
Score 50%

Did some poking around and found a solution to this problem.

Plasma <4.5 has a problem with line 146 in main.py. So, you have to extract the plasmoid, go in to the folder /129891-current-song-0.1/contents/code and then open main.py and comment out line 146 by putting a # infront of it. It should look like this:


#self.iconWidget.setMaximumIconSize(QSizeF(self.MAX_ICON_SIZE, self.MAX_ICON_SIZE))

Save the file, then cd back until you're outside of the plasmoid folder. Finally, just do

plasmapkg -i /129891-current-song-0.1/

and it should install. The only bug I've encountered so far is that most of the time the album art doesn't show up.


Reply to this

-

 Re: Re: Won't Load

 
 by vexxed on: Sep 8 2010
 
Score 50%

Correction:

Album art AND song title don't show up.


Reply to this

-

 Re: Re: Re: Won't Load

 
 by keystonerose on: Sep 10 2010
 
Score 50%

I've been able to reproduce some strange behaviour with Amarok -- it will sometimes report that it has stopped playing when it is just changing tracks -- which for me occasionally caused the plasmoid to become blank. I made some changes to the way the play-state is tracked, and haven't observed the problem since, so hopefully this may address your issue.


Reply to this

-
.

 Font config?

 
 by Githzerai on: Sep 8 2010
 
Score 50%

Thanks for this one, very simple, but also very efficient.

However, would it be possible to add some sort of font config dialog (even the most simplest one)?

Depending on used plasma theme and wallpaper, it might become difficullt to read song titles, like here:

http://tinyurl.com/356avj4

Cheers.


Reply to this

-

 Re: Font config?

 
 by keystonerose on: Sep 10 2010
 
Score 50%

Good point. Unfortunately the widget that I am using does not support changing the font, but I have added a configuration interface for changing the text background, which may help you.


Reply to this

-

 Re: Re: Font config?

 
 by Githzerai on: Sep 10 2010
 
Score 50%

Thanks, this is much, much better.

I think that that this would be more than enough for majority of plasma theme/background combinations, or at least for those I've tried.

Great job,
Cheers.


Reply to this

-

 Much Better

 
 by vexxed on: Sep 10 2010
 
Score 50%

The plasmoid works much better now. Excellent job. The only thing that I wouldn't mind is the ability to pause the current song.

And for anyone who needs to use my method (described above) to make it work on Plasma 4.4 or lower, the line that needs to be commented out is at 191.

For future reference (and so I don't have to repost this with every update), just search the file for

self.iconWidget.setMaximumIconSize(QSizeF(self.MAX_ICON_SIZE, self.MAX_ICON_SIZE))

and comment it out by putting a # infront of it. Save, install, voila.


Reply to this

-

 Re: Much Better

 
 by keystonerose on: Sep 10 2010
 
Score 50%

Mm, I was considering that. The trick would be to somehow visually distinguish the primary action performed by clicking on the album art from any secondary actions available as overlay icons. Perhaps the icon for the primary action should appear in the centre of the image rather than in the corner? It'd be kinda tricky to implement, though, but should work.


Reply to this

-

 Re: Re: Much Better

 
 by vexxed on: Sep 10 2010
 
Score 50%

Well, the way you have it now has two spaces, right? You've got the Album Art and then the Song Title. Click the art and the song changes. Why not make it pause when you click the song name?


Reply to this

-

 Re: Re: Re: Much Better

 
 by keystonerose on: Sep 10 2010
 
Score 50%

Even though they appear separate, they're parts of a singular IconWidget entity. Plus, it's difficult to draw a semantic difference between activating text representing a song, and an image representing a song.


Reply to this

-

 Re: Re: Re: Re: Much Better

 
 by vexxed on: Sep 10 2010
 
Score 50%

What about a line between the text and the art? So, when a person clicks, the program checks to see where the click was and runs the appropriate function. Of course, the line would have to be relative, but that shouldn't be too difficult.

def onClick
If mouse.y is less-than middleLine
change song;
if mouse.y is equal-to or greater-than middleLine
pause song;

(Forgive me if I'm way off the mark here.)


Reply to this

-

 settings

 
 by ingvarg on: Sep 22 2010
 
Score 50%

good work, but I find something strange - when I choose to disable the background of plasmoid and then reboot - the background returns

what can I do to fix it?


Reply to this

-

 Re: settings

 
 by keystonerose on: Oct 5 2010
 
Score 50%

Sorry about that; stupid mistake on my part. It should be fixed now.


Reply to this

-

 Re: Re: settings

 
 by ingvarg on: Oct 5 2010
 
Score 50%

hmm

it isn't (:

nvm, all is great, i'm ur fan (;


Reply to this

-

 Re: Re: Re: settings

 
 by ingvarg on: Oct 5 2010
 
Score 50%

oh, sry about that, a bit drunked

used old version, I'll test the new version


Reply to this

-

 Re: Re: settings

 
 by ingvarg on: Oct 5 2010
 
Score 50%

yeah, everything works perfect

but plasma tells me it is version 0.2.1 (:


Reply to this

-

 Size

 
 by Maarty on: Oct 11 2010
 
Score 50%

keystonerose

Nice job! could you increase maximum

size of the plasmoid in future releases?

It looks pretty small on my 27" monitor.


Reply to this

goto page:  1  2 

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.