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.

    After update, Calendar shows infinite number of events.

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 6 Posters 8.2k 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.
    • G Offline
      gripworks @kvicksson
      last edited by

      @kvicksson

      I saw in another thread that it is showing the number of posts specified in the config, but on a per calendar basis. I wanted to show 15 events total, but with 8 calendars it is trying to show 120 events. I went into the config file and changed it to 4 events and now it is showing 32 total. More than I had originally but still small enough that it fits on my mirror. Hopefully an update will return it to a configured Total.

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        kvicksson @gripworks
        last edited by

        @gripworks I’ve already tried this and unfortunately it didn’t work for me with two calendars :(

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          orayoflighto Project Sponsor @kvicksson
          last edited by

          @kvicksson

          Did you put maximumEntries after each URL call like below?

          url: ‘https://google.com/public/basic.ics’,
          maximumEntries: ‘10’,

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            gripworks @orayoflighto
            last edited by

            @orayoflighto
            No I didn’t. When I set it up last year, I must have missed that. I’ll give it a try. Thank you.

            1 Reply Last reply Reply Quote 0
            • O Offline
              orayoflighto Project Sponsor
              last edited by

              You didn’t miss it. It is a change with the most recent update.

              slametpsS 1 Reply Last reply Reply Quote 0
              • slametpsS Offline
                slametps @orayoflighto
                last edited by

                @orayoflighto said in After update, Calendar shows infinite number of events.:

                You didn’t miss it. It is a change with the most recent update.

                Default value for maximumEntries is 10. How can the calendar module display infinite number of events because not setting maximumEntries option?

                regards,

                Slamet PS

                O G 2 Replies Last reply Reply Quote 0
                • O Offline
                  orayoflighto Project Sponsor @slametps
                  last edited by

                  @slametps

                  The maximumEntries setting now applies to each calendar rather than globally. So if you have 5 calendar URLs then you get 50 listings (if the default is set to 10). Before the change it would show the most recent 10 events from all of your calendars.

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    kvicksson
                    last edited by

                    Everything works after setting maximumEntries after each URL. I don’t like it though because it doesn’t show the 10 upcoming items due to where the items are in time. But guess I have to live with it :)

                    slametpsS 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jasondreher
                      last edited by jasondreher

                      Is there any way to go back a version or install a prior version? I have the same calendar issue. The installation mentions git reset --hard, but I am not sure what that does.

                      G Mykle1M 2 Replies Last reply Reply Quote 0
                      • G Offline
                        gripworks @slametps
                        last edited by

                        @slametps
                        It wasn’t truly infinite, I just have 8 Calendars so with 80 lines to display (the default 10/calendar) it ran off the bottom of the screen, behind the headlines and pushing the monthly calendar off the screen.

                        1 Reply Last reply 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