plex-lastfm-scrobble - Scrobble Plex audio tracks to Last.fm

config looks good. I have posted an updated version that captures some unicode issues as well as enables additional logging data.

Hey,

ok, I installed the new version and gave it a try.

But the log looks pretty identical to the previous one. And the scrobbling didn't seem to work either :-/

Should it also write all scrobbled songs in the log? I mean if it would be working here.

2014-10-17 00:09:51,942 [23115] [main ] [DEBUG] config : mediaserver_log_location -> /volume1/Plex/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log
2014-10-17 00:09:51,943 [23115] [main ] [DEBUG] config : session -> /root/.config/plex-lastfm-scrobbler/session_key
2014-10-17 00:09:51,943 [23115] [main ] [DEBUG] config : mediaserver_url -> http://localhost:32400
2014-10-17 00:09:51,943 [23115] [main ] [DEBUG] config : config file location -> /root/.config/plex-lastfm-scrobbler/plex_scrobble.conf
2014-10-17 00:09:51,943 [23115] [main ] [DEBUG] config : log_file -> /tmp/plex_scrobble.log
2014-10-17 00:09:51,944 [23115] [main ] [DEBUG] config : cache_location -> /tmp/plex_scrobble.cache
2014-10-17 00:09:51,944 [23115] [main ] [DEBUG] using last.fm session key=/root/.config/plex-lastfm-scrobbler/session_key , st_mtime=Fri Oct 17 00:09:48 2014
2014-10-17 00:09:51,944 [23115] [main main] [INFO] starting log monitor thread.
2014-10-17 00:09:51,977 [23115] [plex_scrobble.plex_monitor monitor_log] [DEBUG] Possible log file rotation, resetting file handle (st_mtime=Thu Oct 16 21:51:55 2014)
2014-10-17 00:23:03,817 [26720] [main ] [DEBUG] config : mediaserver_log_location -> /volume1/Plex/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log
2014-10-17 00:23:03,818 [26720] [main ] [DEBUG] config : session -> /root/.config/plex-lastfm-scrobbler/session_key
2014-10-17 00:23:03,818 [26720] [main ] [DEBUG] config : mediaserver_url -> http://localhost:32400
2014-10-17 00:23:03,818 [26720] [main ] [DEBUG] config : config file location -> /root/.config/plex-lastfm-scrobbler/plex_scrobble.conf
2014-10-17 00:23:03,819 [26720] [main ] [DEBUG] config : log_file -> /tmp/plex_scrobble.log
2014-10-17 00:23:03,819 [26720] [main ] [DEBUG] config : cache_location -> /tmp/plex_scrobble.cache
2014-10-17 00:23:03,819 [26720] [main ] [DEBUG] using last.fm session key=/root/.config/plex-lastfm-scrobbler/session_key , st_mtime=Fri Oct 17 00:09:48 2014
2014-10-17 00:23:03,820 [26720] [main main] [INFO] starting log monitor thread.
2014-10-17 00:23:03,852 [26720] [plex_scrobble.plex_monitor monitor_log] [DEBUG] Possible log file rotation, resetting file handle (st_mtime=Thu Oct 16 21:51:55 2014)

I just checked some other things, that I could think of.

  • process running:
26720 root     21164 S    /usr/bin/python /usr/local/bin/plex-scrobble.py
  • everyone has read access to the PMS log:
-rw-r--r--    1 plex     users          110 Oct 16 21:51 Plex Media Server.log
  • deleted the session_key and let it create another one

Sorry, that it didn't bring up anything new :mellow: