Closed NaiveInvestigator closed 1 year ago
Isn't Lua embedded in mpv? It looks like mpv's Lua is guaranteed >= 5.2, so why do you put "< 5.2" in the title?
I had a similar issue where i got this kind of error in another script, so I assumed it is the same one of this script. I maybe be totally wrong tho sorry. https://github.com/vc-01/metadata-osd/issues/11
There is no "continue" around line 141 in the script. Maybe your installation went wrong?
oh sorry i didn't update to the latest version of this script. this is the new error log.
[mpv_twitch_chat]
[mpv_twitch_chat] stack traceback:
[mpv_twitch_chat] [C]: ?
[mpv_twitch_chat] [C]: ?
[mpv_twitch_chat] Lua error: /home/maelstrom/.config/mpv/scripts/mpv-twitch-chat.lua:205: unexpected symbol near ':'
The script seems to be working!!
I was wrong above that mpv still supports both Lua 5.1 and 5.2. It seems you built mpv yourself, and your Lua dependency is probably 5.1. Some people (including myself) use prebuilt versions such as shinchiro's which already embeds Lua 5.2.
Anyway, that "continue" label is obsolete so I removed it. You should be fine now.
Ah actually I didn't, I am using nobara-appstream's version of mpv, which is patched for that particular distro to reduce headaches for ppl, not so sure why they build it with 5.1 .
https://nobaraproject.org/ (see below)
TYSM for fixing it!! Really appreciate it! Have a pleasant day / night.
not so sure why they build it with 5.1
Probably because it's the minimum requirement from mpv, and some project tend to be on the more conservative side. If you use other scripts that requires 5.2 features, you probably should start talking to Nobara folks. Otherwise, enjoy.
I get this error when running mpv
Distro details:
mpv version: