This script updates the 'playcount' field associated with a song track contained in iTunes. The script is meant to be used in conjunction with lastfm_gettracks. The output of the latter script can be fed in this one. The format of input data input is as follows: $artist $track_name $playcount where 2 white-spaces are required between each field. A line beginning with the character # is interpreted as a comment. The option switch '-e' is required to effect changes to the iTunes database: without this option, the script performs a "simulation" of which database entries would be modified. |
Docs > OpenSource >