And will there be a non-tricky solution for last.fm, too?
Isnt that tricky…
– the script above
– one cron job
It works like:
1. The script creates a logfile that rockscrobbler needs
2. Rockscrobbler posts the info to last.fm
3. The script runs every XX minutes (I run it every 20 minutes) with the cron-job.
Rockscrobbler can be found at http://www.misticriver.net/photos/displayimage.php?album=lastup&cat=22288&pos=0
btw, the 2 lines in the script that starts with “$SQLITE $DAT”… and that ends with “…>> $OUTLOG” should be on the same line.