Check the Trakt rating of the movie and display it in the plugin My Videos (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,625
    10,554
    Kyiv
    Home Country
    Ukraine Ukraine
    Can I see the rating the movie and display it in the plugin My Video as in the screenshot:
    16-00-32.png 16-00-44.png
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Do you mean the trakt site rating or user rating? I presume you mean site rating.

    It's the responsibility of the My Videos scraper to get and store movie information including the rating and vote count, the trakt plugin has the required API methods such you can get movie details which includes ratings. I could expose a method which only gives you the Rating and Distribution so it can be stored in the My Videos database.

    The user ratings for movies is the responsibility of the trakt plugin during sync, however the My Videos plugin does not have a userrating field to store this so its ignored during sync.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,625
    10,554
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #3
    Do you mean the trakt site rating or user rating?
    User rating...
    The user ratings for movies is the responsibility of the trakt plugin during sync, however the My Videos plugin does not have a userrating field to store this so its ignored during sync.
    I thought so. But maybe there is a property. Which shows the current user rating for the movie?
    I can make a request to the rating for the movie in the plug FH, but do not know what and how to ask Trakt.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    No, there is no user rating field in the MyVideos database. The MediaPortal team would need to add support for this, once that is done it's easy for the trakt plugin to sync the users ratings to the corresponding movie during Sync.
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,426
    10,451
    Königstein (Taunus)
    Home Country
    Germany Germany
    Well, in myvideos we have the following user rating properties:
    #rating (the percentage to show the rating stars), #strrating (the percentage in words) and #votes (the number of people who voted) :D

    09-33-22.jpg

    As Trakt has similiar properties, wouldn´t it be possible to use them here as well?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I think you guys are getting confused with user and site ratings.

    User Rating is the rating you gave a movie.
    Site Rating is the rating the Community has rated the movie as an average.

    Obviously My Videos has support for Site Ratings e.g. IMDb rating. If you want support for trakt community ratings, then you need to implement the retrieval of ratings from My Videos just like you do with any other site such as IMDb, TMDb etc.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    For moving picture it works right ? I have seen this in the Titan default skin. But I can't find it in the xml files i will add this to the titanius theme.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    MovingPictures has support to display a user rating (the trakt plugin syncs the rating to the database). My Videos now has support for user ratings db field in the latest version (at least im sure I read somewhere it does), when I release the next version of the trakt plugin I will add support to sync user ratings (not community) to the myvideos database such that they can be displayed in skins.
     

    D3ltoroxp

    MP Donator
  • Premium Supporter
  • June 1, 2008
    3,308
    205
    Home Country
    Germany Germany
    Ok you mean User Rating. But site Rating is supported at the actual state ? I will see the site ratings, what com say to the movies / series and that is what is in Titan right ?

    With User Rating you mean that Rating im givin after Playback right ?
     

    Users who are viewing this thread

    Similar threads

    I have all of my media on a NAS. I guess it might just be a network issue, then.
    I have all of my media on a NAS. I guess it might just be a network issue, then.
    Whenever I go into the back end for Moving Pictures, it almost immediately hangs on the Movie Importer tab. If I want to go into...
    Replies
    4
    Views
    482
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
    Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
    Replies
    6
    Views
    958
    Installing other software, especially MP1, which is partly sharing Tv service with MP2, can make everything worse. Please upload your debug log files, if you want to solve the issue.
    Installing other software, especially MP1, which is partly sharing Tv service with MP2, can make everything worse. Please upload...
    Before you create this bug report: Make sure that your system (Windows, codecs and drivers) is up to date, matching the...
    Replies
    6
    Views
    1K
    And this is the follow-up thread, which includes log files: PiP audio problem
    And this is the follow-up thread, which includes log files: PiP audio problem
    I just updated from 2.4. Update did not conserve my channels or epg plug-in or anything, looks like, which of course was a...
    Replies
    5
    Views
    597
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism of working with playlists in online broadcasts. Well, here you need to look at what is happening in the Media Portal player. And find someone who understands how it works.
    This may or may not be a pause, after all, this is a playlist, it can constantly change, I don’t very well understand the mechanism...
    I am running the latest "any cpu" version of the Radio Time plugin with MP 1.33 x64 which is working well except some of my...
    Replies
    22
    Views
    1K
    Top Bottom