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

The "Extract any text based subtitle streams to *.srt files." plugin is using a static list attribute #154

Open
Josh5 opened this issue Dec 20, 2021 · 0 comments

Comments

@Josh5
Copy link
Contributor

Josh5 commented Dec 20, 2021

This needs to be modified now that we are not reloading the plugin before each execution.

Eg.

class PluginStreamMapper(StreamMapper):
    sub_streams = []

    def __init__(self):
        super(PluginStreamMapper, self).__init__(logger, ['subtitle'])

to

class PluginStreamMapper(StreamMapper):

    def __init__(self):
        super(PluginStreamMapper, self).__init__(logger, ['subtitle'])
        self.sub_streams = []

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

1 participant