Closed Kiplol closed 8 years ago
Also possibly worth mentioning: After waiting some time, the Plex user on http://trakt-for-plex.github.io/configuration/#/configuration/accounts?id=1 changes from my Plex username (ekipper) to Administrator.
In the FAQ, it says I should look in the log for something like this:
2016-01-23 15:38:16,649 - DEBUG - Filters.is_valid_client({'platform': 'Konvergo', 'product': 'Plex Media Player', 'key': '...', 'title': '...'})
2016-01-23 15:38:16,650 - DEBUG - [scrobble_clients] no preference found
2016-01-23 15:38:16,650 - DEBUG - [filter_networks] IPv4Address(u'...') - wildcard
2016-01-23 15:38:16,665 - DEBUG - Activity matched against rule: None
2016-01-23 15:38:16,708 - DEBUG - [scrobble_names] validate - value: 'fuzeman', allow: ['fuzeman'], deny: []
2016-01-23 15:38:16,709 - DEBUG - Activity matched against rule: <UserRule priority: 1, account: 1, name: u'fuzeman'>
But I can't seem to find anything in mine resembling that (not even the word "Scrobble," outside of the name of the plugin).
2016-03-01 14:31:01,606 - plex_activity.sources.s_logging.parsers.base (10921c000) : DEBUG (plex_activity.sources.s_logging.parsers.base:59) - break on "Mar 01, 2016 14:31:00 [0x10a9a8000] DEBUG - It took 0.0 sec to serialize a list with 0 elements."
2016-03-01 14:31:01,640 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.parsers.now_playing.NowPlayingParser]:emit(event: 'logging.playing', args: ({'user_id': None, 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': None, 'time': '0', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': None, 'port': '57824'},), kwargs: {})
2016-03-01 14:31:01,641 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': None, 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': None, 'time': '0', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': None, 'port': '57824'},), kwargs: {})
2016-03-01 14:31:01,642 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': None, 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': None, 'time': '0', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': None, 'port': '57824'},), kwargs: {})
2016-03-01 14:31:10,818 - plex_activity.sources.s_logging.parsers.base (10921c000) : DEBUG (plex_activity.sources.s_logging.parsers.base:59) - break on "Mar 01, 2016 14:31:10 [0x109181000] DEBUG - Completed: [192.168.1.158:57835] GET /:/timeline?ratingKey=10348&key=%2Flibrary%2Fmetadata%2F10348&state=playing&playQueueItemID=642&time=9916&duration=6708960 (9 live) TLS GZIP 6ms 231 bytes 200"
2016-03-01 14:31:10,819 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.parsers.now_playing.NowPlayingParser]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '9916', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57835'},), kwargs: {})
2016-03-01 14:31:10,820 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '9916', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57835'},), kwargs: {})
2016-03-01 14:31:10,820 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '9916', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57835'},), kwargs: {})
2016-03-01 14:31:21,392 - plex_activity.sources.s_logging.parsers.base (10921c000) : DEBUG (plex_activity.sources.s_logging.parsers.base:59) - break on "Mar 01, 2016 14:31:20 [0x109204000] DEBUG - Completed: [192.168.1.158:57836] GET /:/timeline?ratingKey=10348&key=%2Flibrary%2Fmetadata%2F10348&state=playing&playQueueItemID=642&time=19675&duration=6708960 (9 live) TLS GZIP 4ms 231 bytes 200"
2016-03-01 14:31:21,392 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.parsers.now_playing.NowPlayingParser]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '19675', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57836'},), kwargs: {})
2016-03-01 14:31:21,393 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '19675', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57836'},), kwargs: {})
2016-03-01 14:31:21,393 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '19675', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57836'},), kwargs: {})
2016-03-01 14:31:31,379 - plex_activity.sources.s_logging.parsers.base (10921c000) : DEBUG (plex_activity.sources.s_logging.parsers.base:59) - break on "Mar 01, 2016 14:31:30 [0x109204000] DEBUG - Completed: [192.168.1.158:57838] GET /:/timeline?ratingKey=10348&key=%2Flibrary%2Fmetadata%2F10348&state=playing&playQueueItemID=642&time=29936&duration=6708960 (9 live) TLS GZIP 4ms 231 bytes 200"
2016-03-01 14:31:31,380 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.parsers.now_playing.NowPlayingParser]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '29936', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57838'},), kwargs: {})
2016-03-01 14:31:31,381 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '29936', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57838'},), kwargs: {})
2016-03-01 14:31:31,381 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '29936', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57838'},), kwargs: {})
2016-03-01 14:31:40,946 - plex_activity.sources.s_logging.parsers.base (10921c000) : DEBUG (plex_activity.sources.s_logging.parsers.base:59) - break on "Mar 01, 2016 14:31:40 [0x109204000] DEBUG - Completed: [192.168.1.158:57840] GET /:/timeline?ratingKey=10348&key=%2Flibrary%2Fmetadata%2F10348&state=playing&playQueueItemID=642&time=39919&duration=6708960 (9 live) TLS GZIP 4ms 231 bytes 200"
2016-03-01 14:31:40,956 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.parsers.now_playing.NowPlayingParser]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '39919', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57840'},), kwargs: {})
2016-03-01 14:31:40,957 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '39919', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57840'},), kwargs: {})
2016-03-01 14:31:40,957 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '39919', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57840'},), kwargs: {})
ntifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57845'},), kwargs: {})
2016-03-01 14:32:32,221 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.sources.s_logging.main.Logging]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '90679', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57845'},), kwargs: {})
2016-03-01 14:32:32,221 - pyemitter (10921c000) : DEBUG (pyemitter:46) - [plex_activity.activity.Activity ]:emit(event: 'logging.playing', args: ({'user_id': '1', 'address': '192.168.1.158', 'ratingKey': '10348', 'state': 'playing', 'client': 'Plex Web (Chrome)', 'time': '90679', 'duration': '6708960', 'machineIdentifier': '279614d5-a4ab-482c-8fc3-f412c025ba34', 'user_name': 'ekipper', 'port': '57845'},), kwargs: {})
I'm wondering if there is an error happening on startup which is causing the scrobbler to ignore all your watching activity.
Could you do the following:
Thanks for the response! I will do this tonight when I get home.
Got it. I restarted PMS twice because who knows.
2016-03-03 18:32:41,112 : DEBUG - Method 'websocket' has been disabled
Have you changed the "Activity mode" option to "Logging" for legacy client support (Plex Media Center)? if not, changing this option back to "Automatic" would be a good idea.
I'm guessing there must be a bug with the "Logging" activity method, will need to do some testing to work out why it isn't working..
Ah, you are certainly right. I had tried fiddling with options and forgot to switch that back. Sorry about that. Here's a new log with activity mode set to automatic.
Could you test the changes in this version of the plugin: https://github.com/fuzeman/Plex-Trakt-Scrobbler/archive/issue/284.zip
Post another log file if the scrobbler still isn't working.
Sorry to say it still wasn't scrobbling :(
Edit: Wait, I spoke too soon! I let it run for another minute and the scrobbling began! Thank you so much for your help!
Great :smile:, will include this fix in the next release.
I'm able to manually sync, and able to see my newly watched movies reflected on the Trakt dashboard. I'm not able to scrobble, however. I've gone through the scrobbling FAQ, and I believe I've set things up correctly (The scrobbling checkbox is enabled).
This is my log file, beginning immediately before I begin watching a movie.
Here's another log. It should be of me opening the channel's settings, closing them, then playing a movie.