Reply To: Inteligent playlists

#7577
riro
Participant

@fizze wrote:

if a song is NOT played since the last update, it is inserted into the log-db with the same time. This wont give an error since the song ID isnt a primary key. (ouch).

Since the unix timestamp is created every time the script runs “echo LASTRUN…” I dont see how this could happen.

I run the insert-script once every 12 minutes… I use it to audio-scrobble. And I haven’t seen any problems yet.