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
    Re: [1.1.0] Trakt for MediaPortal

    It would be awesome if I could hear if this is still a possibility in the nearby future: https://github.com/Technicolour/Trakt-for-Mediaportal/issues/1

    I definitely want to get Recorded TV supported for scrobbling, will take a look soon ;)

    Maybe as a temporary workaround for now with Movies is if you Scan the movie using the F9/F3 IMDB option, this will then enter the movie info into the videos database. I think then it should get picked up by the My Videos plugin handler if enabled. Not 100% sure if that will work but it should I think. When we add native support we will hook into the Recorded TV API and get the information from the recording if available.

    For TVShows with Season/Episode info we will definitely need to look at native support, hopefully those properties can be picked up by the Recorded TV API or by skin properties.
     

    zvap

    Portal Member
    December 5, 2010
    18
    1
    Home Country
    United States of America United States of America
    Re: [1.3.3] Trakt for MediaPortal [2012-01-19]

    I think I know the answer to this but I'll ask anyways. Does this plugin scrobble live live TV?
     

    zvap

    Portal Member
    December 5, 2010
    18
    1
    Home Country
    United States of America United States of America
    thanks. Obviously I didn't post this in this thread. The thread title kind of answers my Q. I don't want anyone thinking I'm a complete loon (I AM a loon, just not a complete loon) :)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Re: [1.1.0] Trakt for MediaPortal

    It would be awesome if I could hear if this is still a possibility in the nearby future: https://github.com/Technicolour/Trakt-for-Mediaportal/issues/1

    I definitely want to get Recorded TV supported for scrobbling, will take a look soon ;)

    Maybe as a temporary workaround for now with Movies is if you Scan the movie using the F9/F3 IMDB option, this will then enter the movie info into the videos database. I think then it should get picked up by the My Videos plugin handler if enabled. Not 100% sure if that will work but it should I think. When we add native support we will hook into the Recorded TV API and get the information from the recording if available.

    For TVShows with Season/Episode info we will definitely need to look at native support, hopefully those properties can be picked up by the Recorded TV API or by skin properties.

    If there is no good way to get that information, let us know - providing more useful information to 3rd party plugins is quite important.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: [1.1.0] Trakt for MediaPortal

    If there is no good way to get that information, let us know - providing more useful information to 3rd party plugins is quite important.

    Hi tourettes, I have added Recorded-TV support for trakt for now and seems to be working good, I will release a test dll shortly. To get the recording info im using the following:

    Code:
    TvBusinessLayer layer = new TvBusinessLayer();
    Recording recording = layer.GetRecordingByFileName(filename);

    For movies and shows the best way to get a match on trakt is to use imdb/tmdb/tvdb ids but since this is not available on the recording object we fall back to title+year matching for movies and title+seasonidx+episodeidx for tv-episodes. I have tested movies using the Australian EPG (standard over-the-air one) and for the recording.Title field I get back Title (Year) e.g. S.W.A.T. (2003), from that I can split the two and get title and year separately. Episodes however is another story, the Aussie EPG only returns the Title, the recording.SeriesNum and recording.EpisodeNum fields are empty. I hope EPG data from other countries has valid info for those fields otherwise scrobbling episodes cant be done for those users.

    I have a question about the Recording object, there are two fields EpisodeNum and EpisodeNumber, what is the difference?

    Cheers
     

    IchBinsShort

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

    Hello I have a question. In which way the scrobbling works. Will it scrobbel to after you switch to the channel ? Because this is not good, wehen you are zapping between the channels. I hope it will only scrobble when you have watched 90 % of the the Movie, Serie, for example.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Re: AW: Add scrobble support for Live TV / Recorded TV

    Hello I have a question. In which way the scrobbling works. Will it scrobbel to after you switch to the channel ? Because this is not good, wehen you are zapping between the channels. I hope it will only scrobble when you have watched 90 % of the the Movie, Serie, for example.

    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.
     

    Frank-NL

    MP Donator
  • Premium Supporter
  • July 23, 2010
    51
    13
    Home Country
    Netherlands Netherlands
    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.
     

    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
    1K
    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
    850
    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
    646
    Top Bottom