jesseward / plex-lastfm-scrobbler

Scrobble played audio items Last.FM from the Plex Media Server application.
MIT License
92 stars 13 forks source link

threading.Timer calling function recursively #33

Closed jesseward closed 9 years ago

jesseward commented 9 years ago

We're bound to eventually hit a recursion limit at the following code (https://github.com/jesseward/plex-lastfm-scrobbler/blob/master/scripts/plex-scrobble.py#L47-L48)

# retry cache every hour.
 threading.Timer(3600, cache_retry, args=(config,)).start()
jesseward commented 9 years ago

Addressed with https://github.com/jesseward/plex-lastfm-scrobbler/commit/e5ea109e435470a39d578759c5bf698627d1025c

Bumped to version 1.3.2