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.

    News ticker module

    Scheduled Pinned Locked Moved Requests
    17 Posts 4 Posters 7.8k Views 3 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 @justjim1220
      last edited by Mykle1

      @justjim1220

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

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • justjim1220J Offline
        justjim1220 Module Developer @cowboysdude
        last edited by

        @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…

        "Life's Too Short To Dance With Ugly People"
        Jim Hallock - 1995

        1 Reply Last reply Reply Quote 0
        • KimzerK Offline
          Kimzer
          last edited by

          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.

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

            @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 :)

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

              @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.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 2
              • KimzerK Offline
                Kimzer
                last edited by

                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

                justjim1220J 1 Reply Last reply Reply Quote 0
                • justjim1220J Offline
                  justjim1220 Module Developer @Kimzer
                  last edited by

                  @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",
                  				},
                  			]
                  		}
                  	}
                  

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

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