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.

    I can't get screencast to show up longer?

    Scheduled Pinned Locked Moved General Discussion
    1 Posts 1 Posters 224 Views 1 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.
    • F Offline
      fribse
      last edited by fribse

      Not sure what the h… happened here.
      My MMM-Screencast doesn’t show up in the Youtube app any longer.

      I did a reinstall with

      git clone https://github.com/kevinatown/MMM-Screencast.git
      cd MMM-Screencast
      npm install
      

      Config looks like this

      {
            module: "MMM-Screencast",
            position: "bottom_right",
            config: {
              castName: "Spejl",
              position: "bottomCenter",
              height: 600,
              width: 800,
            }
          },
      

      Just to be sure that I had the latest, but nothing shows up.
      Is there a special trick for this?

      Looking in the logs, I did find something, but I don’t understand the meaning, except that it says it’s already listening?

      0|MagicMir | [24.04.2021 17:30.32.266] [ERROR] Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without clo
      sing.
      0|MagicMir |     at Server.listen (net.js:1386:11)
      0|MagicMir |     at DialServer.start (/home/pi/MagicMirror/modules/MMM-Screencast/DialServer.js:123:17)
      0|MagicMir |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-Screencast/node_helper.js:22:21)
      0|MagicMir |     at Socket.<anonymous> (/home/pi/MagicMirror/js/node_helper.js:109:11)
      0|MagicMir |     at Socket.emit (events.js:210:5)
      0|MagicMir |     at /home/pi/MagicMirror/node_modules/socket.io/dist/socket.js:434:28
      0|MagicMir |     at processTicksAndRejections (internal/process/task_queues.js:75:11) {
      0|MagicMir |   code: 'ERR_SERVER_ALREADY_LISTEN'
      0|MagicMir | }
      

      I looked a bit with
      sudo netstat -tulpn | grep LISTEN
      And without MagicMirror running it shows

      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      490/sshd
      tcp6       0      0 :::22                   :::*                    LISTEN      490/sshd
      

      with MagicMirror it shows

      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      490/sshd
      tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      5754/electron.js
      tcp6       0      0 :::22                   :::*                    LISTEN      490/sshd
      tcp6       0      0 :::8569                 :::*                    LISTEN      5754/electron.js
      

      So the port 8569, isn’t that screencast? If I uncomment the screencast config, it doesn’t show the port as opened…
      So why doesn’t it show up in the app?

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