Plugin system #25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plugins are files in a special folder. Each class is used when requested and can contain
Trackobject and a copy of the current collection and returns nothing, but can modify theTrackin-place (e.g. if the filename changed).Plugins can be requested in a formatting field (
%(name)s) for metadata suggestions, or as a tag name in the tag settings. The syntax is[plugin]:[arg1],[arg2],...,[kwarg1_key]=[kwarg1_val],[kwarg2_key]=[kwarg2_val],.... The colon has to be present even if no arguments are given.collection:which can access collection settingsext_lyrics:[query]which downloads lyrics from external sources (with the syncedlyrics module) using the format string[query]as the search term.concat_playlist_timed:[format]to generate timed data from the individual videos of playlist-type urls which should be concatenated using their start time in the concatenated video and[format]as the timed text.tag:[name]to access the generated tag with the specified name. Since tag generation happens after metadata suggestion generation, this plugin might not work for metadata suggestions.thumbnail:[name]: The file at this path/URL is embedded as image. mutagen's PictureType is used as possible values. If no name is set, the image will be embedded as front cover.cut:: If this is set to a timed metadata field, chapters with special names will be used to cut the file or add silence