Read the statement by Michael Teeuw here.
MMM - NewsFeed Ticker Hangs
-
@mykle1 thank you!
-
@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 growhaven’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.
-
@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.
-
@mykle1 fixed
-
@sdetweil said in MMM - NewsFeed Ticker Hangs:
@mykle1 fixed
Now I really hope he’s paying attention.
Well done, bro. :thumbsup:
-
@mykle1 also sent him a dm…
-
@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" } ] } },
-
Try this:
Under the
maxNewsItems
that you just added to your config entry, add thisupdateInterval: 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.
-
@mykle1 Just added it. It brought the ticker to a crawl across the screen. Super slow.
-
@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.