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

[FEATURE] option to not extract video link #204

Open
pirate486743186 opened this issue Sep 2, 2024 · 4 comments
Open

[FEATURE] option to not extract video link #204

pirate486743186 opened this issue Sep 2, 2024 · 4 comments

Comments

@pirate486743186
Copy link
Contributor

in order to use sponsorblock you need to use the native video link extraction for mpv. But this means the link is extracted twice and this can take quite a while. So it would be nice to be able to just disable link extraction and shave some time. Downloading should still work though.

@trizen
Copy link
Owner

trizen commented Sep 2, 2024

It may not work, as the special tokens require data from streaming URLs.

As a workaround, see: #13 (comment)

@pirate486743186
Copy link
Contributor Author

special token for what?

@trizen
Copy link
Owner

trizen commented Sep 2, 2024

For *SUB*, *ITAG*, *RESOLUTION*, in WWW::PipeViewer::Utils::format_text(): https://github.com/trizen/pipe-viewer/blob/main/lib/WWW/PipeViewer/Utils.pm#L363

@pirate486743186
Copy link
Contributor Author

In this context info, subs and resolution are not needed.

If you just press enter, it would just launch the mpv command in a thread without extra steps. If you try to open the info page or use the cli version, then yea, it will need to get the stuff it needs.

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