mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-10-29 18:00:15 +00:00
Add tests for encoders
and some refactoring
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import subprocess
|
||||
import os
|
||||
from logzero import logger as log
|
||||
|
||||
from spotdl.encode import EncoderBase
|
||||
from spotdl.encode.exceptions import EncoderNotFoundError
|
||||
from spotdl.encode.exceptions import AvconvNotFoundError
|
||||
|
||||
|
||||
class EncoderAvconv(EncoderBase):
|
||||
def __init__(self, encoder_path="avconv"):
|
||||
print("Using EncoderAvconv is deprecated and will be removed"
|
||||
print("Using EncoderAvconv is deprecated and will be removed",
|
||||
"in future versions. Use EncoderFFmpeg instead.")
|
||||
encoder_path = encoder_path
|
||||
_loglevel = "-loglevel 0"
|
||||
|
||||
Reference in New Issue
Block a user