Questions about the scripts

  • warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql5-39' (1) in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 92.
  • user notice: Database not connected in /home/igrenier/www/firestats/php/db-common.php on line 246.
  • warning: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 212.
  • warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'mysql5-39' (1) in /home/igrenier/www/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 92.

Mac version?

May 3, 2009 - 17:00 — Anonymous

Do you know of a mac version for the same script?



I can't get the script to work

April 12, 2009 - 12:28 — Anonymous

C:\>perl lastFM2Itunes.pl Toommmm -v

lastFM to iTunes track updater [v0.6 (FEB-2009)]
Copyright (c) 2008 Lionel Grenier (lastfm2itunes@gmail.com - lastfm.igrenier.com
)
(if you have any question or problem do not hesitate to contact the author)

Connection established to iTunes: 8.1.0.52

URL: http://ws.audioscrobbler.com/2.0/user/Toommmm/weeklychartlist.xml
Couldn't parsefile [http://ws.audioscrobbler.com/2.0/user/Toommmm/weeklychartlis
t.xml] with LWP:
syntax error at line 1, column 0, byte 0 at C:/Perl/lib/XML/Parser.pm line 187



I can't get the script to work

April 12, 2009 - 11:50 — Anonymous

C:\>perl lastFM2Itunes.pl Toommmm -v

lastFM to iTunes track updater [v0.6 (FEB-2009)]
Copyright (c) 2008 Lionel Grenier (lastfm2itunes@gmail.com - lastfm.igrenier.com
)
(if you have any question or problem do not hesitate to contact the author)

Connection established to iTunes: 8.1.0.52

URL: http://ws.audioscrobbler.com/2.0/user/Toommmm/weeklychartlist.xml
Couldn't parsefile [http://ws.audioscrobbler.com/2.0/user/Toommmm/weeklychartlis
t.xml] with LWP:
syntax error at line 1, column 0, byte 0 at C:/Perl/lib/XML/Parser.pm line 187

Thanks, Tom



Why not save the already downloaded xml-files?

April 8, 2009 - 12:18 — Anonymous

Would be nice, if the already downloaded files are saved for further use. At the moment your script tries to download the files everytime it is started.
Perhaps take a look at http://www.kde-apps.org/content/show.php?content=65784. This one's for Linux/Amarok, saving the older xml files locally and also has a function to replace certain tags on the fly.



Support for UTF-8?

March 23, 2009 - 18:06 — Anonymous

I seem to be getting errors for artist and/or tracknames that contain UTF-8 encoded characters, causing them not to be found in iTunes. Am I missing something obvious?



I can't download the zip file?

February 20, 2009 - 19:14 — Anonymous

uhhh, help?



Creating a CSV file

February 8, 2009 - 18:52 — Anonymous

Hi Lionel

I'm having trouble getting the CSV import to work well - the script has gone straight to itunes 3 times so far.

I've tried:

perl lastFM2Itunes.pl [username] -v -csv playcount1.csv
perl lastFM2Itunes.pl [username] v csv playcount1.csv
perl lastFM2Itunes.pl [username] -v -csv C:\playcount1.csv

and none of them worked. What is the correct usage?

Thanks!



Could not get text from <playcount> tag

February 3, 2009 - 00:36 — Anonymous

Hi, just tried your script. Did not come back with data 'cause "Could not get text from tag". Why is that?

see below

Thanks!
Richard

lastFM to iTunes track updater [v0.5 (MAR-2008)]
Copyright (c) 2008 Lionel Grenier (lastfm2itunes@gmail.com - lastfm.igrenier.com
)
(if you have any question or problem do not hesitate to contact the author)

Connection established to iTunes: 8.0.2.20

URL: http://ws.audioscrobbler.com/1.0/user/germanseneca/weeklychartlist.xml

=============================
Parsing lastFM data



Unrecognized character \x03 in column 3 at LastFM2Itunes.pl line 1.

December 4, 2008 - 12:18 — Anonymous

I keep getting this error every time I try running the script, any idea what the problem is? Thank you in advance.



Un problème au niveau de la recherche de la piste dans iTunes

October 13, 2008 - 21:34 — Anonymous

Bonjour,

J'utilise ce script depuis plusieurs mois et je le trouve absolument génial étant donné que ma bibliothèque iTunes s'agrandit tous les jours, et assez souvent avec de la musique que j'ai déjà écoutée via Last.fm auparavant.

Malheureusement, cela fait aussi plusieurs mois que je m'arrache les cheveux sur un problème que je ne parviens pas à résoudre: quelques unes de mes pistes ne bénéficient pas de la mise à jour du nombre de lectures, ou même le nombre n'avait aucune commune mesure avec le nombre fourni par Last.fm.


Syndicate content

About the Author

Donate

If you've liked this free application, you can donate via Paypal, or you can get me (lebios) a Last.fm subscription.









Counter

  • Site Counter: 23777
  • Unique Visitor: 8484
  • Published Nodes: 53
  • Since: 2008-10-01

Countries

free counters

User login

FireStats error : Error connecting to database