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

can't find '__main__' module #44

Closed
hellishvictor opened this issue Jul 2, 2023 · 2 comments
Closed

can't find '__main__' module #44

hellishvictor opened this issue Jul 2, 2023 · 2 comments

Comments

@hellishvictor
Copy link

Hi, I've loaded the script to roaming\streamlin\plugins\ and run streamlink from a batch file, when an ad start, it stop the stream and shows the following:

streamlink "twitch.tv/whatever" --twitch-reexec-on-ad

[plugins.twitch][info] Streamlink Twitch plugin (2bc4 fork).
[plugins.twitch][info] Please report issues to https://github.com/2bc4/streamlink-ttvlol/issues
[cli][info] Found matching plugin twitch for URL twitch.tv/whatever
[cli][info] Available streams: audio_only, 160p (worst), 360p, 480p_alt, 480p (best)
[cli][info] Opening stream: 480p (hls)
[cli][info] Starting player: "C:\PROGRA~1\MPC-HC\mpc-hc64.exe"
[plugins.twitch][info] Encountered an ad segment, re-execing to retrieve a new playlist

C:\Program Files\python\python.exe: can't find '__main__' module in 'C:\\Program Files\\Python\\Scripts\\streamlink'

Cheers

@2bc4
Copy link
Owner

2bc4 commented Jul 5, 2023

Hmm, what's the output if you also pass --loglevel=debug?

and run streamlink from a batch file

This could be the issue, someone also was having trouble with running it from a script.

@2bc4
Copy link
Owner

2bc4 commented Jul 29, 2023

Closed due to inactivity. Feel free to open a new issue if you are still encountering this.

@2bc4 2bc4 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants