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 12.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.
    • M Offline
      Matthewlawson3 @sdetweil
      last edited by

      @sdetweil Okay. Thanks for trying to help! Much Appreciated.

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

        @sdetweil @cowboysdude I am beginning to think I have something wrong with my code or that there is something wrong with my instance of MM. I went back to the default news module and added BBC, USA Today, and Fox News to the list and all I see displaying are BBC headlines. Now when I comment out BBC, Fox News will show. Odd. Can you see if you can see anything in my code? I have no idea what is going on. It has been on for 10 minutes and never leaves BBC.

        {
        			module: "newsfeed",
        			position: "bottom_bar",
        			config: {
        				maxNewsItems: 0,
        				feeds: [
        					{
        					title: "New York Times",
        					url: "https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml",
        					title: "USA Today",
        					url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories",
        					title: "Fox News",
        					url: "http://feeds.foxnews.com/foxnews/latest",
        					title: "BBC",
        					url: "http://feeds.bbci.co.uk/news/world/rss.xml#"
        					
        	
        				}
        			],
        				showSourceTitle: true,
        				showPublishDate: true,
        				broadcastNewsFeeds: true,
        				broadcastNewsUpdates: true
        
        			}
        		},
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Matthewlawson3
          last edited by

          @matthewlawson3 remember, it sorts them by published date… I will have to download the feeds and look at the dates

          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

            @sdetweil so you think perhaps the BBC headlines are the latest?

            I commented out the other news ticker we were discussing. Do you think it might be causing an issue? Should I uninstall?

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

              @matthewlawson3 no idea

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                this module has a design problem…

                a request to get the feed content is started async for each source… so in this case there are 4 fetches going on at once.

                when A feed completes in the helper, it sends ALL feeds data (even if none yet) up to the module. (fastest wins)
                then second finishes and IT sends up the complete list
                and then third
                and then forth.

                and the useful list gets rebuilt over and over…
                and it keeps a counter into the list for the next item, BUT the list could get replaced with a smaller number of entries and the code will die… (‘hang’)

                so the item list gets redone over and over… and over…

                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

                  @sdetweil okay. That’s surprising considering it is the default news module for MM. I’ll find another option.

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

                    @matthewlawson3 it is not the default. it is an extra. I am talking about MMM-NewsFeedTicker

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil Oh okay. The last code I posted is actually from the default news module, not the news ticker I was working on.

                      I was trying the default one and it keeps repeating the same source over and over as well. It doesn’t go on to any of the other sources. It just repeats BBC for 10 minutes.

                      I switched out BBC and added in a CNET RSS feed and it hangs on CNET now.

                      Just for the heck of it I removed the code and module of the NewsTicker we have been discussing since the beginning of this post. Didn’t have any effect either.

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

                        @sdetweil Edit: I believe I got the default news module to work. I apparently was missing some brackets around some of the source urls and that I think made the module not see the other sources.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 4 / 4
                        • 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