MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

News ticker module


  • Module Developer

    @justjim1220

    Then I would take a look at cowboysdude’ youtube module if I were you. He already did all the hard work.



  • @cowboysdude

    yeah, I have that as well.

    My playlist has close to 1600 videos in it.
    To link it to the mirror or anywhere else other than playing on YT itself… There is a stack limit of 200 videos, AND, there isn’t a shuffle or randomizer available with the YouTube API documentation.

    I was able to get one to work in HTML, My trouble from here on is getting to convert into a working MM module…



  • Using cowboysdude’s module and it does the job. Very nice looking etc.
    But a couple of things i am hoping we can improve upon.

    I would like to add a few more feeds to it, and also its kind of lagging a bit. Is there a way to improve that? Im no strong coder whatsoever so any help i could get would be very much appreciated.



  • @kimzer Well we are QUITE limited by the Pi’s abilities or lack thereof… What can happen is looking for an NPM package that will get multiple providers…

    That would have to be later… I am buried at work and currently working on NOAA3 which is taking all my free time…what little I have 🙂


  • Module Developer

    @kimzer said in News ticker module:

    I would like to add a few more feeds to it,

    This is likely possible.

    and also its kind of lagging a bit. Is there a way to improve that?

    This question gets asked all the time. The Pi can only do so much. Use a more robust board.



  • I understand. I did manage to lower the cpu usage quite alot, by changing the gpu driver.
    Cpu usage is at around 40% now. Wich is good and should probably improve the lag a bit.

    But adding more feeds would be very nice. So if anyone could point me in the right direction for that id appreciate it, not asking you to do it all for me :p



  • @kimzer

    example given on the newsfeed page…

    {
    		module: "newsfeed",
    		position: "bottom_bar",	// This can be any of the regions. Best results in center regions.
    		config: {
    			// The config property is optional.
    			// If no config is set, an example calendar is shown.
    			// See 'Configuration options' for more information.
    
    			feeds: [
    				{
    					title: "New York Times",
    					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
    				},
    				{
    					title: "BBC",
    					url: "http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=uk",
    				},
    			]
    		}
    	}