Image 01


Ryan Ryan Chouinard Fort Wayne, IN, United States of America
Amarok 1.x Scripts

Amarok 1.x Scripts 13 comments

Score 50.0%
Dec 19 2005
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. - Mar 01 2006
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 ( 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! - Dec 20 2005
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:


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:

then your image would then become:

The example script is not meant to be viewed in a browser. - Dec 20 2005
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. - Dec 20 2005
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! - Dec 19 2005