Accept additional command-line options

This commit is contained in:
Ritiek Malhotra
2020-04-12 14:13:21 +05:30
parent 0a8a0db54e
commit a253c308a6
13 changed files with 108 additions and 55 deletions

View File

@@ -10,7 +10,7 @@ class EmbedderBase(ABC):
The subclass must define the supported media file encoding
formats here using a static variable - such as:
>>> supported_formats = ("mp3", "opus", "flac")
>>> supported_formats = ("mp3", "m4a", "flac")
"""
supported_formats = ()
@@ -72,9 +72,9 @@ class EmbedderBase(ABC):
"""
raise NotImplementedError
def as_opus(self, path, metadata, cached_albumart=None):
def as_m4a(self, path, metadata, cached_albumart=None):
"""
Method for opus support. This method might be defined in
Method for m4a support. This method might be defined in
a subclass.
Other methods for additional supported formats must also