Add scrobble support for Live TV / Recorded TV (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    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,760
    7,224
    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,760
    7,224
    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
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    10K
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting power settings for "Intel Graphics". I set it to Maximum Performance. I tried many other things so it could be a combination of them, but this was the last thing I did and I haven't had the problem return...
    Sorry, I didn't get email notifications on these latest replies. I just came here to report I solved the problem after adjusting...
    I'm running MP1 as a client only on this: https://www.amazon.com/dp/B0DZX5DWS5?ref_=pe_123509780_1038749300_t_fed_asin_title&th=1...
    Replies
    5
    Views
    2K
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that superficial knowledge of a subject can make people arrogant or foolish, suggesting one should either learn deeply or not at all. "Superficial", and "arrogant or foolish" would be me :eek: . However... I would...
    As Alexander Pope said: A little learning is a dangerous thing, and Dr Google explains this as: The quotation warns that...
    I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...
    Replies
    12
    Views
    4K
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be. :( Perhaps someone else will post with some suggestions. :unsure: -- from CyberSimian in the UK
    I compliment you on the thoroughness of your investigations. (y) Unfortunately, I don't have any ideas what the problem might be...
    Would appreciate it if someone could solve (or point me in the right direction to resolve) this issue. I have “MultiSeat”...
    Replies
    4
    Views
    1K
    Top Bottom