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-NEWS problem

    Scheduled Pinned Locked Moved Utilities
    32 Posts 4 Posters 6.4k Views 5 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.
    • S Offline
      stuartiannaylor
      last edited by stuartiannaylor

      Its not your module shaun but bugs elsewhere with freezing modules has some refreshing and then that cascades down to yours.

      All I am saying is if you want a fix don’t go the electron way as because its part of the server it gets restarted with the server so you end up due to other modules periodically restarting with the effect that gives of flashing screens and desktop views.
      What I am saying is that actually if you use chromium you don’t need to restart the heavy browser as you can keep that in view. You can restart the server and then do a hard refresh and because you start from a restart on the “Ready to go! Please point your browser to:8080” it can have no effect on any module.

      That is it Sean and we shall not say argument but its you telling me that isn’t true when it is and I have your module MMM-news on a screen doing the above without restart and no duplication.
      Its how I set it up because it has puzzled the hell out of me why with stateless browser / server technology you have lumped them into one?
      As a roadmap you prob need to separate client / server or more users like this one will realise it works better when using chromium and not electron even though its only due to the way electron has been implemented.

      I think your MMM-News module is the business and a large part of the way I did my setup was to make it work seamlessly with any module without needing browser restarts and it does that perfectly.
      PS any chance when you bring the iframe of the full article up in an Iframe that you can enable and activate the DOM distiller so its in ‘Reader mode’?

      ? 2 Replies Last reply Reply Quote 0
      • ? Offline
        A Former User @stuartiannaylor
        last edited by A Former User

        @stuartiannaylor

        Its not your module shaun but bugs elsewhere with freezing modules has some refreshing and then that cascades down to yours.

        I agree with you. but that’s not my fault.
        However I always prefer to restart whole server/front than just to refresh only front.

        Ideally to develop backend to work separated with frontend is a good behavior, but not so simple as expect. Ok, that is not an issue about difficulty but tiresome. This is not my job and MM is not commercial product. If someone has a problem on his MM, Just he can restart it. that is very simple solution.

        By the way;
        To fix(?) this bug(?) of this module is simple. Just inserting check routine for aggregator being already running or not on line 56 of node_helper.js. It will be just one-line solution. It could be a bullet-proof solution for this kind of issue.
        But should I do that? (I’ll patch anyway)

        But how about for my other modules? That might not be so simple for some modules of mine like this.(yes that will be entirely due to my lack of skills). Rather I want to eager to ppl to just RESTART when they have a problem with other modules instead my developing bullet-proof module. or at least, eager to use bug-less modules.

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          @stuartiannaylor said in MMM-NEWS problem:

          DOM distiller

          For that, currently I have no idea yet. I’m not sure it is available on Electron also. (Lack of information)

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @stuartiannaylor
              last edited by

              @stuartiannaylor
              Reader mode is added.

              1 Reply Last reply Reply Quote 0
              • S Offline
                stuartiannaylor
                last edited by

                Yeah that will be amazing will have to check it out.

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