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 - NewsFeed Ticker Hangs

    Scheduled Pinned Locked Moved Troubleshooting
    40 Posts 4 Posters 15.5k Views 4 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @Matthewlawson3
      last edited by

      @matthewlawson3

      I don’t think it’s you. See my edited post

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • M Offline
        Matthewlawson3 @Mykle1
        last edited by

        @mykle1 said in MMM - NewsFeed Ticker Hangs:

        @cowboysdude said in MMM - NewsFeed Ticker Hangs:

        Not sure let me try to load it and see what it does.

        I just installed it. Running for 10 minutes, flawlessly, using the default config entry.

        Nice module, Jim! :-)

        EDIT:

        It is NOT working properly. The 5 or 6 news items keep repeating

        Okay. At least I know it is not something I did.

        General question: How does one uninstall a module? Or do you just comment it or // it out?

        cowboysdudeC Mykle1M 2 Replies Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer @Matthewlawson3
          last edited by

          @matthewlawson3 You can delete it from your config entry and go to the MagicMirror/modules directory find the module and delete it so for example :

          MagicMirror/modules/MMM-Whatever

          You go to MagicMirror/modules
          then delete the MMM-Whatever directory…

          Gone!

          1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @Matthewlawson3
            last edited by

            @matthewlawson3

            You can comment out the config entry or delete the entry.

            Easiest way to delete the module itself. Click your way to the modules folder, enter the modules folder, trash the MMM-NewsFeedTicker.

            Create a working config
            How to add modules

            cowboysdudeC M 2 Replies Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer @Mykle1
              last edited by

              @mykle1 I JUST said that…get off my toes LMAO

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @cowboysdude
                last edited by

                @cowboysdude

                Hey, have you seen Jim these days? I wonder where he disappeared to.

                Create a working config
                How to add modules

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @Mykle1
                  last edited by cowboysdude

                  @mykle1 Great question…I wonder where Robert is… or @strawberry-3-141 … I feel like a latch key kid…

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by

                    @cowboysdude

                    Last online:

                    Jim - 24 days
                    Robert - Oct 2020

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Matthewlawson3 @Mykle1
                      last edited by

                      @mykle1 thank you!

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Mykle1
                        last edited by sdetweil

                        @Matthewlawson3 the doc doesn’t mention it, but by default in only shows the 1st 5 items regardless of how many sources u have

                        to get all of them do

                        maxNewsItems: 0,
                        

                        in the module config above the list of sources
                        ----- edit: i was incorrect… the list gets rebuilt each time , never mind
                        BUT ----- this causes a problem, the list is never cleared, so it continues to grow and grow

                        haven’t seen the hang yet… one possible source in fetcher.js,

                        comment out the items=[]; line as shown below

                        		reloadTimer = null;
                        		//items = [];
                        

                        its the same name as the global , so there could confusion over which list to add to.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer @sdetweil
                          last edited by

                          @sdetweil said in MMM - NewsFeed Ticker Hangs:

                          comment out the items=[]; line as shown below

                          Thanks bro. I don’t even use this module. I was just trying to help out the user above. Hopefully, he’s paying attention and has read your suggestion.

                          Create a working config
                          How to add modules

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Mykle1
                            last edited by

                            @mykle1 fixed

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            Mykle1M 1 Reply Last reply Reply Quote 1
                            • Mykle1M Offline
                              Mykle1 Project Sponsor Module Developer @sdetweil
                              last edited by

                              @sdetweil said in MMM - NewsFeed Ticker Hangs:

                              @mykle1 fixed

                              Now I really hope he’s paying attention.

                              Well done, bro. :thumbsup:

                              Create a working config
                              How to add modules

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @Mykle1
                                last edited by

                                @mykle1 also sent him a dm…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                M 1 Reply Last reply Reply Quote 0
                                • M Offline
                                  Matthewlawson3 @sdetweil
                                  last edited by Matthewlawson3

                                  @sdetweil Okay so the reason it hangs and doesn’t go to other sources is because of what exactly? Sorry just saw this and trying to get up to speed.

                                  I added the max news items where you said I think if I understand correctly (see config file below). I also changed the number to 0 inside the MMM-NewsFeedTicker.js.

                                  Where is the fetcher.js? Can’t find that file.

                                  The module keeps repeating NYT and USA Today and doesn’t move on to BBC or Ars Technica.

                                  {
                                  	disabled: false,
                                  	module: "MMM-NewsFeedTicker",
                                  	position: "bottom_bar",
                                  	//classes: "day_scheduler",
                                  	config: {
                                  		maxNewsItems: 0,
                                  	    feeds: [
                                  		{
                                  			title: "New York Times",
                                  			url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
                                  			customLogo: "NYT_logo_rss_250x40.png"
                                  		},
                                  		{
                                  			title: "USA Today",
                                  			url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories",
                                  			customLogo: "RSS_Syndication_Logo-USATN.png"
                                  		},
                                  		{
                                  			title: "BBC World News",
                                  			url: "http://feeds.bbci.co.uk/news/world/rss.xml#",
                                  			customLogo: "bbc_news_120x60.gif"
                                  		},
                                  		{
                                  			title: "Ars Technica",
                                  			url: "http://feeds.arstechnica.com/arstechnica/technology-lab",
                                  			customLogo: "arstechnica.jpg"
                                  		}
                                  		
                                      	    ]
                                  	}
                                      },
                                  
                                  Mykle1M S 2 Replies Last reply Reply Quote 0
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @Matthewlawson3
                                    last edited by Mykle1

                                    @matthewlawson3

                                    Try this:

                                    Under the maxNewsItems that you just added to your config entry, add this

                                    updateInterval: 10 * 60 * 1000,

                                    The default is 1 minute, which effectively resets the module back to the beginning of the feeds. This will give it 10 minutes to display the feeds without resetting. Assuming this will work, adjust the time accordingly.

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      Matthewlawson3
                                      last edited by

                                      @mykle1 Just added it. It brought the ticker to a crawl across the screen. Super slow.

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @Matthewlawson3
                                        last edited by

                                        @matthewlawson3 never edit the module source file.use config.js to adjust the parma

                                        I loaded the module u referenced, and fetcher.js is in that folder
                                        no idea if it hangs yet. hasn’t for me.

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        M 1 Reply Last reply Reply Quote 0
                                        • M Offline
                                          Matthewlawson3 @sdetweil
                                          last edited by Matthewlawson3

                                          @sdetweil Ok I made the changes in the fetcher file hopefully. I really am kinda lost though as to what we are trying to do exactly. My main concern is that it goes to all 4 of the sources listed. NYT, USA Today, BBC, and Ars Technica. I haven’t seen Ars Technica at all.

                                          I may just give up and find another good news module.

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @Matthewlawson3
                                            last edited by

                                            @matthewlawson3

                                            the modules collects all the entries and makes a big list, and then the module sorts them by published date.

                                            there could be over 300 entries… each takes 10 seconds, 3000 seconds is 5 hours,
                                            but the reload interval is 60 minutes, so it will wipe out the list and start over…

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            M 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 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