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

copy-to-clipboard command error if mpv is idle #1040

Closed
itsmeipg opened this issue Jan 4, 2025 · 0 comments
Closed

copy-to-clipboard command error if mpv is idle #1040

itsmeipg opened this issue Jan 4, 2025 · 0 comments

Comments

@itsmeipg
Copy link

itsmeipg commented Jan 4, 2025

Happens when uosc is idle or before a YouTube video fully loads.
Expected behavior: copy-to-clipboard does nothing or says something like "Nothing to copy"

[uosc] stack traceback:
[uosc]  ...241124-git-2d813de/portable_config/scripts/uosc/main.lua:1128: in function 'callback'
[uosc]  ...241124-git-2d813de/portable_config/scripts/uosc/main.lua:895: in function 'fn'
[uosc]  mp.defaults:235: in function 'fn'
[uosc]  mp.defaults:66: in function 'handler'
[uosc]  mp.defaults:388: in function 'handler'
[uosc]  mp.defaults:522: in function 'call_event_handlers'
[uosc]  mp.defaults:564: in function 'dispatch_events'
[uosc]  mp.defaults:515: in function <mp.defaults:514>
[uosc]  [C]: at 0x7ff6c3d6ee50
[uosc]  [C]: at 0x7ff6c3d6dc70
[uosc] Lua error: ...4-git-2d813de/portable_config/scripts/uosc/lib/utils.lua:895: attempt to concatenate local 'payload' (a nil value)
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

1 participant