
Nowplaying Screenlet modified
Source (link to git-repo or to original if based on someone elses unmodified work):
This is a modification of the NowPlaying Screenlet, which was modified by Whise.
special thanks to Whise and his first modification:
http://www.gnome-look.org/content/show.php/Nowplaying+Screenlet+modified?content=69988
This player is compatible to the most Linux music players. I have tested the following players:
Amarok v1.xAmarok v2.xBansheeExaile v0.2.xExaile v0.3.x (mpris)ListenMPDQuodLibetRhythmboxSongbird (mpris)
By the EMPRIS-Plugin you should be able to connect to some more players. Please let us know which program is also suitable and which not.
V3.0
The Play/Pause-Button now shows the right symbol, even when you change Play-Status by the Player itself.changed player "Amarok" to "Amarok 1", which works with Amarok 1.4...added player "Amarok 2" which works with Amarok >2added player "Amarok 1 no pydcop" which works with Amarok 1.4... but without the python-dcop bindings. You need this player when you are using Amarok 1... and ubuntu >= 9.04
V3.1
fixed many minor bugs. Especially with activating and changeing the playeradded player "MPRIS" which works with with multiple player. Tested with Exaile v0.3xx (you need to activate the mpris addon in your player)added player "MPD" which works with the music player daemon. I tested the Player atlocalhost and at lan-connection - both worked for me.
You need to install the package "python-mpd" touse this playeradded a new cover fetching module, to find the albumart at online cervices. This works with:
- PlayFM
- Discogs
- Amazon (for Amazon you need a personal key).
V3.2
fixed a bug which breaks the screenlet in karmic koala
V3.3
You have the possibility to configure two different MPD players (for laptop use)You have the possibility to configure two different mpris playerfixed bugs with special characters in Fetcherfixed bugs with jpg/png at the fetcherThe fetcheris now working in background (problem with not responding while fetching is solved)The player shows an icon while fetching a cover. The icon is customizable by the theme: The image fetching.png in theme folder will be shown as albumart while fetching.
Enjoy the new release!
Ratings & Comments
37 Comments
Hey! Is there something I have to do after installation to make it work with Banshee? Cuz it isn't working. =/ Thanks!
Hi, it is working for me with Banshee 1.6.1. without doing any changings after the installation. Maybe they changed something in a newer Banshee version. If they really changed something, try to connect via MPRIS. That should work for you.
I would love DeadBeef support as well.
Hi, I haven't used DeadBeef, but maybe MPRIS is supported by DeadBeef. So you could connect to the NowPlayingScreenlet via MPRIS. Good luck!
The screenlet works great, but whenever I start it it creates three instances for some reason and I have to close the two extras manually so it doesn't hog memory unnecessarily. I'm not sure what info regarding my system is relevant and what isn't, but I'm running a more or less clean install of Ubuntu Lucid 10.04 (Very few packages beyond the defaults.) and I created the album art folder as instructed. Other than the duplicate problem it works perfectly. Although it seems to pull covers from the internet regardless of whether there is a cover in the corresponding music folder. That's not a problem per se, but I like to save my own covers to the hard drive and use them so if that feature is a possibility in a future update that would be wonderful.
Update: The problem still occurs but now occasionally when it starts up it also creates a grey rectangle roughly 200x200 pixels just underneath the gnome menu in the top left corner of the screen. All windows except the screenlet seem to fall underneath the rectangle, but I can drag the screenlet on top of it. Clicking and right clicking the rectangle produces no result. Closing the screenlet gets rid of it though. The covers are also no longer being fetched, the magnifying glass icon is just there perpetually. I'm going to try removing the files and reinstalling the screenlet. I'll let you know how that goes.
Update: Problem persists despite fresh install. Grey rectangle appears every time now. I've discovered the cover art will fetch on only one of the the three instances. So fetching works provided I wait for one of them to fetch and close the two that don't.
Hi, that sounds really strange. I've actually tried it on a lucid-live environment however it's not possible for me to reproduce this behavior. Have you tried different themes? maybe this is an error with a theme. Are you sure that you started only one instance? There is a difference between "quit" and "delete" a screenlet. How do you start your screenlets? And how do you start your screenlets-daemon?
Thanks for the delete/quit advice. For some reason I didn't notice the delete option in the menu until now. I must have accidentally started three instances the first time I opened the screenlet, and having quit instead of delete the extras they showed up again every time it started. Doesn't explain the mysterious grey rectangle, but that seems to have disappeared all enigmatic like since the last time I posted anyway. Hopefully he won't be back.
Your Screenlet is Great! Will it works with the player DeaDBeaF (http://deadbeef.sourceforge.net/)? So, it would be great! ps sorry for my bad еnglish =)
Hi! I have a problem with fetching...it doesn't work at all! Can you help me?
Hi, At first: Are you sure that the directory for saving the covers really exists? When this is not the problem, give me please some more informations: have you got an error message? Which player are you using? Are you using your own Keys for Amazon/Discogs/LastFM?
You're right, sorry me for the lack of informations, but I didn't know what would be useful. - Directory exists; - no errors, I simply see no covers; - I use rhythmbox and my key for LastFM. I don't know! Thanks a lot anyway...
I'm truly sorry!!! My bad, copy/paste error in the path of covers folder...It now works! Thank you very much, I love this screenlet!!!
No problem :-) Hint: for missing albumart I recommend CoverChooser. See here: http://gnome-look.org/content/show.php/CoverChooser?content=117330
Was using this screenlet for a while now, and every now and then my PC would slow down to a crawl and didn't know why. Discovered now that the screelet was using about 500MB of memory at one stage! This seems a bit excessive - is there a fix on the way? I'm using Karmic 64 bit.
Hi timvdwest, I have observed this behaviar the last days and came up to 60MB within 5 hours. Even this is too much. So this is really a bug. Currently I don't have enough time to solve this. But I have seen that "bladesuk1" (two comments above) is currently at work to bring up a new version of Nowplaying. Perhaps he could try to fix that bug in his version.
i wasn't aware i'd agreed to pick this up, but what the hell... i had a look at this on my machine last night which is also 64-bit karmic, but i'm not seeing any memory increase at all - rock solid at 17.2mb, and that was stable for 14 hours. can you tell me more about the issue? such as whether this is running a player or not, and what player it's running, and what you're doing (i.e. listening to music or not) and what skin you're using and so on. anything that might be of use will help to track this bug down, and i'll see if i can't fix it.
I have sent a PM to you with more details.
thanks for kicking this screenlet off a bit more - I was actually working on some of these mods myself, but carried away doing some extensions to the base code itself :) I've merged my changes into your codebase now, as there wasn't much crossover. I've written some code that will allow extra flexibility in the placing of buttons in the skins, as well as some extra functionality where the APIs support it (i.e. shuffle, repeat, loop). I've also tidied up a few implementation bits in a couple of the players where there were issues (i.e. where they weren't listening for signals to perform the track information updates). Do you want me to feed them through to you via email, or just put them up on here?
Hi, if you are blessed ideas you can take over this screenlet. At the moment anyway, I have too much to do with my other projects (MagIcons and CoverChooser). Good luck, I am looking forward to your results.
Works great with my amarok2 thanks thanks eaeaea
I made the 3.1 version to work also following your suggestion. Thanks for bringing the nowplaying screenlet back to life!
the updated version doesn't start at all in ubuntu karmic..
Actually I'm upgrading to karmic. I will try that tomorrow. perhaps the last comment could help you.