Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamlink on Windows opens a cmd window #336

Closed
mgitkun opened this issue Oct 28, 2016 · 7 comments
Closed

Streamlink on Windows opens a cmd window #336

mgitkun opened this issue Oct 28, 2016 · 7 comments
Labels

Comments

@mgitkun
Copy link

mgitkun commented Oct 28, 2016

Description

When using Streamlink you're unable to kill a stream that's currently being opened with the close stream button in the pop-up dialogue box.

Expected / Actual behavior

Pressing the close stream button closes the dialogue box and ends the connection, preventing the stream from being opened.
...
Pressing the close stream button closes the dialogue box but does not prevent the stream from being opened.

Reproduction steps

  1. Select Streamlink.exe as the livestreamer executable.
  2. Attempt to open any stream.
  3. X out of the dialogue box before the requested stream has been opened.

Environment details (operating system, etc.)

Windows 7 x64
Livestreamer GUI 0.16.0

@bastimeyer
Copy link
Member

This is a bug related to Streamlink (or Livestreamer when installed via pip)

See #331 (comment) and the following comments.

@bastimeyer
Copy link
Member

Fixed in the streamproviders branch that splits the old livestreamer structure into streamlink, livestreamer and livestreamer-standalone (Windows installer).

Streamlink and Livestreamer will now be launched directly via the python executable (pythonw.exe on Windows) instead of relying on the shebang inside the python scripts which were used previously. This removes the cmd window on Windows while using Streamlink or Livestreamer when installed via pip.

I'm going to close this issue once the branch has been merged into master.

@bastimeyer bastimeyer changed the title Unable to close a requested stream before it opens. Streamlink on Windows opens a cmd window Nov 5, 2016
bastimeyer added a commit that referenced this issue Nov 5, 2016
@ghost
Copy link

ghost commented Nov 17, 2016

Are there going to be a new release anytime soon?

@bastimeyer
Copy link
Member

I don't have planned anything yet. I want the next release to be the last one with the current name. There's still some work to do, so that the transition can be smooth.

If the cmd window issue with Streamlink on Windows annoys you, just switch back to Livestreamer (which is still working fine thanks to the workarounds in the GUI) or build the application off the master branch and help testing it, so I can be sure that I haven't missed a bug. 😃

@ghost
Copy link

ghost commented Nov 17, 2016

I have tried to build it, but I always get the same error:

Running "webpack:dev" (webpack) task events.js:160
throw er; // Unhandled 'error' event
^

Error: This socket is closed
at WriteStream.Socket._writeGeneric (net.js:683:19)
at WriteStream.Socket._write (net.js:734:8)
at doWrite (_stream_writable.js:334:12)
at writeOrBuffer (_stream_writable.js:320:5)
at WriteStream.Writable.write (_stream_writable.js:247:11)
at WriteStream.Socket.write (net.js:661:40)
at Log._write (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt-legacy-log\index.js:161:26)
at Log.wrapper as _write
at Log._writeln (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt-legacy-log\index.js:166:8)
at Log.wrapper as _writeln
at Log.writeln (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt-legacy-log\index.js:177:8)
at Log.wrapper (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt-legacy-log\node_modules\lodash\index.js:3095:19)
at writeln (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt\lib\grunt\fail.js:30:13)
at Object.fail.fatal (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt\lib\grunt\fail.js:46:3)
at process.uncaughtHandler (C:\Users\XYZ\livestreamer-twitch-gui\node_modules\grunt\lib\grunt.js:121:10)
at emitOne (events.js:96:13)
at process.emit (events.js:188:7)
at process._fatalException (bootstrap_node.js:292:26)

@bastimeyer
Copy link
Member

I don't know what you're doing, but please follow the contributing guide and use the latest stable versions of git, nodejs, npm and bower and make sure that all dependencies are installed correctly.

@bastimeyer
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants