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

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    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,751
    7,196
    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,751
    7,196
    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
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested [2024-03-03 18:26:58,262] [Log ] [MPMain ] [DEBUG] - Main: TV service found. Checking status... [2024-03-03 18:26:58,263] [Log ] [MPMain ] [INFO ] - Main: TV service is in status Running - proceeding...
    Your log clearly reports: [2024-03-03 18:26:58,258] [Log ] [MPMain ] [DEBUG] - Main: Wait for TV service requested...
    MediaPortal 1.33 Release Written by Team-MediaPortal. We have just released MediaPortal 1.33 - Springtime / 20th Anniversary...
    Replies
    7
    Views
    995
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player app does not support the file type. So I installed VLC. VLC does read the ts files but the TV's remote does not allow to control basic VLC functions like FF or FR or pause etc... Tried 1-2 other apps, even...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Hi, I'm wish to be able to watch the recorded TV (*.ts) files on my Sony Bravia Android TV but cannot. The default media player...
    Replies
    0
    Views
    496
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    (egg in face) I had to dnld SD plugin mpe1 to re install. trying again Thnx
    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
    40
    Views
    4K
    And if you use the comskip plugin, the file is locked during the process of comm removal. ;)
    And if you use the comskip plugin, the file is locked during the process of comm removal. ;)
    I'm about to do a Win 7 to Win 10 upgrade on a disk that has 2 partitions. The second partition holds all the recorded tv files so...
    Replies
    2
    Views
    849
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who wrote that code know what the log entries mean, but those developers have long since retired from the MP team.) I regret to say that I think that you will have to use the "brute force" method to track down...
    I have looked at your log files, but as usual they are unintelligible gobbledegook. (I am sure that the original developers who...
    Sometimes when displaying the OSD whilst playing a recorded TV show the video freezes and the sound continues for about 30 seconds...
    Replies
    1
    Views
    644
    Top Bottom