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

amarokNowPlayingImproved

   0.1b  

Amarok Script

Score 65%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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


Link:  http://
Downloads:  452
Submitted:  Dec 19 2005
Updated:  Dec 20 2005

Description:

This is a re-write of amarokNowPlaying by Daniel Dormann. It generates an image of the currently playing media using ImageMagick's convert and then uploads it to a remote host. The image includes the album cover, artist, album name, and track title. It also shows if the engine is paused, and creates a cusomizable "offline" message when the engine is stopped.

The script uses cURL in order to upload the image to a remote host, and supports both FTP and HTTP POST methods, as well as a local filesystem option.

Requirements: cURL, ImageMagick

Please view the README file in the archive for more information.

To those that rate my script, please leave feedback as to why you like/dislike it. That's the only way I can know where to improve!




Changelog:

0.1 - Initial release

0.1b - Bugfix: Script no longer makes calls to dcop unless amarok signals a state change. This fixes a condition of the script consuming resources.




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



-

 Dependencies

 
 by markey on: Dec 19 2005
 
Score 50%

Please add a list of dependencies to the description.


Reply to this

-

 Re: Dependencies

 
 by placidpsychosis on: Dec 19 2005
 
Score 50%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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

Ah, I thought it was clear in the description, but I guess not. I've added a requirements list now. Thanks for pointing that out!


Reply to this

-

 pic

 
 by rokkford on: Dec 20 2005
 
Score 50%

what - besides a php script - do i have to upload onto the server via http?


¡hasta la victoria siempre!
Reply to this

-

 Re: pic

 
 by placidpsychosis on: Dec 20 2005
 
Score 50%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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

If you choose to use the http method, you just need a script on the server to handle uploads. There is an example in the README file inside the archive.

There are a few variables to update in the configuration. You'll need to set http_image_var to the variable the script is using for the upload. If you so choose, you can configure your script to require a password, in which case http_secure_var and http_secure_value need to be set. Again, the included example shows the usage of these variables.

Other than that, it should be good to go. I use the HTTP method myself, as I find it faster than FTP and I get a little more control on the server side.


Reply to this

-

 Re: Re: pic

 
 by rokkford on: Dec 20 2005
 
Score 50%

so i've put the script onto my server, but can't access it. i don't understand what i have to set for http_image_var. should that be the name of the image? i.e. nowplaying.png? is the only thing i have to upload the script?

really nice script! i've build my own, but this is much more complex with the info and the cover!


¡hasta la victoria siempre!
Reply to this

-

 Re: Re: Re: pic

 
 by rokkford on: Dec 20 2005
 
Score 50%

i always get 'You are not authorized to use this script'


¡hasta la victoria siempre!
Reply to this

-

 Re: Re: Re: pic

 
 by placidpsychosis on: Dec 20 2005
 
Score 50%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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

No, http_image_var is the name of the variable the script is looking for.

If your script looks for the image to be posted to NAME_OF_YOUR_VARIABLE, like this:



then http_image_var needs to be set to NAME_OF_YOUR_VARIABLE

Your script will need to be written to move the uploaded file to where you want it and name it properly.

The "You are not authorized" message from the example script is caused by your http_secure_var and your http_secure_value not being set correctly. I beleive the example requires:

http_secure_var=secure_key
http_secure_value=amarok

It's basicly an optional security mechanism to prevent people from just being able to upload random images to your Web server.

The example script will create the file now_playing.png in the directory the script resides, so if you put the example script here:

http://yoursite.com/amarok_upload.php

then your image would then become:

http://yoursite.com/now_playing.png

The example script is not meant to be viewed in a browser.


Reply to this

-

 Re: Re: Re: Re: pic

 
 by rokkford on: Dec 21 2005
 
Score 50%

doesn't work, really.
i use your example script and all that i've changed is the http_url via the config.
although it's all set up, like it should be, it doesn't work.
and shouldn't have the config have effect on the /.kde/share/apps/amarok/scripts/amarokNowPlayingImproved/amarokNowPlayingImproved.sh as well?
what am i missing?


¡hasta la victoria siempre!
Reply to this

-

 Re: Re: Re: Re: Re:

 
 by placidpsychosis on: Dec 21 2005
 
Score 50%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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

Hmmm, odd. That's the script I have running on my server. I'll take a peek at it in the morning and post back my findings. If you could copy and paste your configuration and email it to me (rchouinard@wavestatic.com) I'll see if I spot anything there too.

I apologize for the trouble, but I thank you for helping me improve on this script!


Reply to this

-

 cURL

 
 by rokkford on: Feb 11 2006
 
Score 50%

the cURL method doesn't work for me, so i had to combine it with amoroknowplaying (orig) to use lftp.

is there a chance to add an extra info to the pic, i.e. bitrate in a 4th row?


¡hasta la victoria siempre!
Reply to this

-

 Re: cURL

 
 by placidpsychosis on: Mar 1 2006
 
Score 50%
placidpsychosisplacidpsycho sis
Wavestatic Studios
Home
-
Ryan Ryan Chouinard 0

Wavestatic Studios
United States of America, Fort Wayne, IN
Last visit Sep 22 2008
0 Friends
0 Groups

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

I will look into adding additional information. I haven't had a chance to do much else with this project right now, as I upgraded my hardware and have yet had time to re-install Gentoo. I'm hoping to get to that this week, and then I'll start adding a few more features and work towards a 1.0 release.


Reply to this

-

 scp Support

 
 by stifi on: May 5 2006
 
Score 50%

First of all, I have to say that I like that script very much!
What about adding scp support to the script. i.e.
elif [ ${method} = scp ];then
scp -i ${keyfile} /tmp/amarokNowPlaying_image.png "${user}@${host}:${path}"


Reply to this

-
.

 old and nice!

 
 by TommyHLW on: Feb 26 2008
 
Score 50%

Are there any new designs for the pictures on the web?


Reply to this

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.