Merge branch 'rewrite' of https://github.com/vitiko98/qobuz-dl into rewrite

This commit is contained in:
nathannathant
2021-03-15 14:43:15 -07:00
+4 -2
View File
@@ -235,9 +235,11 @@ class Track:
}
engine = CONV_CLASS[codec.upper()](
filename=self.final_path, sampling_rate=kwargs.get("sampling_rate")
filename=self.final_path,
sampling_rate=kwargs.get("sampling_rate"),
remove_source=kwargs.get("remove_source", False),
)
engine.convert(remove_source=kwargs.get("remove_source", False))
engine.convert()
def get(self, *keys, default=None):
"""Safe get method that allows for layered access.