amarokNowPlaying (amaroK script)

Amarok 1.x Scripts

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

0
Score 50.0%
Description:

amarokNowPlaying is an amaroK script that generates two types of files: a text file (nowplaying.txt) with loads of information about the currently played track and the playlist's settings and images with the album cover, artist and track name plus an image which you can use in your signature or similiar.
(take a look at the screenshots)



Please send me any comments, critique and/or suggestions

have fun :D



Since some people voted 'bad' I would like to now what they found bad to enhance my script, so PLEASE: write a comment!


You'll need:
o ImageMagick
o lftp
o kdialog
Last changelog:

14 years ago

Added FTP support
Added KDialog support (Many thanks to Aitor Moreno)

I CHANGED TO GNOME AND QUODLIBET, SO I CAN'T PUBLISH ANY NEW VERSION!

Warxcell

10 years ago

I have write similar script,but you don't need imagemagick to use it, either FTP. Just kdialog + wget. :)

http://www.kde-apps.org/content/show.php/amarokNP?content=104231

I want some feedback. Thanks you. :)

Report

Anthonyg

12 years ago

I have improved this by changing 'ftp' to 'lftp' and adding the Album name.
How can I submit my changes?

Report

k20ImportTuner

12 years ago

Hi, could I get help installing and configuring this?
this sn is my AIM if u can get at me there.

Sorry, thanks!

Report

angrykeyboarder

13 years ago

(The Kdialogue support one).


An error occurred while loading http://www.kde-apps.org/content/download.php?content=24449&id=2:
Malformed URL http://.

Report

rokkford

13 years ago

ok, i got it to upload on my server now.
only that images are created and the text, but not the image combined with the info.
what do i have to do to get this working like your first screenshot?

Report

rokkford

13 years ago

what i mean is that the "nowplaying_text.png" is not generated (;

any ideas?

Report

rokkford

13 years ago

i get this via console:

~/.kde/share/apps/amarok/scripts$ amarokNowPlaying
convert: unable to read font `/usr/share/fonts/type1/gsfonts--with-magick-plus-plus/n019003l.pfb'.
convert: unable to open image `nowplaying_text.png': Datei oder Verzeichnis nicht gefunden.
ftp: u: unknown option

Report

schimmi

13 years ago

Uhm, dunno what's wrong with this, but ftp won't work here. had to replace line 241 in the script with

---snip---
lftp -c "open -u $ftp_user,$ftp_password ftp://$ftp_host/$ftp_dir/; put nowPlaying.txt nowplaying.png"
---snap---

to get this upload anything. of course, you need lftp for this.

Report

nemo32

13 years ago

First: Love the script, will be very useful.

Only problems:
It only seems to create a new output when the next file starts playing if it is stopped and started again. Any thoughts?
Second I have lftp and the files still aren't being uploaded to my website, is there any way to see a verbose output to check that no errors are being thrown by my server?

Report

C

ellion

13 years ago

yes, you can run it via commandline. The script is listening on stdin for input. Just take a look at the sourcecode or the amarok-wiki to see whicht commands amarok sends.


I'm pretty sure, that I'll have some holidays next week. There are several things that must be fixed and one guy ported the whole thing to use kdialog.

Report

cstegmann

13 years ago

How does it work, i set the config file with my ftp server, username, password, the directory but it just won't upload the file. Any dependencies/programs needed?

Running Gentoo Linux, amarok 1.3.2 with kde 3.4.1 and the most recent version of this script.

Thanks

Report

C

ellion

13 years ago

Yes, you'll need lftp. Didn't know that, when I programmed it, sorry

Report

greyfade

13 years ago

my only complaint so far with this script is that it seems to have difficulty with printing unicode characters to the images. a good portion of my music has Japanese tags, and it's a little confusing (and frustrating) that they're not displayed correctly.

Report

greyfade

13 years ago

yeah... seems to be ImageMagick's fault. sorry.

Report

shooshpakka

13 years ago

How can it be fixed?

Report

Jacek

13 years ago

I don't know why people vote 'bad' for this script. It's really great !

Report

Mishura

14 years ago

In fact, I found your script so intriguing, that I decided to play with it a bit!

I've created a PHP webpage that takes selective output from amarokNowPlaying and displays it on a webpage and nicely formats it.

To see it in action (When I'm online..): http://mystra.homelinux.net/~mishura/amarok/index.php

To download the source code and my modifications, go here: http://mystra.homelinux.net/~mishura/amarok/nowPlayingParse_src.tar.gz

Keep in mind that I'm a complete PHP newb, and I'm only just learning the language. Enjoy!

-- Mishura
Mishura AT Gmail DOT com

Report

Mishura

14 years ago

In fact, I found your script so intriguing, that I decided to play with it a bit!

I've created a PHP webpage that takes selective output from amarokNowPlaying and displays it on a webpage and nicely formats it.

To see it in action (When I'm online..): http://mystra.homelinux.net/~mishura/amarok/index.php

To download the source code and my modifications, go here: http://mystra.homelinux.net/~mishura/amarok/nowPlayingParse_src.tar.gz

Keep in mind that I'm a complete PHP newb, and I'm only just learning the language. Enjoy!

-- Mishura
Mishura AT Gmail DOT com

Report

14 years ago

Added FTP support
Added KDialog support (Many thanks to Aitor Moreno)

I CHANGED TO GNOME AND QUODLIBET, SO I CAN'T PUBLISH ANY NEW VERSION!

12345678910
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
1.2
updated Jan 11 2006
added May 21 2005
downloads today
0
page views today 2
System Tags addon