Setting episodes to Watched not being sent to Trakt (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    I suspect that its because they have deprecated the authentication method we use to logon to trakt. This went away in July.

    The strange thing is, is that everything else is working except for that watched sync method. It sounds like everything will stop working soon then unless I release an update to use the new authentication method, meaning everyone will need to re-authenticate on the next release - it wont be seamless as it will require some sort of interaction.
     

    geeky_herman

    Portal Member
    April 21, 2012
    10
    3
    44
    Great Britain (UK) Great Britain (UK)
    Country flag
    Agreed, it does seem weird. Not that I have any knowledge of the API but authentication sounds like something most people would expect to be all or nothing. Glad I raised the issue now. If you're going to work on a new version of the plugin and need an additional tester then let me know,
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Hey @geeky_herman,

    here is a test package for the new authorisation process. Would be good if you can try it out and see if the watched sync is now fixed. I still did not get an answer back as to why everything else worked except for that method but doesn't matter now if it works with the new Auth.

    The changes require skin updates if you choose to authorise from the GUI, I have included StreamedMP skin update below for this since it looked like you were using it. I have included Titan skin update in the package MPEI. @catavolt / @wizard123 , maybe you can update your skins for changes, they are very simple as below:

    * Rename the Trakt.Settings.Account.xml to Trakt.Settings.AccountAuth.xml;
    * Change the ID from 87272 to 87279;
    * Change the ID in Trakt.Settings.xml for the Account Setup button from 82722 to 87279;
    * There is only a single button control with ID 2 that is mandatory the rest is for informational purposes, you can see the included Titan skin file, but in summary see below:
    Code:
        <control>
          <description>buttons</description>
          <type>group</type>
          <posX>655</posX>
          <posY>321</posY>
          <layout>StackLayout(7, Vertical, true)</layout>
          <control Style="SettingsButtonLarge">
            <type>button</type>
            <description>Create New Account</description>
            <id>2</id>
            <label />
            <onleft>#defaultcontrol.onleft</onleft>
          </control>
        </control>
        <control>
          <type>textbox</type>
          <description>Scan QR or enter in URL</description>
          <id>0</id>
          <posX>675</posX>
          <posY>395</posY>
          <width>975</width>
          <height>200</height>
          <label>#Trakt.Settings.Account.ScanQRCode</label>
          <font>fontB12</font>
          <visible>string.equals(#Trakt.Settings.Account.Authorise,true)</visible>
        </control>
        <control>
          <description>QR URL Image</description>
          <type>image</type>
          <id>1</id>
          <posX>675</posX>
          <posY>475</posY>
          <width>330</width>
          <height>330</height>
          <texture>QRActivateUrl.png</texture>
          <visible>string.equals(#Trakt.Settings.Account.Authorise,true)</visible>
        </control>
        <control>
          <type>label</type>
          <description>User Code</description>
          <id>0</id>
          <posX>675</posX>
          <posY>820</posY>
          <width>892</width>
          <label>#Trakt.Settings.Account.UserCode</label>
          <font>fontB20</font>
          <textcolor>00b7ff</textcolor>
          <visible>string.equals(#Trakt.Settings.Account.Authorise,true)</visible>
        </control>
        <control>
          <type>textbox</type>
          <description>Application Wait</description>
          <id>0</id>
          <posX>675</posX>
          <posY>890</posY>
          <width>975</width>
          <height>200</height>
          <label>#Trakt.Translation.ApplicationAuthWait.Label</label>
          <font>fontB12</font>
          <visible>string.equals(#Trakt.Settings.Account.Authorise,true)</visible>
        </control>
    I will make an official release as soon, the skin changes are not mandatory, you could delete the button all together so users can't access that window. If thats the case then they can simply use the configuration tool.

    You may need to disable my films from the plugins section as sync will probably not work until a new version that is compatible with recent changed is released.
     

    Attachments

    Last edited:

    geeky_herman

    Portal Member
    April 21, 2012
    10
    3
    44
    Great Britain (UK) Great Britain (UK)
    Country flag
    Hi, I never received a response either. Thanks for doing this. I have copied the streamedmp skin files and installed the plugin. The new screen with QR code worked, although I just used the code string for authorisation. I marked an episode as watched and it shows on Trakt. I did a scrobble too which still worked. I also checked some of the plugin functionality which I didn't see any regression on. In fact I think the watched history for your network now shows too. Pretty sure that didn't work on the 'new' API from a couple of years ago, unless my memory is failing me.

    So looking good to me. Thanks.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    A cursor.wav or click.wav set in keyboard and keys cause recordings to be set in upcoming episodes 1.20 2
    A "upcoming episodes" arrow key set recording - Ok/rtn doesn't work General Support 9
    R Correct setting for recordings on shared folder General 0
    J New computer with win10 and how will i set Mediaportal up ? Newcomers Forum 55
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    joEhSuper Backup Setting - ErrorBackupFolder TV-Server 9
    Rob Hexenmeister [solved] Customising Fanart Handler settings Fanart Handler 3
    joecrow AMD Radeon Settings app. won't start after hibernation. General Support 0
    L [solved] Modifying programmed recording after setting it General 0
    B [solved] How to manually set MAC of TV Server for WOL Installation, configuration support 2
    X MadVR Settings Video & DVD 2
    J Resume from Standby Last Module TV Showing TV Server Settings Television (MyTV frontend and TV-Server) 2
    D Correct wake-on-lan settings General 3
    G MP Crashed during setting up recording. Newcomers Forum 1
    cbr954rr Overtake/overwrite settings for all clients Feature Requests 0
    cbr954rr Same settings on all Clients? General 6
    framug 1.22.0 BasicHome Editor settings for DefaultWide HD skin not kept when update 1.22 3
    N [Question] [MP2-493] Default culture not saved in settings MediaPortal 2 0
    cbr954rr Movie sets in films General 20
    D PC rebuild & MP2 upgrade - how to preserve database and settings? General 1
    cbr954rr Possibillity to export and import all client settings? General 0
    morpheus_xx [Finished] [MP2-802] TV-Settings availability in all TV screens MediaPortal 2 12
    N [will not fix] Changed settings do not take effect until MP2-Client is stopped and restarted. Submit: Bug Reports 4
    ajs [solved] Latest Media Handler - Skin settings - Custom latests items number Fanart Handler 27
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    Similar threads

























    Top Bottom