MMM-Screencast
MMM-Screencast copied to clipboard
Video Open and Close Problem
Hi there; I have a bug about this module. Sometimes I open a video from Youtube and reflect to mirror. Everytihing is okey until this. After that when I try to close connection with mirror, video doesn't close. Although I restart to maigc mirror, youtube screen doesn't close.
How can I fix this bug. Please help me
Huh, @Mert4531 this is an odd one.
- Do you have any more info/logs?
- Can you reconnect to the Cast after "Closing" and close again?
If you can get some logs of this happening so that I might get a better idea of what is happening, you can do that like:
display=:0 npm start >> log.log
Connect, recreate the issue, then attaching the log.log here. Thanks!
I'm seeing this as well, the connection takes very long to establish, sometimes gives up on the phone, while showing youtube on the monitor. Then it stops showing up on the list on the phone, while still showing on the monitor. After a stream, if I disconnect, it will often still show the window on the mirror as well.
When I start the youtube I see this on the console with the logging active: [2020-08-08 09:26:51.738] [ERROR] Whoops! There was an uncaught exception... [2020-08-08 09:26:51.752] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080 at Server.setupListenHandle [as _listen2] (net.js:1226:14) at listenInCluster (net.js:1274:12) at doListen (net.js:1413:7) at processTicksAndRejections (internal/process/task_queues.js:84:9) { code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '0.0.0.0', port: 8080 } [2020-08-08 09:26:51.781] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-08-08 09:26:51.782] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
The logfile produced: `cat log.log
[email protected] start /home/pi/MagicMirror DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
[2020-08-08 09:18:36.491] [LOG] Starting MagicMirror: v2.12.0 [2020-08-08 09:18:36.516] [LOG] Loading config ... [2020-08-08 09:18:36.533] [LOG] Loading module helpers ... [2020-08-08 09:18:36.779] [LOG] Initializing new module helper ... [2020-08-08 09:18:36.782] [LOG] Module helper loaded: MMM-ModuleScheduler [2020-08-08 09:18:36.787] [LOG] No helper found for module: alert. [2020-08-08 09:18:36.955] [LOG] Initializing new module helper ... [2020-08-08 09:18:36.957] [LOG] Module helper loaded: updatenotification [2020-08-08 09:18:36.959] [LOG] No helper found for module: clock. [2020-08-08 09:18:38.355] [LOG] Initializing new module helper ... [2020-08-08 09:18:38.357] [LOG] Module helper loaded: calendar [2020-08-08 09:18:38.543] [LOG] Initializing new module helper ... [2020-08-08 09:18:38.545] [LOG] Module helper loaded: MMM-PoemOfTheDay [2020-08-08 09:18:38.546] [LOG] No helper found for module: compliments. [2020-08-08 09:18:38.667] [LOG] Initializing new module helper ... [2020-08-08 09:18:38.669] [LOG] Module helper loaded: MMM-network-signal [2020-08-08 09:18:38.670] [LOG] No helper found for module: currentweather. [2020-08-08 09:18:38.770] [LOG] Initializing new module helper ... [2020-08-08 09:18:38.772] [LOG] Module helper loaded: newsfeed [2020-08-08 09:18:38.823] [LOG] Initializing new module helper ... [2020-08-08 09:18:38.826] [LOG] Module helper loaded: MMM-SystemStats [2020-08-08 09:18:40.060] [LOG] Initializing new module helper ... [2020-08-08 09:18:40.063] [LOG] Module helper loaded: MMM-MyCommute [2020-08-08 09:18:40.245] [LOG] Initializing new module helper ... [2020-08-08 09:18:40.247] [LOG] Module helper loaded: MMM-YrThen [2020-08-08 09:18:40.441] [LOG] Initializing new module helper ... [2020-08-08 09:18:40.443] [LOG] Module helper loaded: MMM-Remote-Control [2020-08-08 09:18:41.544] [LOG] Initializing new module helper ... [2020-08-08 09:18:41.595] [LOG] Module helper loaded: MMM-Screencast [2020-08-08 09:18:42.446] [LOG] Initializing new module helper ... [2020-08-08 09:18:42.448] [LOG] Module helper loaded: MMM-MQTTbridge [2020-08-08 09:18:42.449] [LOG] All module helpers loaded. [2020-08-08 09:18:42.925] [LOG] Starting server on port 8080 ... [2020-08-08 09:18:42.949] [INFO] You're using a full whitelist configuration to allow for all IPs [2020-08-08 09:18:42.972] [LOG] Server started ... [2020-08-08 09:18:42.979] [LOG] Connecting socket for: MMM-ModuleScheduler [2020-08-08 09:18:42.981] [LOG] Starting node helper for: MMM-ModuleScheduler [2020-08-08 09:18:42.983] [LOG] Connecting socket for: updatenotification [2020-08-08 09:18:42.986] [LOG] Connecting socket for: calendar [2020-08-08 09:18:42.987] [LOG] Starting node helper for: calendar [2020-08-08 09:18:42.989] [LOG] Connecting socket for: MMM-PoemOfTheDay [2020-08-08 09:18:42.991] [LOG] Starting module helper: MMM-PoemOfTheDay [2020-08-08 09:18:42.993] [LOG] Connecting socket for: MMM-network-signal [2020-08-08 09:18:42.995] [LOG] MMM-network-signal helper started ... [2020-08-08 09:18:42.998] [LOG] Connecting socket for: newsfeed [2020-08-08 09:18:43.001] [LOG] Starting node helper for: newsfeed [2020-08-08 09:18:43.006] [LOG] Connecting socket for: MMM-SystemStats [2020-08-08 09:18:43.010] [LOG] Connecting socket for: MMM-MyCommute [2020-08-08 09:18:43.017] [LOG] ====================== Starting node_helper for module [MMM-MyCommute] [2020-08-08 09:18:43.021] [LOG] Connecting socket for: MMM-YrThen [2020-08-08 09:18:43.025] [LOG] MMM-YrThen 8/8/2020 9:18:43 AM: Starting helper for MMM-YrThen [2020-08-08 09:18:43.030] [LOG] Connecting socket for: MMM-Remote-Control [2020-08-08 09:18:43.034] [LOG] Starting node helper for: MMM-Remote-Control [2020-08-08 09:18:43.066] [LOG] Connecting socket for: MMM-Screencast [2020-08-08 09:18:43.070] [LOG] Connecting socket for: MMM-MQTTbridge [2020-08-08 09:18:43.074] [LOG] [MQTT bridge] Module started [2020-08-08 09:18:43.076] [LOG] Sockets connected & modules started ... [2020-08-08 09:18:43.478] [LOG] Launching application. `
Hi there; I have a bug about this module. Sometimes I open a video from Youtube and reflect to mirror. Everytihing is okey until this. After that when I try to close connection with mirror, video doesn't close. Although I restart to maigc mirror, youtube screen doesn't close.
How can I fix this bug. Please help me
Hi by any chance did you run it on a remote desktop? Dont use remote desktop to cast