• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-MyTraktSeries

Scheduled Pinned Locked Moved Utilities
12 Posts 7 Posters 6.7k Views 7 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    retroflex Project Sponsor Module Developer
    last edited by Feb 7, 2018, 1:07 PM

    @TheVieiraAkA I’m trying out your module now, and I have set up application, API key + secret and list id. But I get this text on my mirror:

    Please enter the following on https://trakt.tv/activate: undefined
    

    It should be an 8 digit code. Any idea what is wrong?

    1 Reply Last reply Reply Quote 0
    • T Offline
      TheVieiraAkA
      last edited by TheVieiraAkA Feb 7, 2018, 1:10 PM Feb 7, 2018, 1:10 PM

      @retroflex That problem must be that some of your inputs are wrong, or you have a token file existing in the module file that is not valid anymore, if you have one delete it and try again

      R 1 Reply Last reply Feb 8, 2018, 8:06 AM Reply Quote 0
      • R Offline
        retroflex Project Sponsor Module Developer @TheVieiraAkA
        last edited by Feb 8, 2018, 8:06 AM

        @TheVieiraAkA Thanks! I have checked client_id, client_secret, username and id_lista and they are correct. And there is no token file from before.

        I get this exception in .pm2/logs/mm-error-0.log:

        TypeError: Error processing argument at index 1, conversion failure from 80
            at TypeError (native)
            at ClientRequest.setHeader (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:252:21)
            at ClientRequest (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:190:14)
            at Net.request (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:354:10)
            at get (/home/pi/MagicMirror/modules/MMM-MyTraktSeries/node_modules/got/index.js:49:18)
            at Immediate.setImmediate (/home/pi/MagicMirror/modules/MMM-MyTraktSeries/node_modules/got/index.js:124:3)
            at runCallback (timers.js:574:20)
            at tryOnImmediate (timers.js:554:5)
            at processImmediate [as _immediateCallback] (timers.js:533:5)
        
        
        T 1 Reply Last reply Feb 8, 2018, 8:20 AM Reply Quote 0
        • T Offline
          TheVieiraAkA @retroflex
          last edited by Feb 8, 2018, 8:20 AM

          @retroflex hum… thats weird, I don’t know if this matter but try to put your Trakt account and custom List public and see if you get anything different. Plz let me know

          1 Reply Last reply Reply Quote 0
          • R Offline
            retroflex Project Sponsor Module Developer
            last edited by Feb 9, 2018, 8:45 AM

            @TheVieiraAkA My trakt account was already public. But I found that I was using the default watchlist, which probably wasn’t a good idea. I created a new public list and switched the ID in the config to that one. Still no luck, same error.

            T 1 Reply Last reply Jun 12, 2018, 8:49 AM Reply Quote 0
            • T Offline
              TheVieiraAkA @retroflex
              last edited by Jun 12, 2018, 8:49 AM

              @retroflex Sorry about the delay

              I recently update the module to fix some errors
              make sure you delete the token.js file in the module, and you have the node_modules installed in my module
              create an app on trakt.tv in here , and assign http://localhost/ to the “Redirect uri:” and “Javascript (cors) origins:”
              Then before you try directlly on the module in the Magic Mirror, use the Trakt API to test it

              1. go Here, and on URI Params, insert your username, and on Headers, put your Client_ID on trakt-api-key option and click Call Resource
                1.1 it should give you a full list of custom lists that you have, search for :

              “ids”: {
              “trakt”: 123456,
              “slug”: “asdvgasvdhasbdabsd”
              },

              1. on the config.js on Magic mirror, in the MMM-MyTraktSeries module, put the “123456” code that you got from the TraktAPI in the step 1 in the id_lista: field
                it should work without a problem
              L 1 Reply Last reply Nov 26, 2022, 8:17 PM Reply Quote 0
              • A Offline
                ankurchauhin
                last edited by Feb 4, 2019, 1:17 PM

                The above module you’ve mentioned above was in a very smooth way and i can able to set up an application, API key + secret and list id. But I get an error with the pop up “enter the following on our official website”! there we can use only the eight digit code and i tried one of my trakt friends suggestion and it worked me a lot, if any one get an error like me you can solve that issue from here.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dxfan227
                  last edited by Apr 5, 2019, 3:30 AM

                  what;s the user name?

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    luisestrada @TheVieiraAkA
                    last edited by Nov 26, 2022, 8:17 PM

                    @TheVieiraAkA Hello,

                    I can’t understand why I use one list and it works but then I select another list and it doesn’t. I made it public, friends, private and nothing works.

                    It looks that this module was abandoned, but still works.

                    Thank you !!!

                    L 1 Reply Last reply Nov 29, 2022, 8:30 PM Reply Quote 0
                    • L Offline
                      luisestrada @luisestrada
                      last edited by Nov 29, 2022, 8:30 PM

                      MMM-MyTraktSeries.js:61

                      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘nextEp’)
                      at Class.getDom (MMM-MyTraktSeries.js:61:45)
                      at main.js:113:35
                      at new Promise ()
                      at updateDom (main.js:111:10)
                      at Object.updateDom (main.js:552:4)
                      at Class.updateDom (module.js:358:6)
                      at Class.socketNotificationReceived (MMM-MyTraktSeries.js:101:18)
                      at module.js:245:9
                      at Socket. (socketclient.js:38:4)
                      at Emitter.emit (index.mjs:136:20)

                      Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'nextEp')
                      

                      Row 61 says:
                      title = this.shorten(aux[i].nextEp, 19);

                      S 1 Reply Last reply Nov 29, 2022, 9:01 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy