Trakt for MP2 (2 Viewers)

aspik

Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Thank you Damien!

    I‘ve read yesterday your previous posts in this thread and come to the same conclusion. The key for MP1 has special permissions as it was already used before the new API. MP2 is a completely new app and it has to use the new auth method. I already cloned trakt rater to see how you do it there.

    Thank you again for the answer! Hope, I can count on your help if they are further questions (like the audio channels number)? :rolleyes:
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,760
    7,224
    Sydney
    Home Country
    Australia Australia
    Regarding the AudioChannels property I think just set it to the highest one available will suffice, its most likely the correct one (that's of course if there is no other smart way for you to access this information) e.g. 5.1 DD + 2.0 Commentary = 5.1.
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Thanks :) I think it should be possible to do it and it is the smartest way. Definitely better than select always the first one or post always 2.0.

    @morpheus_xx
    Maybe it would be better after all to add my audio channels number patch? I only need this one property; the rest aspects are already available in MP2. I know that with the transcoding service I will have many other AV attributes, but it creates a dependency to it since it is not available in MP2 core. If in the future the transcoding service gets into the core, then getting all AV aspects can be switched to the transcoding service.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,004
    1,427
    Home Country
    Germany Germany
    If in the future the transcoding service gets into the core,
    I think that will make sense in the future, because MP2Ext depends on this, the DLNA Server and also MP2Web will depend on this one. But there is no decision made yet :)
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Finally managed to switch it to my API-Key. Here is a working version which uses the 0Auth authentication method:
    https://github.com/aspik/MediaPortal-2/commits/FEAT_Trakt_v4

    Below a screenshot with the login screen. Its not pretty and if someone (@ge2301 ;)) feels to design it better, he is welcome!
    There are still few things which need to be fixed/improved but basic syncing and scrobbling should be working, at least it does for me :)

    Next, I would like to start with the GUI screens (trending movies, calendar..). How do I put a tile/button on the home screen? :D
     

    Attachments

    • trakt_login.png
      trakt_login.png
      797.7 KB

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    Below a screenshot with the login screen. Its not pretty and if someone (@ge2301 ;)) feels to design it better, he is welcome!
    I'll take a look and adjust the design, if I have a better idea :)

    Next, I would like to start with the GUI screens (trending movies, calendar..). How do I put a tile/button on the home screen? :D
    I can help you here. Let's talk by PM and I tell you everything you want to know.
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Hi @morpheus_xx,

    I saw that you're preparing a RC build of the new '16 release. Do you plan to add the current trakt version to it? I would be nice to see some user comments if/how the current version is working for others. Unless you have another idea how we can publish this plugin? I can't provide just the trakt.dll because one part of trakt is in the OnlineLibraries library included.
     

    Users who are viewing this thread

    Top Bottom