Coder Social home page Coder Social logo

Comments (6)

CrendKing avatar CrendKing commented on June 12, 2024 2

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.

from mpv-twitch-chat.

CrendKing avatar CrendKing commented on June 12, 2024 2

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.

from mpv-twitch-chat.

CrendKing avatar CrendKing commented on June 12, 2024 1
  1. 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?
  2. There is no "continue" around line 141 in the script. Maybe your installation went wrong?

from mpv-twitch-chat.

NaiveInvestigator avatar NaiveInvestigator commented on June 12, 2024

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.
vc-01/metadata-osd#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 ':'

from mpv-twitch-chat.

NaiveInvestigator avatar NaiveInvestigator commented on June 12, 2024

image
The script seems to be working!!

from mpv-twitch-chat.

NaiveInvestigator avatar NaiveInvestigator commented on June 12, 2024

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.

from mpv-twitch-chat.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.