Trakt for MP2 (4 Viewers)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    Did you press the sync button in the setup dialog?
    No, I didn't. Actually I thought that synching would be automatic and taking place at each start of the client. The dialogue is misleading as it says "Sync to Trakt". Renaming this to "Sync with Trakt" might be better.

    After installing TC187 I wanted to synch but then get the message "Authorize first". I tried to authorize and had issues. Leaving the dialogue end reentering it displays "Authorization successful" but another click on "Sync" throws the same "Authorize first" at me. So something is not working with the reauthentication process, which you had fixed a few weeks ago.
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Could you try to delete the settings file MediaPortal.UiComponents.Trakt.Settings.TraktSettings.xml located here:
    c:\ProgramData\Team MediaPortal\MP2-Client\Config\[user]\
    and clear the cache folder by removing the library directory :
    c:\ProgramData\Team MediaPortal\MP2-Client\Trakt\[user]\Library\

    After that, authorize again. If this does not work, post or send me the client log.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    delete the settings file MediaPortal.UiComponents.Trakt.Settings.TraktSettings.xml
    Done

    and clear the cache folder by removing the library directory :
    c:\ProgramData\Team MediaPortal\MP2-Client\Trakt\[user]\Library\
    No such directory

    After that, authorize again. If this does not work
    No "Authorization successful" message although the credentials are saved in the config file. Clicking "Sync" asks for authorization.
     

    Attachments

    • Client.zip
      19.9 KB

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    67
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I tried this while watching the client logs
    Authorization did work, Sync did not work.
    When going back to the home screen, nothing showed up under Movies or Audio.
    Checking each of these resulted in Nothing Showing.

    Quit the Client and went back into the Client, everything reappeared.

    Strange Logs
    [2017-03-26 09:19:10,323] [165163 ] [InputMgr ] [INFO ] - Trakt.tv: Successfully logged in
    [2017-03-26 09:19:10,324] [165164 ] [InputMgr ] [DEBUG] - WorkflowManager: Tidying up...
    [2017-03-26 09:19:10,325] [165165 ] [InputMgr ] [INFO ] - WorkflowManager: Trying to open dialog screen 'dialogTraktSetup'...
    [2017-03-26 09:19:10,326] [165166 ] [InputMgr ] [DEBUG] - ScreenManager: Preparing to show dialog 'dialogTraktSetup'...
    [2017-03-26 09:19:10,327] [165167 ] [InputMgr ] [DEBUG] - ScreenManager: Loading screen from file path 'C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\Trakt\Skin\default\screens\dialogTraktSetup.xaml'...
    [2017-03-26 09:19:10,344] [165184 ] [InputMgr ] [DEBUG] - WorkflowManager: Attaching GUI model 'a6c6d5da-55fe-4b5f-ae83-b03e8bbfa177' to workflow state '3db8c6db-f4e4-4a87-80ce-53339aecf494'
    [2017-03-26 09:19:10,398] [165238 ] [InputMgr ] [INFO ] - WorkflowManager: Screen 'dialogTraktSetup' successfully shown
    [2017-03-26 09:19:10,400] [165240 ] [AMQ 'SwitchBrowseModeAction'] [DEBUG] - WorkflowManager: Attaching GUI model '4cdd601f-e280-43b9-ad0a-6d7b2403c856' to workflow state '3db8c6db-f4e4-4a87-80ce-53339aecf494'
    [2017-03-26 09:19:10,398] [165238 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Showing dialog 'dialogTraktSetup'
    [2017-03-26 09:19:33,431] [188271 ] [DX Render] [DEBUG] - ContentManager: Allocation 47.4252777099609/100 MB
    [2017-03-26 09:19:36,483] [191324 ] [InputMgr ] [ERROR] - Trakt.tv: Response: The remote server returned an error: (401) Unauthorized.
    [2017-03-26 09:19:36,484] [191325 ] [InputMgr ] [ERROR] - Trakt.tv: Unable to login to trakt

    [2017-03-26 09:20:33,422] [248262 ] [DX Render] [DEBUG] - ContentManager: Allocation 47.4252777099609/100 MB
    [2017-03-26 09:21:24,216] [299056 ] [InputMgr ] [ERROR] - Trakt.tv: Trakt.tv not authorized

    [2017-03-26 09:21:33,447] [308287 ] [DX Render] [DEBUG] - ContentManager: Allocation 47.4252777099609/100 MB
    [2017-03-26 09:21:42,701] [317541 ] [InputMgr ] [ERROR] - Trakt.tv: Response: The remote server returned an error: (401) Unauthorized.
    [2017-03-26 09:21:42,703] [317543 ] [InputMgr ] [ERROR] - Trakt.tv: Unable to login to trakt

    [2017-03-26 09:22:18,371] [353212 ] [InputMgr ] [INFO ] - Trakt.tv: Successfully logged in
    [2017-03-26 09:22:31,862] [366702 ] [InputMgr ] [ERROR] - Trakt.tv: Trakt.tv not authorized
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    I am confused: The dialogue suddenly says "Authorization successful"... However, when I now click on "Sync" I am still getting "Authorize first"
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    Should be fixed now, please test and let me know if it is working or not. Thanks :)
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,382
    2,369
    Home Country
    Germany Germany
    Should be fixed now.
    Mmh, I installed TC#189 and then went into the Trakt configuration panel, which displayed "Authorization successful". No way to enter new credentials - I had to delete the Trakt setting file first before the system acknowledged the authorization. This might just be a misleading user GUI but you may want to take a second look at the situation where for whatever reason you would like to re-authenticate.

    I then click on Sync and saw the rotating cursor. Synchronization worked and watch logos were now displayed in line with my true watch status on Trakt.

    Note to @ge2301 : Should we consider to display "Unwatched" icons rather than indicate the watch status? IN reality the number of unseen movies and episodes is likely to be much smaller than the already watched and displaying an unwatched status reduces unnecessary visual load.
     

    ge2301

    Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,725
    3,521
    Stuttgart
    Home Country
    Germany Germany
    Note to @ge2301 : Should we consider to display "Unwatched" icons rather than indicate the watch status? IN reality the number of unseen movies and episodes is likely to be much smaller than the already watched and displaying an unwatched status reduces unnecessary visual load.
    We discussed it several times in the past and concluded to show watched flags. This is also how other HTPC softwares handle it mostly. Additionally an unwatched flag looks very ugly because of the strike out. Watched and partly watched seem also more consistent than unwatched and partly watched.
     

    aspik

    Retired Team Member
  • Team MediaPortal
  • April 14, 2008
    1,322
    586
    No way to enter new credentials - I had to delete the Trakt setting file first before the system acknowledged the authorization.
    I'll take a look in the evening.
    Synchronization worked and watch logos were now displayed in line with my true watch status on Trakt.
    Great! How about scrobbling? Does it work for you? If you play a movie/episode does the trakt.tv page display that you're are currently watching a movie/series (red progress bar on the trakt.tv site)?
     

    Users who are viewing this thread

    Top Bottom