add option to load or don't load scripts with profile-condition
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Expected behavior of the wanted feature
Hi, I would like to have control over if and which scripts are loaded. Handle scripts like shaders, don't load all of them automatically at startup but let the user choose which one you need with a profile-condition, like you can do with glsl shaders.
For example I don't need thumbnails for local files and vice versa, I don't need autocrop on youtube videos etc.
Loading scripts with mp.command isn't reliable as often the scripts don't work at all or as expected, when they are in a different location than the default one.
The way it is now it's all or nothing.
Thank you :)
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the mp.command entry point and trace the current automatic script loading alongside profile-condition handling. Done means users can choose which scripts load for a profile condition instead of the current all-or-nothing behavior, including the thumbnail and autocrop examples described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100