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

VLC Error “Your Input Can’t be Opened” #1

Closed
ARN1SH opened this issue Jan 9, 2022 · 9 comments
Closed

VLC Error “Your Input Can’t be Opened” #1

ARN1SH opened this issue Jan 9, 2022 · 9 comments
Labels
good first issue Good for newcomers

Comments

@ARN1SH
Copy link

ARN1SH commented Jan 9, 2022

image

Tried till 5th
https://moviemaker.minitool.com/moviemaker/vlc-your-input-cant-be-opened.html

@ARN1SH ARN1SH changed the title https://moviemaker.minitool.com/moviemaker/vlc-your-input-cant-be-opened.html VLC Error “Your Input Can’t be Opened” Jan 9, 2022
@pb581
Copy link
Owner

pb581 commented Jan 9, 2022

That is because the MRL is expired; it's from when I uploaded the repo here (you can see that MRL expired at 1639572284 UNIX time, which was on 15 Dec 2021, around the time I uploaded the repo).

Run the lofi_set.bat script, not the lofi.bat one, to fetch a fresh playback url first, it will call other scripts as needed. Let me know if the issue is resolved.

@ARN1SH
Copy link
Author

ARN1SH commented Jan 9, 2022

I saw the error after running lofi_set.bat

@pb581
Copy link
Owner

pb581 commented Jan 9, 2022

I saw the error after running lofi_set.bat

Hmm, that is weird. That means the python script yt_stream.pyw that is supposed to fetch a new MRL isn't working for you. Just to make sure, have you installed the listed dependencies (pafy) for python for the script to work? If not, run pip install pafy from the command line first and then run lofi_set.bat.

@pb581
Copy link
Owner

pb581 commented Jan 9, 2022

I pushed a few changes to log what's happening. Clone the repo again (run git clone https://github.com/pb581/lofi-chill/ && cd lofi-chill if you have git available from command line or manually clone the repo) and then run start lofi_set.bat

There should be a log.txt generated post execution. If problem persists, post the log file here for me to see what's happening on your end. And like I said in the previous comment, you need the pafy module installed for the script to work.

@pb581 pb581 assigned pb581 and ARN1SH Jan 9, 2022
@ARN1SH
Copy link
Author

ARN1SH commented Jan 10, 2022

I saw the error after running lofi_set.bat

Hmm, that is weird. That means the python script yt_stream.pyw that is supposed to fetch a new MRL isn't working for you. Just to make sure, have you installed the listed dependencies (pafy) for python for the script to work? If not, run pip install pafy from the command line first and then run lofi_set.bat.

Installed the dependencies before running the script.

@ARN1SH
Copy link
Author

ARN1SH commented Jan 10, 2022

It creates the log.txt but no log is outputted in it.
image
However the error is outputted in the terminal.
image

@pb581
Copy link
Owner

pb581 commented Jan 10, 2022

D'oh! I forgot to list youtube-dl as a required dependency.

@pb581
Copy link
Owner

pb581 commented Jan 10, 2022

I added a requirements.txt file to use with pip and an installation procedure in the README; also a hotfix for pafy that is needed (the official repo is not maintained anymore: it is a fix for mps-youtube/pafy#306). Go to %localappdata%\programs\python\python310\lib\site-packages\pafy\ and overwrite the backend_youtube_dl.py there with the one given in the \hotfix\ directory of this repo. It should work (I checked it just now in a virtual env).

@ARN1SH
Copy link
Author

ARN1SH commented Jan 10, 2022

Issue solved!

@ARN1SH ARN1SH closed this as completed Jan 10, 2022
@pb581 pb581 added the good first issue Good for newcomers label Jan 10, 2022
@pb581 pb581 unassigned pb581 and ARN1SH Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants