Live TV keeps scrobbling when switching to Recorded TV (1 Viewer)

pauls67

Portal Member
March 13, 2015
23
2
Home Country
United Kingdom United Kingdom
Hi,
Not sure if I am doing something wrong but I have problems with scrobbling after watching live tv/using the epg, have tried default and titan skin and get the same problem

I watched an episode of The Big Bang theory S4E21 via live TV (12:00 to 12:30), this has scrobbled perfectly

After this I went to watch a recording of NCIS
MediaPortal log shows that I started watching this (series/episode info is correct for this recorded file)

[2015-03-14 12:25:21,187] [Log ] [MPMain ] [INFO ] - PlayRecording:E:\TV Recorded\Channel 5\Ncis\Ncis - 2015-03-13 - S11 - E4.ts - using rtsp mode:False
[2015-03-14 12:25:21,494] [Log ] [MPMain ] [INFO ] - MediaInfoWrapper.MediaInfoWrapper: Inspecting media : E:\TV Recorded\Channel 5\Ncis\Ncis - 2015-03-13 - S11 - E4.ts

Instead of scrobbling the details of the recording I am watching, it is scrobbling data from live tv, which is another episode of Big Bang Theory which is on 12:30 to 13:00
I have noticed this happen before, when watching a recording after viewing live tv, it scrobbles whatever is currently airing on the channel last tuned to instead of the recording being played, I didn't watch any of the S4E22, this just happened to be on while I was watching the recording

Any thoughts on this, not sure what files you need but below is the end of the trakt log file, need any more logs please let me know

Thanks
2015-03-14 12:25:22.850 [INFO] [Scrobble][63]: Current program details. Title='The Big Bang Theory', Year='<empty>', Season='4', Episode='21', StartTime='14/03/2015 12:00:00', Runtime='30'
2015-03-14 12:25:23.027 [INFO] [Scrobble][63]: Detected tv show playing on Live TV. Title = 'The Big Bang Theory - 4x21'
2015-03-14 12:25:24.032 [INFO] [Scrobble][60]: Current program details. Title='The Big Bang Theory', Year='<empty>', Season='4', Episode='21', StartTime='14/03/2015 12:00:00', Runtime='30'
2015-03-14 12:25:32.261 [INFO] [Scrobble][62]: Scrobble Response: {"action":"scrobble","episode":{"ids":{"slug":null,"trakt":75452,"imdb":"tt1632237","tmdb":64715,"tvdb":4062871,"tvrage":1065029837},"number":21,"season":4,"title":"The Agreement Dissection"},"movie":null,"progress":100,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:25:33.327 [INFO] [Scrobble][60]: Scrobble Response: {"action":"start","episode":{"ids":{"slug":null,"trakt":75452,"imdb":"tt1632237","tmdb":64715,"tvdb":4062871,"tvrage":1065029837},"number":21,"season":4,"title":"The Agreement Dissection"},"movie":null,"progress":8.03,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:25:51.311 [INFO] [Scrobble][64]: Scrobble Response: {"action":"scrobble","episode":{"ids":{"slug":null,"trakt":75452,"imdb":"tt1632237","tmdb":64715,"tvdb":4062871,"tvrage":1065029837},"number":21,"season":4,"title":"The Agreement Dissection"},"movie":null,"progress":100,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:30:24.034 [INFO] [Scrobble][54]: Current program details. Title='The Big Bang Theory', Year='<empty>', Season='4', Episode='22', StartTime='14/03/2015 12:30:00', Runtime='30'
2015-03-14 12:30:24.039 [INFO] [Scrobble][54]: Detected new tv program has started. Previous Program = 'The Big Bang Theory - 4x21', New Program = 'The Big Bang Theory - 4x22'
2015-03-14 12:30:24.043 [INFO] [Scrobble][54]: Playback of program on Live TV is considered watched. Title = 'The Big Bang Theory - 4x21'
2015-03-14 12:30:25.284 [INFO] [Scrobble][09]: Scrobble Response: {"action":"scrobble","episode":{"ids":{"slug":null,"trakt":75452,"imdb":"tt1632237","tmdb":64715,"tvdb":4062871,"tvrage":1065029837},"number":21,"season":4,"title":"The Agreement Dissection"},"movie":null,"progress":100,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:30:31.504 [INFO] [Scrobble][54]: Scrobble Response: {"action":"start","episode":{"ids":{"slug":null,"trakt":75453,"imdb":"tt1632238","tmdb":64643,"tvdb":4066721,"tvrage":null},"number":22,"season":4,"title":"The Wildebeest Implementation"},"movie":null,"progress":24.69,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:35:24.040 [INFO] [Scrobble][27]: Current program details. Title='The Big Bang Theory', Year='<empty>', Season='4', Episode='22', StartTime='14/03/2015 12:30:00', Runtime='30'
2015-03-14 12:35:24.825 [INFO] [Scrobble][27]: Scrobble Response: {"action":"start","episode":{"ids":{"slug":null,"trakt":75453,"imdb":"tt1632238","tmdb":64643,"tvdb":4066721,"tvrage":null},"number":22,"season":4,"title":"The Wildebeest Implementation"},"movie":null,"progress":41.35,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 12:40:24.041 [INFO] [Scrobble][48]: Current program details. Title='The Big Bang Theory', Year='<empty>', Season='4', Episode='22', StartTime='14/03/2015 12:30:00', Runtime='30'
2015-03-14 12:40:31.773 [INFO] [Scrobble][48]: Scrobble Response: {"action":"start","episode":{"ids":{"slug":null,"trakt":75453,"imdb":"tt1632238","tmdb":64643,"tvdb":4066721,"tvrage":null},"number":22,"season":4,"title":"The Wildebeest Implementation"},"movie":null,"progress":58.02,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}

[DOUBLEPOST=1426338602][/DOUBLEPOST]While still watching the recording of NCIS, a new program has started at 13:00 on the tv channel last viewed, it is now trying to scrobble that am watching it (incomplete details so it is failing), I did not view this program, I have been watching the recording of NCIS since 12:30
2015-03-14 13:00:24.075 [INFO] [Scrobble][40]: Detected new tv program has started. Previous Program = 'The Big Bang Theory - 4x22', New Program = 'Rude - 2x'
2015-03-14 13:00:24.084 [INFO] [Scrobble][40]: Playback of program on Live TV is considered watched. Title = 'The Big Bang Theory - 4x22'
2015-03-14 13:00:27.148 [ERR ] [Scrobble][40]: Request failed, Code = '404', Description = 'Not Found', Url = 'http://api-v2launch.trakt.tv/scrobble/start', Headers = 'Transfer-Encoding: chunked, Connection: keep-alive, Cache-Control: max-age=0, private, no-cache, no-store, must-revalidate, Content-Type: text/html, Date: Sat, 14 Mar 2015 13:00:30 GMT, Set-Cookie: __cfduid=d9a68ac7dd6259d12b627bec7a7dbc0d21426338028; expires=Sun, 13-Mar-16 13:00:28 GMT; path=/; domain=.trakt.tv; HttpOnly,request_method=POST; path=/,trakt_username=pauls67; path=/, Vary: Accept-Encoding, X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, X-Request-Id: 54def90d-e162-43a0-a492-c5629ad6c977, X-Runtime: 0.266416, X-XSS-Protection: 1; mode=block, Server: cloudflare-nginx, CF-RAY: 1c7029631a8e13a1-LHR'
2015-03-14 13:00:27.163 [INFO] [Scrobble][40]: Scrobble Response: {"action":null,"episode":null,"movie":null,"progress":0,"sharing":null,"show":null}
2015-03-14 13:00:27.836 [INFO] [Scrobble][26]: Scrobble Response: {"action":"scrobble","episode":{"ids":{"slug":null,"trakt":75453,"imdb":"tt1632238","tmdb":64643,"tvdb":4066721,"tvrage":null},"number":22,"season":4,"title":"The Wildebeest Implementation"},"movie":null,"progress":100,"sharing":{"facebook":false,"tumblr":false,"twitter":false},"show":{"ids":{"slug":"the-big-bang-theory","trakt":1409,"imdb":"tt0898266","tmdb":1418,"tvdb":80379,"tvrage":8511},"title":"The Big Bang Theory","year":2007}}
2015-03-14 13:05:24.059 [INFO] [Scrobble][52]: Current program details. Title='Rude', Year='<empty>', Season='2', Episode='', StartTime='14/03/2015 13:00:00', Runtime='30'
2015-03-14 13:05:24.545 [ERR ] [Scrobble][52]: Request failed, Code = '404', Description = 'Not Found', Url = 'http://api-v2launch.trakt.tv/scrobble/start', Headers = 'Transfer-Encoding: chunked, Connection: keep-alive, Cache-Control: max-age=0, private, no-cache, no-store, must-revalidate, Content-Type: text/html, Date: Sat, 14 Mar 2015 13:05:28 GMT, Set-Cookie: __cfduid=d2f70709345f3656b8d1d240531ae66ad1426338328; expires=Sun, 13-Mar-16 13:05:28 GMT; path=/; domain=.trakt.tv; HttpOnly,request_method=POST; path=/,trakt_username=pauls67; path=/, Vary: Accept-Encoding, X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, X-Request-Id: 574a8128-1889-423c-a491-c9869386e1b3, X-Runtime: 0.043340, X-XSS-Protection: 1; mode=block, Server: cloudflare-nginx, CF-RAY: 1c7030b60ecc02fd-LHR'
2015-03-14 13:05:24.553 [INFO] [Scrobble][52]: Scrobble Response: {"action":null,"episode":null,"movie":null,"progress":0,"sharing":null,"show":null}
2015-03-14 13:05:34.479 [ERR ] [Scrobble][63]: Request failed, Code = '404', Description = 'Not Found', Url = 'http://api-v2launch.trakt.tv/scrobble/stop', Headers = 'Transfer-Encoding: chunked, Connection: keep-alive, Cache-Control: max-age=0, private, no-cache, no-store, must-revalidate, Content-Type: text/html, Date: Sat, 14 Mar 2015 13:05:38 GMT, Set-Cookie: __cfduid=d678bf6c6252c1d92a7ddafffade71d741426338338; expires=Sun, 13-Mar-16 13:05:38 GMT; path=/; domain=.trakt.tv; HttpOnly,request_method=POST; path=/,trakt_username=pauls67; path=/, Vary: Accept-Encoding, X-Content-Type-Options: nosniff, X-Frame-Options: SAMEORIGIN, X-Request-Id: c85a2bab-4cf8-4286-ac91-ab19a573d0ea, X-Runtime: 0.021616, X-XSS-Protection: 1; mode=block, Server: cloudflare-nginx, CF-RAY: 1c7030f4977d02fd-LHR'
2015-03-14 13:05:34.486 [INFO] [Scrobble][63]: Scrobble Response: {"action":null,"episode":null,"movie":null,"progress":0,"sharing":null,"show":null}
 
Last edited by a moderator:

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Hi @pauls67,

    Can you attach the full traktplugin.log and mediaportal.log file?

    I dont have a tuner card currently so have not been able to test LiveTV/Recordings for a while.

    Cheers,
    Damien
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Looks like you gave me the wrong log files, I need the ones that you used in your first post. Check the timestamp.

    Probably easier for you just reproduce again and then post the log files after that (might as well switch to debug logging in that case), whatever is easier. I will see if I can figure out whats happening from the log snipet you posted.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I tried to work out what was happening from the the log snipet you provided in the first post but it looks like I would need debug log severity set to see what's going on. You can change to Debug logging in MediaPortal Configuration -> General -> Log Verbosity.

    Even better, you can start MediaPortal in debug mode using the shortcut 'MediaPortal Watchdog' and selecting the second option. This is the best way to report issues or get help as it gives the developer everything, all you need to do is reproduce your issue and then close MediaPortal and upload the zip file generated to your forum post.
     

    pauls67

    Portal Member
    March 13, 2015
    23
    2
    Home Country
    United Kingdom United Kingdom
    Hi,
    Sorry for giving the wrong files, thanks for trying with what I gave

    hopefully these will give more information, I used the MediaPortal Watchdog program

    About 9:14 I looked at the last channel I had on (episode of Special Unit 2 airing, S1 E05), this started to scrobble to Trakt
    After about 5 mins I put a recording on (NCIS S11 E04)
    I monitored Trakt for around 5 mins and it still logged that I was watching Special Unit 2
    Thanks
    Paul
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Hey @pauls67,

    I think I know what the problem is and will work on a fix, I might need to wait until I get a Tuner card though before I attempt it so I can properly test it, if not I will give you a test build.

    To work around the issue now I think you can change the order of which the plugin checks where something is scrobbled from...Can you enter the trakt configuration and move My TV Recordings higher up than My TV Live. I think that might workaround your issue for now, so give it a try until I fix the root cause.
     

    pauls67

    Portal Member
    March 13, 2015
    23
    2
    Home Country
    United Kingdom United Kingdom
    Thanks,
    I went into the configuration and move the My Recordings higher up than My Live TV, as far as I can see this has resolved the issue, looked at a bit of live tv and then watched a few recordings, everything is working as expected now

    If you do create a test build with a fix for this (I am happy with making recordings a higher priority than live tv as now), then I will gladly test it out for you

    Cheers for your help
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Thanks for reporting, I will lower the priority for now in getting a fix since there is an acceptable work around for now.

    When I do make a fix I will post a test build so you can check ;)

    Cheers,
    Damien
     

    Users who are viewing this thread

    Top Bottom