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 9.2k 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.
    • justjim1220J Offline
      justjim1220 Module Developer
      last edited by

      you could probably add a marquee script to the current newsfeed code…

      "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

        Hmm, clever. Will look into that. have you tried something like it?

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

          not yet, but was getting ready to…:smiling_face_with_sunglasses:

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

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

            I have been working with this for 3 hours! I can’t get it to marquee using any type of code, I’ve tried several!!!

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

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

              @justjim1220

              As per your request through PM, here is an example of how to use one marquee effect

              
              

              ok wait, it’s not displaying what I’ve entered. I’ll take a picture

              0_1525656212209_111.png

              Create a working config
              How to add modules

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

                Click on the picture and then click on the picture again in the new window so you can see it large enough. You can use this entire tag in your module.js file if you like. Simply replace WWI.currently.summary with the path to your data

                Create a working config
                How to add modules

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

                  Orrrrrrrrrrrrrrrrrrr you can just go here and download the module ;)

                  http://108.29.66.102:443/topic/42/mmm-ticknews

                  There’s a config in the config.example inside the zip file… enjoy.

                  [BUT make sure you dir is named MMM-Ticknews and not mmm-ticknews ;)]

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

                    @mykle1 Thanks, but the PM was regarding a completely different task, One that I’m trying actually create.

                    A playlist shuffle and random for YouTube … :smiling_face_with_sunglasses:

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

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

                      Youtube is a tough nut … I have a youtube module but it’s not random it shows a playlist and rotates through it…

                      justjim1220J 1 Reply Last reply Reply Quote 1
                      • 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

                                    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 / 1
                                    • 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