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

api bad request #6

Closed
Theo1996 opened this issue Apr 7, 2024 · 3 comments
Closed

api bad request #6

Theo1996 opened this issue Apr 7, 2024 · 3 comments

Comments

@Theo1996
Copy link

Theo1996 commented Apr 7, 2024

[mpv_youtube_chat_master] Lua error: ...portable_config/scripts/mpv-youtube-chat-master/main.lua:9: attempt to concatenate a nil value
changedthe second "home" to "userprofile" in line 9, since windows doesnt have "home"
it started working but then:

[mpv_youtube_chat_master] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
AV: 00:00:06 / 05:23:22 (0%) A-V: 0.000 Cache: 200s/14MB
[mpv_youtube_chat_master] [youtube] EOkuS_mgr3s: Downloading android player API JSON
[mpv_youtube_chat_master] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
AV: 00:00:07 / 05:23:22 (0%) A-V: 0.000 Cache: 217s/16MB
[mpv_youtube_chat_master] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
[mpv_youtube_chat_master] [youtube] EOkuS_mgr3s: Downloading android player API JSON
[mpv_youtube_chat_master] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
AV: 00:00:07 / 05:23:22 (0%) A-V: 0.000 Cache: 222s/16MB
[mpv_youtube_chat_master] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
[mpv_youtube_chat_master] [youtube] EOkuS_mgr3s: Downloading android player API JSON
[mpv_youtube_chat_master] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...

win 7 64 bit ultimate
mpv version 2023.12.30

@Theo1996 Theo1996 changed the title lua: attempt to concatenate a nil value api bad request Apr 7, 2024
@BanchouBoo
Copy link
Owner

[mpv_youtube_chat_master] Lua error: ...portable_config/scripts/mpv-youtube-chat-master/main.lua:9: attempt to concatenate a nil value

Fixed in ffa1161

The rest of the errors are problems with yt-dlp so I can't really help there. Make sure you're up to date, and make sure mpv is configured to point to it correctly.

@Theo1996
Copy link
Author

Theo1996 commented Apr 27, 2024

Downloaded the new version it still says bad API etc like I mentioned above but then it downloads the chat normally and it displays it in the video thank you!
Does it delete the chat logs after? Or do I have to do that manually?

@BanchouBoo
Copy link
Owner

You have to delete them manually.

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