AmarokNowPlaying for Facebook

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

2
5.0
Description:

Show on your Facebook profile what you're listening to. You must add the app at http://apps.facebook.com/amaroknowplaying/.
The script and the Facebook app are in English and French.

Home page: http://www.facebook.com/apps/application.php?id=16560894862
To check is webhosting for this app is working: http://www.brandonsgames.com/chris/similitux.elementfx.com/80.gif

For Amarok 2.x, see : http://kde-apps.org/content/show.php/NowPlaying+for+Amarok+2?content=107241

---------

Montrez ce que vous écoutez avec Amarok sur votre votre profil Facebook. Vous devez pour cela ajouter l'application à l'adresse : http://apps.facebook.com/amaroknowplaying/.
Le script et l'app Facebook sont en français et en anglais.

Page principale : http://www.facebook.com/apps/application.php?id=16560894862
Pour vérifier l'état de l'hébergement de l'app : http://www.brandonsgames.com/chris/similitux.elementfx.com/80.gif

For Amarok 2.x, see : http://kde-apps.org/content/show.php/NowPlaying+for+Amarok+2?content=107241
Last changelog:

11 years ago

0.7.1: Changed website address + minor bug fix.

0.7: Added Zenity support (the script can zenity (GNOME) or kdialog (KDE) to display windows) + update notifier

0.6.4: Added Italian translations from Stefano Manno

0.6.3: Added Spanish translations from Ricardo Sanz Ante + Added 'User-agent' field for stats + standard-compliant multipart file sending

0.6.2: added 2 parameters to send: the song's year and its length

0.6.1: a translation corrected + $debug_http show HTTP error codes

0.6: Added Serbian translations from pejakm + cover size and pseudo are auto-filled in config dialogs.

0.5.1: Dependencies errors are correctly displayed.

0.5: Server address change, UPLOADS COVERS!

0.4: Server address change, little improvement in loadConfig() and rescues Timeout::Error due to network

0.3: Proxy support (based on environement variable "http_proxy"), english comments in script and various improvements

0.2: README update

0.1: first release

C

similitux

12 years ago

Hosting works back now! You can use the plugin.

Report

C

similitux

12 years ago

This app is hosted freely on x10hosting.com and file uploads were blocked. I have requested for it, just wait and disable cover upload (to have Amarok Logo instead of white empty space) until it works back. Sorry for false hopes...

Report

C

similitux

12 years ago

You just have to choose "Yes" when the script asks "Do you want this script to send album covers to server? It has a little bandwidth cost." to upload covers.

Report

pejakm

12 years ago

"sendAlbumCover" is set to "true" in $HOME/.kde/share/apps/amarok/scripts-data/fbAmarokNowPlaying.ini, but still nothing.

BTW, here's the translation to Serbian language:

Quote:[Srpski latinica]
AmarokNowPlaying for Facebook: = AmarokNowPlaying za Fejsbuk:
Connection = Povezivanje
Covers = Omoti
Network error = Greška mreže
Server error = Greška servera
Login Error = Greška prijave
Posting Error = Greška slanja
Track informations sent = Informacije poslane
Please enter your pseudo to connect to server: = Molim unesite pseudo za povezivanje sa serverom:
Please enter your password to connect to server: = Molim unesite šifru za povezivanje sa serverom:
In order to use the script, you must sign up there: = Da biste koristili skriptu morate se prijaviti ovde:
Request was wrong, try to update your script. = Zahtev pogrešan, pokušajte nadograditi skriptu.
Something is wrong, but we don\'t know what. Sorry! = Neka nepoznata greška se desila.
Track informations were not sent to server. = Informacije nisu poslane serveru.
Pseudo or password are wrong. You have to configure the script. = Pseudo ili šifra su pogrešni. Morate podesiti skriptu.
Connection failed, so this script will stop. If you want to retry, just restart it. Warning: In order to use the script, you must choose secrets there: http://apps.facebook.com/amaroknowplaying/ = Povezivanje nije uspelo, skripta će se zaustaviti. Ako želite pokušati ponovo, samo je ponovo pokrenite. Pažnja: Da biste koristili ovu skriptu morate podesiti Vaše tajne podatke ovde: http://apps.facebook.com/amaroknowplaying/
Do you want this script to send album covers to server? It has a little bandwidth cost. = Želite li da ova skripta šalje omote albuma serveru? Ovo će malo opteretiti vaš internet protok.
Size in pixels of cover thumbnails that will be shown on Facebook: = Veličina prikaza omota (u pikselima) koji će biti prikazani na Fejsbuku:

[Српски]
AmarokNowPlaying for Facebook: = AmarokNowPlaying за Фејсбук:
Connection = Повезивање
Covers = Омоти
Network error = Грешка мреже
Server error = Грешка сервера
Login Error = Грешка пријаве
Posting Error = Грешка слања
Track informations sent = Информације послане
Please enter your pseudo to connect to server: = Молим унесите псеудо за повезивање са сервером:
Please enter your password to connect to server: = Молим унесите шифру за повезивање са сервером:
In order to use the script, you must sign up there: = Да бисте користили скрипту морате се пријавити овде:
Request was wrong, try to update your script. = Захтев погрешан, покушајте надоградити скрипту.
Something is wrong, but we don\'t know what. Sorry! = Нека непозната грешка се десила.
Track informations were not sent to server. = Информације нису послане серверу.
Pseudo or password are wrong. You have to configure the script. = Псеудо или шифра су погрешни. Морате подесити скрипту.
Connection failed, so this script will stop. If you want to retry, just restart it. Warning: In order to use the script, you must choose secrets there: http://apps.facebook.com/amaroknowplaying/ = Повезивање није успело, скрипта ће се зауставити. Ако желите покушати поново, само је поново покрените. Пажња: Дабисте користили ову скрипту морате подесити Ваше тајне податке овде: http://apps.facebook.com/amaroknowplaying/
Do you want this script to send album covers to server? It has a little bandwidth cost. = Желите ли да ова скрипта шаље омоте албума серверу? Ово ће мало оптеретити ваш интернет проток.
Size in pixels of cover thumbnails that will be shown on Facebook: = Величина приказа омота (у пикселима) који ће бити приказани на Фејсбуку:

Report

C

similitux

12 years ago

Ok, I look to my php scripts. Many thanks for your help and translations!

Report

pejakm

12 years ago

No, thank YOU for this fantastic script! ;)

Report

pejakm

12 years ago

Version 0.5 cannot start. It returns error code 1, no more details.

Report

C

similitux

12 years ago

You must have `convert` (from ImageMagick) and `kdialog` installed to have it working...

I will modify the code that checks for dependencies.

Report

pejakm

12 years ago

I already have latest imagemagick installed...

Report

C

similitux

12 years ago

Try the new one (0.5.1)...

Report

pejakm

12 years ago

OK, this is the error now:

Quote:You must have `convert` (from ImageMagick package) installed to use album covers upload.

When I run "convert" from command line I get this:

Quote:mladen ~ $ convert
Version: ImageMagick 6.4.2 08/12/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC


So You see, I have convert... Maybe the paths are not correct?

Report

C

similitux

12 years ago

Try to re-download the script, I changed the test code from:

Quote:if ! system("convert", "--version")
raise '
You must have `convert` (from ImageMagick package) installed to use album covers upload.
Vous devez installer `convert` (du paquet ImageMagick) pour utiliser l\'envoi des pochettes d\'albums.'
end

to:

Quote:if ! system("convert")
raise '
You must have `convert` (from ImageMagick package) installed to use album covers upload.
Vous devez installer `convert` (du paquet ImageMagick) pour utiliser l\'envoi des pochettes d\'albums.'
end

Report

pejakm

12 years ago

It's OK now, but it doesn't send album cover. Do I need to set something like "%COVER%" in my settings on Facebook?

Report

C

similitux

12 years ago

Try to re-download the script, I changed the test code from:

Quote:if ! system("convert", "--version")
raise '
You must have `convert` (from ImageMagick package) installed to use album covers upload.
Vous devez installer `convert` (du paquet ImageMagick) pour utiliser l\'envoi des pochettes d\'albums.'
end

to:

Quote:if ! system("convert")
raise '
You must have `convert` (from ImageMagick package) installed to use album covers upload.
Vous devez installer `convert` (du paquet ImageMagick) pour utiliser l\'envoi des pochettes d\'albums.'
end

Report

pejakm

12 years ago

It's OK now, but it doesn't send album cover. Do I need to set something like "%COVER%" in my settings on Facebook?

Report

skaar

12 years ago

perhaps there would be some way of making it update on a regular basis, i have to load the facebook page to make it update, i don't want people thinking i've been listening to debbie gibson for 14 hours when i've been asleep, or listening to cradle of filth or weird al, it's just not proper.

Report

C

similitux

12 years ago

The profile box is realy updated on each track change, but if you want to see it has been updated, you have to re-load the page, to see the new content in your browser.

I will try to had something in javascript that updates the box in the browser, without reloading the page...

Thanks for comment !

Report

gfdsa

12 years ago

The page you requested was not found.

You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.

Report

C

similitux

12 years ago

Thanks, I changed the address.

Please don't hesitate to post comments if you are unsatisfied or if you encounter strange behaviors ! The script is fresh, so it can be bugged...

Report

11 years ago

0.7.1: Changed website address + minor bug fix.

0.7: Added Zenity support (the script can zenity (GNOME) or kdialog (KDE) to display windows) + update notifier

0.6.4: Added Italian translations from Stefano Manno

0.6.3: Added Spanish translations from Ricardo Sanz Ante + Added 'User-agent' field for stats + standard-compliant multipart file sending

0.6.2: added 2 parameters to send: the song's year and its length

0.6.1: a translation corrected + $debug_http show HTTP error codes

0.6: Added Serbian translations from pejakm + cover size and pseudo are auto-filled in config dialogs.

0.5.1: Dependencies errors are correctly displayed.

0.5: Server address change, UPLOADS COVERS!

0.4: Server address change, little improvement in loadConfig() and rescues Timeout::Error due to network

0.3: Proxy support (based on environement variable "http_proxy"), english comments in script and various improvements

0.2: README update

0.1: first release

12345678910
Be the first to comment
devian
Jan 25 2010
z-vet
Mar 31 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.7.1
updated Jul 04 2009
added Jul 14 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags addon