• 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-GQuotes

Scheduled Pinned Locked Moved Entertainment
62 Posts 5 Posters 53.5k Views 6 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.
  • P Offline
    pauabaer
    last edited by May 5, 2017, 8:20 AM

    That’s good @Fistandantilus :))

    @cowboysdude i noticed today, that the quote did not updated. Any suggestion why?

    1 Reply Last reply Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by May 5, 2017, 11:05 AM

      Wow . . . and . . . wow

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer @Fistandantilus
        last edited by May 5, 2017, 11:25 AM

        @Fistandantilus LOL well it happens…

        1 Reply Last reply Reply Quote 0
        • P Offline
          pauabaer
          last edited by May 8, 2017, 8:22 PM

          hi @cowboysdude
          at which time does the quotes getting updated? does it change at a specific time? depends this time on your timezone?

          every morning (CEST) i see the same quote like in the evening. at the homepage it is getting updated at 02.00 a.m. that would be nice if your module is getting updated at the same time. so i see each morning the new quote.

          is this possible?

          C 1 Reply Last reply May 8, 2017, 8:47 PM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @pauabaer
            last edited by May 8, 2017, 8:47 PM

            @pauabaer It checks the date on the file…

            1 Reply Last reply Reply Quote 0
            • P Offline
              pauabaer
              last edited by May 9, 2017, 8:36 AM

              Hm.
              i found this entry in the xml file:
              2017-05-09T00:05:45+01:00

              But it did not get updated at this time.

              C 1 Reply Last reply May 9, 2017, 10:40 AM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @pauabaer
                last edited by cowboysdude May 9, 2017, 11:31 AM May 9, 2017, 10:40 AM

                @pauabaer If you found that entry in an xml file then you’re looking at the wrong module…this one doesn’t have an xml file the quote comes from an xml file but doesn’t look at or use the time from that xml file. This module creates a json file and adds a time stamp to it. It then checks the timestamp of the file it saves.

                Probably what is happening is that it is going out and if the date if different it’s rewriting the file and if the quote hasn’t changed by then it’s just rewriting this file with a new timestamp and not updating as it should.

                I changed the update interval for this you can do a git pull to update and see if that works better.

                This is what it says: “timestamp”:“5/4/2017”

                The only other option is to take the cache out and have it update hourly… so let me look at it and we’ll see. The only problem is that it may change the quote more then daily…

                At any rate I have to actually go to my job… I like eating and having a place to live… my hobby will have to wait until later when I have time to look at it. ;)

                1 Reply Last reply Reply Quote 1
                • P Offline
                  pauabaer
                  last edited by May 9, 2017, 11:44 AM

                  Of course, let your hobby wait. :D there are more important things to do.

                  tonight i will do a gi pull and give a feedback. Thank you so far!

                  1 Reply Last reply Reply Quote 1
                  • C Offline
                    cowboysdude Module Developer
                    last edited by May 14, 2017, 4:33 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 4
                    • 5
                    • 6
                    • 7
                    • 6 / 7
                    6 / 7
                    • First post
                      58/62
                      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