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

Refactor config, custom plugin options #79

Merged
merged 8 commits into from
Dec 3, 2020
Merged

Refactor config, custom plugin options #79

merged 8 commits into from
Dec 3, 2020

Conversation

th-ch
Copy link
Owner

@th-ch th-ch commented Dec 3, 2020

This PR refactors the config:

  • simpler API (get/set) for the rest of the code
  • allow editing directly the config file
  • by doing so, plugins can now have options
  • introduce the following options in plugins:
    • adblocker: additional blocklists, caching can be disabled (useful if passing new lists)
    • downloader: custom FFmpeg args (allowing the change the MP3 bitrate for example), custom folder for files

@th-ch th-ch marked this pull request as ready for review December 3, 2020 20:44
@th-ch th-ch merged commit 6ab0105 into master Dec 3, 2020
@th-ch th-ch deleted the advanced-config branch December 3, 2020 20:49
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.

1 participant