-
 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  .- Knowledge Base  . 

Uplisting

   0.5  

Amarok Script

Score 76%
eeaneean
Amarok
-
Ian Monroe 4

Amarok
United States of America, Iowa City, IA
Last visit Aug 17 2011
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--
Uplisting
zoom


Link:  http://
Downloads:  1455
Submitted:  Jan 25 2005
Updated:  Feb 12 2005

Description:

Uplisting creates a HTML page of what you've been playing in amaroK. This page is uploaded via virtually any protocol and can also be displayed as a desktop applet (see screenshot).

To install, save the file to your favorite download location. In amaroK, Tools->Script Manager, click "Install Script" and select the downloaded file. It should then appear in the script list. Click 'Run' to start the script. The first time it runs it should open up the configure window automatically. You can access it again by clicking 'Configure' within the Script Manager.

You can contact me via #amarok on irc.freenode.org or use the email at the top of the script.

Dependencies:
*amaroK 1.2-beta4 or later
*Ruby 1.8 (developed using 1.8.2)
*Korundum from KDE 3.4-beta2

Todo:
*resize images (use rmagick?)
*make uploading optional (rename script?)




Changelog:

0.5: Displays up-to-date generated HTML in an KHTML desktop window.
0.4: Now it lists the directory and only uploads new covers, also uploads all needed covers to a newly configured directory. Remembers playlist between runs. xtemplate now stored in a seperate file default.xtemplate
0.3: Fixed a run-time error that would stop the script
0.2: Now it goes newest->oldest, script doesn't stop if you close the window, there's a max # of items, remembers playlist between runs
0.1: Initial release




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



goto page: prev   1  2 

-

 Won\\\\\\\'t work

 
 by RockeGomp on: May 1 2005
 
Score 50%

I want to use this for my webpage, but it won't work properly for me. When I try to run it an error message come and tell me

The script 'uplisting.rb' exited with error code: 1

Details:

IO failed: No such file or directory - /home/amund/.kde3.4/share/apps/amarok/scripts-data/uplistingrc/usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:133:in `stream=': Array is not a valid input stream. It must be (RuntimeError)either a String, IO, StringIO or Source. from /usr/lib/ruby/1.8/rexml/parsers/baseparser.rb:100:in `initialize' from /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in `new' from /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:6:in `initialize' from /usr/lib/ruby/1.8/rexml/document.rb:171:in `new' from /usr/lib/ruby/1.8/rexml/document.rb:171:in `parse_stream' from ./xtemplate/lib/xtemplate/xml.rb:343:in `parse' from ./xtemplate/lib/xtemplate.rb:31:in `initialize' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:216:in `new' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:216:in `initialize' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:511:in `new' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:511:in `initialize' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:533:in `new' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:533


Looking closer I saw that it was looking for a scripts-data/uplistingrc file. I created an empty uplistingrc file, but this only gave me a new error message.

The script 'uplisting.rb' exited with error code: 1

Details:

/home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:486:in `load': End of file reached (EOFError) from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:486:in `load' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:485:in `open' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:485:in `load' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:508:in `initialize' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:533:in `new' from /home/amund/.kde3.4/share/apps/amarok/scripts/uplisting/uplisting.rb:533



Looks like I don't get anywhere without a proper configfile. Could someone please send me a working uplistingrc file, so I can started using this script. I am currently using a php script to retrieve the last played songs from audioscrobbler, but it is often very slow, using this uplisting script seems like a much better solution.


Reply to this

-

 Re: Won\\\\\\\\\\\\\\\'t work

 
 by RockeGomp on: May 1 2005
 
Score 50%

BTW: I'm using kde-3.4.0 and amarok 1.3-cvs, I have ruby, smoke, korundum installed. All on Gentoo GNU/Linux.


Reply to this

-

 Re: Re: Won\\\\\\\\\\\\\\\\\\

 
 by eean on: May 3 2005
 
Score 50%
eeaneean
Amarok
-
Ian Monroe 4

Amarok
United States of America, Iowa City, IA
Last visit Aug 17 2011
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

I just tried without an uplistingrc installed and it worked fine. Sounds like you have everthing installed right. Don't know what it could be.


Reply to this

-

 Re: Re: Re: Won\'t wo

 
 by RockeGomp on: May 7 2005
 
Score 50%

Ok, I guess it's just my computer being weird then :)

Anyway I wrote my own uplist script in python/bash, which suits my needs pretty well. Thanks for checking out my config file theory anyhow, and for inspiration to make my own script.


Reply to this

-

 Re: Re: Won\\\\\\\\\

 
 by phf on: Aug 11 2005
 
Score 50%

hi RockeGomp

i got a similar error here.
it can be fixed easily with some ruby hacking

in uplisting.rb line 218
change
XMLTemplate.new(template)
to
XMLTemplate.new(template.to_s)

et voila...

cheers

phf


Reply to this

-
.

 Re: Re: Re: Won\\\\\

 
 by dfras on: Feb 22 2006
 
Score 50%

great hint - it worked out for me!
Only issue: how can I configure a FTP-Server?


Reply to this

goto page: prev   1  2 

Add commentBack






-
-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

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.