Nowplaying Screenlet modified

Conky

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

1
6.3
Description:

There is a newer version available at:http://gnome-look.org/content/show.php/?content=136480

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:
[li]Amarok v1.x[/li][li]Amarok v2.x[/li][li]Banshee[/li][li]Exaile v0.2.x[/li][li]Exaile v0.3.x (mpris)[/li][li]Listen[/li][li]MPD[/li][li]QuodLibet[/li][li]Rhythmbox[/li][li]Songbird (mpris)[/li]

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.
Last changelog:

9 years ago

V3.0
[li]The Play/Pause-Button now shows the right symbol, even when you change Play-Status by the Player itself.[/li][li]changed player "Amarok" to "Amarok 1", which works with Amarok 1.4...[/li][li]added player "Amarok 2" which works with Amarok >2[/li][li]added 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[/li]

V3.1
[li]fixed many minor bugs. Especially with activating and changeing the player[/li][li]added player "MPRIS" which works with with multiple player. Tested with Exaile v0.3xx (you need to activate the mpris addon in your player)[/li][li]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 player[/li][li]added 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).[/li]

V3.2
[li]fixed a bug which breaks the screenlet in karmic koala[/li]

V3.3
[li]You have the possibility to configure two different MPD players (for laptop use)[/li][li]You have the possibility to configure two different mpris player[/li][li]fixed bugs with special characters in Fetcher[/li][li]fixed bugs with jpg/png at the fetcher[/li][li]The fetcheris now working in background (problem with not responding while fetching is solved)[/li][li]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.[/li]

Enjoy the new release!

C

alexibaba

9 years ago

In the next version I'm going to rename all the modules in a more unique way. I hope this will prevent getting similar bugs in the future.

Report

C

alexibaba

9 years ago

It shuld now work with Karmic Koala!

Report

C

alexibaba

9 years ago

Actually I'm upgrading to karmic. I will try that tomorrow. perhaps the last comment could help you.

Report

eremit

9 years ago

Hi there!

first of all: thanks for the MPD extension!

Found another issue on Ubuntu (Karmic Koala) Desktop.

Traceback (most recent call last):
File "./NowPlayingScreenlet.py", line 49, in <module>
from fetcher import Fetcher
File "/home/eremit/.screenlets/NowPlaying/fetcher/fetcher.py", line 30, in <module>
from google import CoverFetcherGoogle
ImportError: cannot import name CoverFetcherGoogle


Solved that issue by commenting any occurence of google in fetcher.py

Report

C

alexibaba

9 years ago

You did yust the right thing!
I've tryed a bit with fetching the pictures from google and passed to komment this line (from google import...).
Usually this should not run into an error. Prehaps you have another app installed which is called google.

I will fix this for you in the next update (soon).
Actually I'm upgrading to karmic and I hope that there are not more issues (see the next comment).

Thank you for this hint!

Report

vervelover

9 years ago

it seems it doesn't work with amarok 2.2 here..

Report

C

alexibaba

9 years ago

I have jast googled. I think that Amarok2 is now natively supporting MPRIS.
Try to change at the MPRIS tab in the NowPlaying-settings, the "Remote Application" to:
org.mpris.amarok
Restart the NowPlaying screenlet.

I hope this works for you!

Please tell us here if you got connection.

Report

C

alexibaba

9 years ago

Hello,

I have tried the screenlet with Amarok 2.0.2 because this is the latest version of Amarok in the Ubuntu sources.

Please give me the output of:
dbus-send --session --print-reply --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.GetStatus
and
dbus-send --session --print-reply --dest=org.kde.amarok /Player org.freedesktop.MediaPlayer.GetMetadata
while your Amarok2.2 is playing.

Report

pch76

9 years ago

Hi!
Exaile not working.
old exaile info:
exaile -q 2>/dev/null | sed 's/status:\ //g' | sed 's/\ self:\ /\n/g' \
| sed 's/\ artist:\ /\n/g' | sed 's/\ album:\ /\n/g' \
| sed 's/\ length:\ /\n/g' | sed 's/\ position:\ /\n/g'

exailev3 info:
exaile -q 2>/dev/null | sed 's/status:\ //g' | sed 's/\, title:\ /\n/g' \
| sed 's/\, artist:\ /\n/g' | sed 's/\, album:\ /\n/g' \
| sed 's/\, length:\ /\n/g' | sed 's/\, position:\ /\n/g'



Report

C

alexibaba

9 years ago

Hello,

In the new version of NowPlayingScreenlet you can use the MPRIS-Player to control exaile 3. Use the MPRIS-addon in Exaile, the connection settings are allready done.

Report

C

alexibaba

9 years ago

Hi,
OK, I will check that.

I have found another bug which Im actually fixing. It is possible that the Exaile failing is also caused by this.

Please check if you can find here a new version of this screenlet in a few days.

Report

C

alexibaba

9 years ago

please tell me if you can find any further bugs. I'll try my best to solve them.

enjoy the screenlet

Report

9 years ago

V3.0
[li]The Play/Pause-Button now shows the right symbol, even when you change Play-Status by the Player itself.[/li][li]changed player "Amarok" to "Amarok 1", which works with Amarok 1.4...[/li][li]added player "Amarok 2" which works with Amarok >2[/li][li]added 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[/li]

V3.1
[li]fixed many minor bugs. Especially with activating and changeing the player[/li][li]added player "MPRIS" which works with with multiple player. Tested with Exaile v0.3xx (you need to activate the mpris addon in your player)[/li][li]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 player[/li][li]added 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).[/li]

V3.2
[li]fixed a bug which breaks the screenlet in karmic koala[/li]

V3.3
[li]You have the possibility to configure two different MPD players (for laptop use)[/li][li]You have the possibility to configure two different mpris player[/li][li]fixed bugs with special characters in Fetcher[/li][li]fixed bugs with jpg/png at the fetcher[/li][li]The fetcheris now working in background (problem with not responding while fetching is solved)[/li][li]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.[/li]

Enjoy the new release!

12345678910
2
product-maker brucelee Dec 31 2013 9 excellent
product-maker D4v3 Mar 08 2011 9 excellent
product-maker Count: 4 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
v3.3
updated Dec 10 2009
added Oct 10 2009
downloads today
0
page views today 3