-
Notifications
You must be signed in to change notification settings - Fork 4
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
script-opts seem to be ignored #16
Comments
Config files in mpv uses equal sign "=", not colon.
Currently the script is able to retrieve a working client ID from the stream. But again this is all implementation detail from Twitch. This mechanism could fail anytime. In that case, the script will fallback to the configured ID. So I recommend always provide that ID for safety. |
Doesn't make a difference when I use equal signs instead.
|
Oh, just noticed your config filename is wrong. It should be |
This mostly did the trick. Another issue was that I was putting spaces around the equal signs which it does not like and that I used The only remaining issue is that it does not recognize the |
As I said, it is working as expected, that your provided option will be used when Twitch stop giving out a working ID from their API. |
Sorry about the confusion, this is a new issue I'm talking about. When I put |
Should be fixed now. |
I'm getting an error with this now:
EDIT: EDIT 2: |
Sorry about that. Try now. |
Ok thanks, it works now (as in it puts out an error message that indicates that something with my client id is wrong). |
I have the same-ish issue: no matter what I do, parameters from the Some hopefully helpful hints: the script stopped working roughly about 1-2 years back when I switched to a newer MX-linux build and a newer mpv (probably 0.34), but I didn't pay much attention to that because of very little script's usage at the time. Then this year I switched to 0.35 and when I loaded a random vod ~last week - suddenly there were comments, placed as normal subs ofc. I added a twitch profile to And another small note: when any vod is loaded on pause or being played at faster speeds/seeked, the total number of subs counter in the lower right is incremented, is this the expected behavior? I think it wasn't before. |
I'v got the chat working but it seems scipt-opts are ignored.
I cloned the repo to the mpv scripts dir so that the script is located at
~/.config/mpv/scripts/mpv-twitch-chat/main.lua
and I have tried putting following script opts file at~/.config/mpv/script-opts/twitch.conf
:Although
show_name
is set totrue
names are not shown. I also tried passing a single option via--script-opts=show_name=true
command line parameter, but same result.My
~/.config/mpv/mpv.conf
:Also what's strange is if I remove my twitch.conf altogether, the chat subtitles still work, so it seems the
twitch_client_id
isn't even that necessary.Here's the output of mpv during playback, there are no apparent errors:
The text was updated successfully, but these errors were encountered: