Add scrobble support for Live TV / Recorded TV (2 Viewers)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    I got a forum reminder that there were replies in this thread. I apalogize for not sending the XML as I promised, I totally forgot! Look forward to testing though, curious to see what happens since my EPG does not have episode numbers.

    That's alright, nothing will happen if your EPG does not have season/episode numbers. It will assume its a movie and just fail.
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    603
    182
    Turin
    Home Country
    Italy Italy
    Hi All,
    i want to share my experience with the tv live and recorded .

    seems it send shows to trakt even if i watched 1 sec, not as i read in this thread after 80% of complete viewing.

    very very often it send wrong show to trakt and very often when it send the right show to trakt it have wrong episode or serie number

    How can i help to narrow this issues and send you useful info to fix it ? ( i can't find nothing special in logs :( )

    there is a way to make the epg parsing customizable ?


    seems also the option to leave clean colelction in trakt is not working...it always send shows to online collection.

    thank you for you plugin and i hope i can help to make it perfect.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    HI mrmojo666, its sends watching state immediately, but it will send watched only after it thinks its either greater than 80% or equal to 0%. The check for 0% was put in as sometimes the player state in mediaportal is not accurate but typically this is never zero under normal circumstances...maybe after 1sec of viewing I could be wrong due to rounding.

    The only way to help you is to enable debug logging and let us know what you think the correct season/episode number should be so we can compare with what is in the log. Maybe your EPG is reporting incorrect data, but I dont know this unless I see the log.

    The EPG parsing is not customizable, we get the episode/season info directly from the API. The only parsing we do is for movie titles to extract the year info.

    seems also the option to leave clean colelction in trakt is not working...it always send shows to online collection.
    If you have a problem with this I will be happy to discuss in a seperate thread with logs and debug logging enabled.
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    603
    182
    Turin
    Home Country
    Italy Italy
    thank you for the prompt answer, i'll send you logs soon.

    just a thought about epg , epg is always correct also episode and series number in description, are you parsing the description? or you are using special fields in epg ?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    thank you for the prompt answer, i'll send you logs soon.

    just a thought about epg , epg is always correct even episode and series number in description are you parsing the desciption? or you are using special fields in epg ?
    We are using the special fields in the EPG. No parsing of this data, is this not something your EPG provider is capable of?
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    603
    182
    Turin
    Home Country
    Italy Italy
    thank you for the support.

    i' ve found the problem it is in myxmltv epg grabber that is using base 1 for the ep and ser numbering, but MP needs base 0 numbering. correct that in my grabber configuration file now it is working ok.
     

    IchBinsShort

    Portal Pro
    January 3, 2008
    683
    54
    Home Country
    Germany Germany
    Re: AW: Add scrobble support for Live TV / Recorded TV



    Yes, when LiveTV is implemented we will only scrobble after you have watched 80-90% of the program.

    So it will probably work like this. You will turn on tv or switch channel, we will wait a small period of time and confirm you are still watching that channel and then send the watching state...then after a period of time (depending on progress/duration) we will either send a cancelwatching or scrobble (watched) state.

    I noticed the same. I have zapped only for 5 - 10 minutes to a channel. On this channel the Series "New girl" was showing and it was scrobbling after this time to trakt.tv. This Series will takes 30 minutes, so I haven't watch the Series for 80 %.
     

    mrmojo666

    MP Donator
  • Premium Supporter
  • January 24, 2006
    603
    182
    Turin
    Home Country
    Italy Italy
    I noticed the same. I have zapped only for 5 - 10 minutes to a channel. On this channel the Series "New girl" was showing and it was scrobbling after this time to trakt.tv. This Series will takes 30 minutes, so I haven't watch the Series for 80 %.


    same here

    Code:
    22/02/2012 22:46:10[Scrobble][27][Info] Detected new tv program has started 'Glee - 1^TV - 3x14' -> 'New Girl - 1^TV - 1x6'
    22/02/2012 22:46:10[Scrobble][27][Debug] Post: {"duration":"30","episode":"6","imdb_id":null,"media_center":"Mediaportal","media_center_date":"","media_center_version":"1.2.2.0","password":"F1796F6CA5552DE5268A64E43CCACDEEF228CF26","plugin_version":"1.5.0.0","progress":"100","season":"1","title":"New Girl - 1^TV","tvdb_id":null,"username":"mrmojo666","year":""} Address: http://api.trakt.tv/show/watching/0edee4275d03fe72117e3f69a28815939b082548
    22/02/2012 22:46:11[Scrobble][27][Debug] WebException: The remote server returned an error: (404) Not Found.
    22/02/2012 22:46:11[Scrobble][27][Error] show not found
    22/02/2012 22:51:10[Scrobble][9][Info] Detected new tv program has started 'New Girl - 1^TV - 1x6' -> 'Medici - Padrini del Rinascimento - 1^TV'
    22/02/2012 22:51:10[Scrobble][9][Debug] Post: {"duration":"63","imdb_id":null,"media_center":"Mediaportal","media_center_date":"","media_center_version":"1.2.2.0","password":"F1796F6CA5552DE5268A64E43CCACDEEF228CF26","plugin_version":"1.5.0.0","progress":"55","title":"Medici - Padrini del Rinascimento - 1^TV","tmdb_id":null,"username":"mrmojo666","year":""} Address: http://api.trakt.tv/movie/watching/0edee4275d03fe72117e3f69a28815939b082548
    22/02/2012 22:51:11[Scrobble][9][Debug] WebException: The remote server returned an error: (404) Not Found.
    22/02/2012 22:51:11[Scrobble][9][Error] movie not found
    22/02/2012 23:11:10[Scrobble][9][Info] Detected new tv program has started 'Medici - Padrini del Rinascimento - 1^TV' -> 'Band of Brothers - x3'
    22/02/2012 23:11:10[Scrobble][9][Debug] Post: {"duration":"75","episode":"3","imdb_id":null,"media_center":"Mediaportal","media_center_date":"","media_center_version":"1.2.2.0","password":"F1796F6CA5552DE5268A64E43CCACDEEF228CF26","plugin_version":"1.5.0.0","progress":"73","season":"","title":"Band of Brothers","tvdb_id":null,"username":"mrmojo666","year":""} Address: http://api.trakt.tv/show/watching/0edee4275d03fe72117e3f69a28815939b082548
    22/02/2012 23:11:16[Scrobble][9][Info] Response: watching Band Of Brothers 0x03
    22/02/2012 23:16:10[Scrobble][27][Debug] Post: {"duration":"75","episode":"3","imdb_id":null,"media_center":"Mediaportal","media_center_date":"","media_center_version":"1.2.2.0","password":"F1796F6CA5552DE5268A64E43CCACDEEF228CF26","plugin_version":"1.5.0.0","progress":"80","season":"","title":"Band of Brothers","tvdb_id":null,"username":"mrmojo666","year":""} Address: http://api.trakt.tv/show/watching/0edee4275d03fe72117e3f69a28815939b082548
    22/02/2012 23:16:15[Scrobble][27][Info] Response: watching Band Of Brothers 0x03
     

    Users who are viewing this thread

    Similar threads

    • Sticky
    All good now!!
    All good now!!
    We have just released MediaPortal 1.36 - Polar Express x86 and x64 version. Highlights of this release Bugfixes: [MP1-5229] -...
    Replies
    2
    Views
    473
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core: Fix FrameGrabbing for EVR [MP1-5222] - TV Server: Fix ISO-8859-10/14 DVB text encodings [MP1-5224] - Fix Card "CancelTune" request Since Pre-Release : New: Since Pre-Release : Improvement / Rework...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    We have just released MediaPortal 1.35 - Horizon x86 and x64 version. Highlights of this release Bugfixes: [MP1-5221] - Core...
    Replies
    0
    Views
    2K
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in addition to the "library view", so you should be able to set up your system as I describe below, but the details will differ. In MP1, the folders that are to appear on the "Videos" panel are defined in "MP...
    First thing to say is that I use MP1, whereas I believe that you use MP2. @ge2301 has just posted that MP2 has a "folder view" in...
    Help Please. Yesterday upon switch-on, I had this issue with MP2: When I clicked on the [REC] icon in the following Image...
    Replies
    18
    Views
    1K
    • Sticky
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5221] - Core: Fix...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    1K
    Maybe they only show the bits information for the x64 version and no bits information for the 32-bit version?
    Maybe they only show the bits information for the x64 version and no bits information for the 32-bit version?
    We have just released MediaPortal 1.34 - Dune x86 and x64 version. Highlights of this release Bugfixes: [MP1-5201] - Fix MPC-HC...
    Replies
    10
    Views
    4K
    Top Bottom