After upgrading Python 2.3 to 2.5.2 on my Linkstation, I’m also able to use lastfmsubmitd with FrankZabbath’s script.
If anyone else has problems with 0 byte files in the spool directory, this might be caused by the following line:
Well, in my case it’s sqlite3, but that’s not the point. The cause was, that sqlite(3) is not given in an absolute path here, so there is no output on STDOUT later in the script when sqlite(3) is being called. To fix the problem, just give the full sqlite(3) path:
You won’t have the problem when $PATH is defined correctly during creation of the bash process, but that’s not the case on my Linkstation.