• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 66.6k 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.
  • C Offline
    Cr4z33 @justjim1220
    last edited by Nov 15, 2018, 2:35 PM

    @justjim1220 said in MMM-NewsFeedTicker:

    New Update —> please run a git pull && npm install within the NewsFeedTicker directory

    Got an error:

    ~/MagicMirror/modules/MMM-NewsFeedTicker $ git pull && npm install
    remote: Enumerating objects: 7, done.
    remote: Counting objects: 100% (7/7), done.
    remote: Compressing objects: 100% (4/4), done.
    remote: Total 4 (delta 2), reused 0 (delta 0), pack-reused 0
    Unpacking objects: 100% (4/4), done.
    Da https://github.com/justjim1220/MMM-NewsFeedTicker
       5895a96..eed535d  master     -> origin/master
    Aggiornamento di 5895a96..eed535d
    error: Your local changes to the following files would be overwritten by merge:
    	MMM-NewsFeedTicker.css
    Please commit your changes or stash them before you merge.
    Aborting
    
    J 1 Reply Last reply Nov 15, 2018, 7:58 PM Reply Quote 0
    • C Offline
      Cr4z33 @justjim1220
      last edited by Cr4z33 Nov 17, 2018, 9:54 AM Nov 15, 2018, 3:17 PM

      @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
      • J Offline
        justjim1220 Module Developer @Cr4z33
        last edited by Nov 15, 2018, 7:58 PM

        @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

        C 1 Reply Last reply Nov 16, 2018, 10:29 AM Reply Quote 0
        • C Offline
          Cr4z33 @justjim1220
          last edited by Nov 16, 2018, 10:29 AM

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

          J 1 Reply Last reply Nov 16, 2018, 10:48 PM Reply Quote 0
          • J Offline
            justjim1220 Module Developer @Cr4z33
            last edited by Nov 16, 2018, 10:48 PM

            @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

            C 1 Reply Last reply Nov 17, 2018, 9:40 AM Reply Quote 0
            • C Offline
              Cr4z33 @justjim1220
              last edited by Cr4z33 Nov 17, 2018, 9:50 AM Nov 17, 2018, 9:40 AM

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

              Thanks.

              1 Reply Last reply Reply Quote 1
              • B Offline
                BKeyport Module Developer
                last edited by Nov 18, 2018, 5:00 AM

                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"

                C 1 Reply Last reply Nov 18, 2018, 7:51 AM Reply Quote 0
                • C Offline
                  Cr4z33 @BKeyport
                  last edited by Nov 18, 2018, 7:51 AM

                  @bkeyport so that’s not only me?

                  I thought I messed up something in the CSS.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BKeyport Module Developer
                    last edited by Nov 18, 2018, 1:50 PM

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

                    C 1 Reply Last reply Nov 18, 2018, 1:51 PM Reply Quote 0
                    • C Offline
                      Cr4z33 @BKeyport
                      last edited by Nov 18, 2018, 1:51 PM

                      @bkeyport oh great doing it now thanks.

                      B 1 Reply Last reply Nov 18, 2018, 1:54 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 6 / 10
                      6 / 10
                      • First post
                        52/94
                        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