Skip to content

Conversation

po5
Copy link

@po5 po5 commented May 3, 2023

When the patched OSC is renamed to thumbfast.lua, it will expose a thumbfast-compatible API. The script returns and doesn't act as an OSC.
This allows the thumbnailer to work with any UIs that implement this less invasive API: https://github.com/po5/thumbfast#ui-support
Positioning and decorations are left up to each client script.
Renaming is required as all scripts use script-message-to thumbfast, which mpv forwards only to the specified script.
Of course it still works in its normal non-thumbfast mode.

Closes #1

Hoping this will spark renewed interest and we can implement each other's fixes to improve thumbnails.
I am the maintainer of thumbfast, if that wasn't obvious.

@po5 po5 mentioned this pull request May 16, 2023
@Alistair1231
Copy link

I rebased this onto the newest upstream changes and created a release for it if anyone is curious:
https://github.com/Alistair1231/mpv_thumbnail_script/releases/

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

Successfully merging this pull request may close these issues.

uosc support

2 participants