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-NewsFeedTicker

    Scheduled Pinned Locked Moved Utilities
    94 Posts 15 Posters 78.0k Views 14 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.
    • Cr4z33C Offline
      Cr4z33 @justjim1220
      last edited by Cr4z33

      @justjim1220 althought I know ZERO about developing, JSON, CSS & Co. I was doing a quick search on Google about scrolling text stuttering in Electron on slow devices and I found out a suggestion at Stackoverflow.com that actually improved A LOT the overall perfomance of the newsfeed scrolling!

      Go open /home/pi/MagicMirror/modules/MMM-NewsFeedTicker/MMM-NewsFeedTicker and replace

      .MMM-NewsFeedTicker .tickerbody {
        position: relative;
      

      with

      .MMM-NewsFeedTicker .tickerbody {
        position: relative;
        transform: translateZ(0);
        backface-visibility: hidden;
      

      You should notice now an improvement. :upside-down_face:

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

        @cr4z33

        This error you got is just letting you know it can’t overwrite file within the module that you made any changes to
        You have to rename the file or delete it or just remove it from the directory

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

        Cr4z33C 1 Reply Last reply Reply Quote 0
        • Cr4z33C Offline
          Cr4z33 @justjim1220
          last edited by

          @justjim1220 OK I ran the update succesfully by deleting the CSS.

          However I would like to revert to how it was looking before the update (static image on the left and smaller scrolling text). :grimacing_face:
          How do I do that please?

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

            @cr4z33

            If you did not make any changes to the original files, run git pull && npm install

            If you made changes to any of the original files that you want to keep, rename those files, then run git pull && npm install

            if there isn’t anything you need saved, delete the MMM-NewsFeedTicker directory and run the git clone '. . .'

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

            Cr4z33C 1 Reply Last reply Reply Quote 0
            • Cr4z33C Offline
              Cr4z33 @justjim1220
              last edited by Cr4z33

              @justjim1220 that’s what I already did, but I see you now fixed that. :)

              Thanks.

              1 Reply Last reply Reply Quote 1
              • BKeyportB Offline
                BKeyport Module Developer
                last edited by

                Looking good, other than the logo now appearing centered on final position - I have deleted all custom css…

                The "E" in "Javascript" stands for "Easy"

                Cr4z33C 1 Reply Last reply Reply Quote 0
                • Cr4z33C Offline
                  Cr4z33 @BKeyport
                  last edited by

                  @bkeyport so that’s not only me?

                  I thought I messed up something in the CSS.

                  1 Reply Last reply Reply Quote 0
                  • BKeyportB Offline
                    BKeyport Module Developer
                    last edited by

                    @Cr4z33 Nope, not just you.

                    Fixed it, actually. added the line “left: 0px;” in my custom css in the “.MMM-NewsFeedTicker .image” section… it’ll force the image to the left.

                    The "E" in "Javascript" stands for "Easy"

                    Cr4z33C 1 Reply Last reply Reply Quote 0
                    • Cr4z33C Offline
                      Cr4z33 @BKeyport
                      last edited by

                      @bkeyport oh great doing it now thanks.

                      BKeyportB 1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer @Cr4z33
                        last edited by

                        fwiw, it could have happened as adjustments made to the code for a feature I asked for… :innocent look:

                        The "E" in "Javascript" stands for "Easy"

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

                          Any way to make the logo smaller? It got huge with using the keyframes bit

                          1 Reply Last reply Reply Quote 0
                          • BKeyportB Offline
                            BKeyport Module Developer
                            last edited by

                            yes, as a matter of fact. Fixes the centering too if you have that problem:

                            custom.css in css subdirectory:

                            .MMM-NewsFeedTicker .image {
                            position: absolute;
                            display: inline-block;
                            vertical-align: middle;
                            margin-left: 0;
                            height: 40px; /* set to your image size */
                            z-index: 1;
                            background-color: #FFF;
                            bottom: 0;
                            left: 0px;

                            }

                            The "E" in "Javascript" stands for "Easy"

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

                              This module has been updated
                              Please do a git pull && npm i to update
                              Thanks!

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

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

                                Hello,
                                Great module, exactly what I was looking for. however, the lettering stutters. Is there a way to fix this? I use a Rasperry pi3. How do I remove the logo from the feed? Many thx

                                my config.js

                                  	{
                                  	  module: "MMM-NewsFeedTicker",
                                  	  position: "middle_center",
                                  	  //classes: "day_scheduler",
                                  	  config: {
                                  	    feeds: [
                                      		{
                                      			title: "sportBILD",
                                      			url: "https://sportbild.bild.de/rss/vw-fussball/vw-fussball-45036878,sort=1,view=rss2.sport.xml",
                                      			encoding: "UTF-8",
                                      			className: "myClass",
                                      			//defaultLogo: ""
                                      		}
                                	      ]
                                  	  }
                                    },
                                

                                and my custom.css

                                .MMM-NewsFeedTicker {
                                    width: 80;
                                    height: 30px;
                                    background-color: none;
                                 }
                                .MMM-NewsFeedTicker .tickerbody {
                                    position: absolute;
                                    bottom: 10px;
                                    transform: translateZ(0);
                                    backface-visibility: hidden;
                                    animation: marquee 30s linear infinite;
                                }
                                .MMM-NewsFeedTicker .image {
                                    margin-left: 0;
                                    bottom: 10px;
                                    height: 30px;
                                }
                                
                                justjim1220J Mykle1M 2 Replies Last reply Reply Quote 0
                                • justjim1220J Offline
                                  justjim1220 Module Developer @mrSnatz
                                  last edited by

                                  @mrSnatz said in MMM-NewsFeedTicker:

                                  In this section,

                                  .MMM-NewsFeedTicker .image {
                                  margin-left: 0;
                                  bottom: 10px;
                                  height: 30px;
                                  }

                                  add display: none;

                                  as far as the stuttering, I was told that animation will do that with Pi

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

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

                                    @mrSnatz said in MMM-NewsFeedTicker:

                                    the lettering stutters.

                                    Yep, the Pi struggles with some animations. Scrolling happens to be one of them. If they are important to you then you might consider something more robust than the Pi. There are alternatives from other single board computers, all the way up to mini ITX motherboards. Still others run MM (server) on a full blown desktop machine and use the Pi to remote in to view MM

                                    Create a working config
                                    How to add modules

                                    1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      mrSnatz
                                      last edited by

                                      @justjim1220 said in MMM-NewsFeedTicker:

                                      display: none;

                                      Many thanks for the answer. Yes, I also thought about buying a stronger computer. What is your opinion on the Asus Tinkerboard? would he fix the problem?

                                      Mykle1M justjim1220J ? 3 Replies Last reply Reply Quote 0
                                      • Mykle1M Offline
                                        Mykle1 Project Sponsor Module Developer @mrSnatz
                                        last edited by

                                        @mrSnatz said in MMM-NewsFeedTicker:

                                        What is your opinion on the Asus Tinkerboard? would he fix the problem?

                                        I don’t have an opinion on the Tinkerboard. I’ve never used one, but there are several people on the forum that have. Perhaps then will chime in with their opinions. Good luck.

                                        Create a working config
                                        How to add modules

                                        1 Reply Last reply Reply Quote 0
                                        • mumblebajM Offline
                                          mumblebaj Module Developer @justjim1220
                                          last edited by

                                          @justjim1220 Have you ever managed to get this resolved? I a not getting the image from my 1 local news feed pulled in and not sure what else I can do to see if I can get it to come through.
                                          The news feed is from: http://feeds.news24.com/articles/news24/SouthAfrica/rss
                                          and the image is supposed to come from: https://scripts.24.co.za/img/sites/news24.png
                                          0_1557337223616_Ticker.PNG

                                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                          Check my blog-post: https://mumblebaj.xyz/
                                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

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

                                            @mrSnatz

                                            I have never used a Tinkerboard, so no thoughts regarding the use of one. Apologies!

                                            "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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 5 / 5
                                            • 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