jrudess / streamdvr

DVR for streaming entertainment
GNU General Public License v3.0
68 stars 16 forks source link

STREAMDVR DOES NOT RECOGNIZE WHEN STREAM INITIALLY GOES LIVE | Trouble Installing and Using Streamdvr (Missing Module 'js-yaml') #151

Closed atortellini closed 3 years ago

atortellini commented 3 years ago

UPDATE ON REOPEN: I have ran node streamlink and the program has worked in being capable of recording a twitch livestream as it is live. However, it seems to fail in detecting when a stream actually begins to go live and requires me to rerun the script in order to detect the stream is live. I'm not sure if this is an issue that has to with the missing module or something else.

I'd just like to preface this by saying I am extremely new to using WSL and any form of Linux for that matter, so please bare with me when working through this. I've recently followed through all of the instructions with installing each dependency for streamdvr while using Ubuntu 20.04, but have managed to run into two errors. I don't believe these two errors are related, however, my first one occurred when installing streamlink and attempting to install the required generic plugin along with it. When attempting to sideload the plugin with streamlink, I received this error: "Failed to load plugin generic: File "/usr/lib/python3.8/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.8/imp.py", line 171, in load_source module = _load(spec) File "", line 702, in _load File "", line 671, in _load_unlocked File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed File "/home/ducky/.config/streamlink/plugins/generic.py", line 23, in from streamlink.plugin import Plugin, PluginArgument, PluginArguments, pluginmatcher ImportError: cannot import name 'pluginmatcher' from 'streamlink.plugin' (/usr/lib/python3/dist-packages/streamlink/plugin/init.py)"

I'm not exactly sure how to go about fixing this so any help would be appreciated if you have knowledge on the issue. However, along with this, when attempting to run streamdvr I am prompted with this issue: "$ streamdvr internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'js-yaml' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/mnt/c/streamdvr/streamdvr:9:15) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3)"

This is another issue that I have no idea how to fix and have attempted searching for and downloading the module that it cannot find, however, I still had no luck with being able to run it. I'm not sure if this has anything to do with it, but after having downloaded the project and running npm install, this had appeared: "This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!" Although I have no idea, this may have caused an issue with the module with the difference in versions that exists. Any help would be extremely appreciated in order to get this working. I am willing to provide any extra information that is required to help troubleshoot this. Thank you!