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

Can't get this script working #6

Open
eggbean opened this issue Aug 26, 2022 · 2 comments
Open

Can't get this script working #6

eggbean opened this issue Aug 26, 2022 · 2 comments

Comments

@eggbean
Copy link

eggbean commented Aug 26, 2022

C:\Users\jason>tree /f %APPDATA%\mpv
Folder PATH listing for volume Windows
Volume serial number is 7A15-9736
C:\USERS\JASON\APPDATA\ROAMING\MPV
│   input.conf
│   mpv.conf
│   mpvHistory.log
│
├───script-modules
│       user-input-module.lua
│
├───script-opts
│       SimpleHistory.conf
│       webm.conf
│
└───scripts
        always-play-on-startup.lua
        autodeint.lua
        autoloop.lua
        Rename.lua
        SimpleHistory.lua
        trim.lua
        user-input.lua
        webm.lua

While a video is running I type F2 to rename the file, but nothing happens. Not sure what I could be doing wrong. The only thing that I think may be causing this is that I am using this Microsoft Store version of mpv, but I have not tested without it yes.

@lhr88
Copy link

lhr88 commented Oct 19, 2022

Hi Eggbean,

I am having the same issue - loaded all files in the same directories as you (Rename.lua, user-input.lua, user-input-module.lua) - but pressing F2 does nothing.

Have you found a solution?

@eggbean
Copy link
Author

eggbean commented Oct 19, 2022

@lhr88 No, I haven't been able to get it working. I just tried again, but no. When running from the command-line in Linux I get this error message when hitting F2:

[user_input] /home/jason/.config/mpv/scripts/user-input.lua:721: attempt to compare nil with number
[Rename] /home/jason/.config/mpv/scripts/user-input.lua:721: attempt to compare nil with number

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