Slacker Screenlet
Conky
Score 58%
Description:

A streaming radio Slacker.com screenlet.

Now your music won't stop when you (accidentally) close your browser :)

Version 0.3 now includes LastSlacker.com Last.FM scrobbling support. You can turn this feature off in the Screenlet properties menu.
Last changelog:

9 years ago

0.3
- Fixed screenlets-manager recursive loading bug
- Added Last.FM (LastSlacker) support
0.2
- Fixed Ubuntu Bug
0.1
- Initial Release

Whise

9 years ago

change to screenlets section please

Report

idiotonuni

10 years ago

this is my favorite screenlet ever!!! Thank you!

Report

C

EnigmaCurry

10 years ago

Thanks!

Glad I could make someone's day, you sure made mine :)

Report

Whise

10 years ago

hi , here is a work arround for the ubuntu gtmozembed bug

just add the code before importing it

nice job :)


Quote:
#########WORKARROUND FOR GTKOZEMBED BUG################

if sys.argv[0].endswith('SlackerScreenlet.py'):
if commands.getoutput("lsb_release -is") == 'Ubuntu':
mypath = sys.argv[0][:sys.argv[0].find('SlackerScreenlet.py')].strip()
if os.path.isfile(mypath + "running"):
os.system("rm -f " + mypath + "running")

else:
os.system ("export LD_LIBRARY_PATH=/usr/lib/firefox \n export MOZILLA_FIVE_HOME=/usr/lib/firefox \n python "+ sys.argv[0] + " &")
fileObj = open(mypath + "running","w") #// open for for write
fileObj.write('gtkmozembed bug workarround')

fileObj.close()
exit()
else:
pass
import gtkmozembed



Report

C

EnigmaCurry

10 years ago

Hi Whise,

Thanks for clarifying that this code needs to be run BEFORE importing gtkmozembed. I actually based this screenlet after your TheGamer screenlet. I had this initialization code there to begin with but it wasn't working because I was importing gtkmozembed beforehand. You'll see what led to my confusion if you look in TheGamerScreenlet.py where you have gtkmozembed imported twice :)

Thanks again! Without your screenlets to use as a model I never would have created this.

Report

Whise

10 years ago

ohh didnt know i imported it twice , ill have to fix that , thanks

Report

9 years ago

0.3
- Fixed screenlets-manager recursive loading bug
- Added Last.FM (LastSlacker) support
0.2
- Fixed Ubuntu Bug
0.1
- Initial Release

product-maker 12 19

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.3
updated Apr 05 2008
added Nov 20 2007
downloads today
0
page views today 0