-
Notifications
You must be signed in to change notification settings - Fork 7
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
What happened to extensions, why did they get so bloated? #118
Comments
File-browser was changed to a directory script in #100. You can read that PR for the reasoning. You can still get the old single-file version of the script in the mpv-v0. 31 branch, but it's not receiving any new feature updates, and barely any bug fixes. You can see the list of changes that have happened since becoming a directory script here: 398c188...master. This list will grow in the future, and many add-ons will end up requiring the newer versions. git is the version control software that Github is built on. It allows you to easily make a local copy of a repo and pull changes. It's how I'd recommend managing this script, but if you don't know how to use it, just download the zip file and extract the files manually. |
@CogentRedTester |
This is the relevant section of the manual I linked:
So you need to copy the whole repository into a folder inside the Directory scripts were only added to MPV a few years ago, so it's taken a while for scripts to start using the feature. They provide numerous benefits to the authors of more complex scripts, and can make updating scripts much easier for users that know how to use git. In the case of file-browser, it's not that it became more bloated, it's that all the code that previously existed in a single file had been split into multiple. This makes the code easier to read, understand, update, and maintain, which benefits everyone. It also means that scripts that do need extra files, like that script you linked with its Another benefit is that documentation gets installed alongside the script (the README and docs folder) so you don't need to go looking online for the documentation for your specific script version. |
@CogentRedTester We need at least a hint with folder and file structures, like here videoclip |
@CogentRedTester |
@CogentRedTester |
Sorry for the long delay, I was on holiday.
I have updated the README to show the expected file structure.
I don't know what you mean by this.
Add the file extensions you don't like to the extension_blacklist=jpg,png,gif |
Closed due to inactivity. |
I have had 2 files conf and lua for a long time, everything works on the latest version of mpv. And here everyone offers to download a whole repository (via Git, what is it?)
I would like to know where this is going, or at least a visual video of what changes.
The text was updated successfully, but these errors were encountered: