mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00

+ fix favorites endpoint returning items less than limit + add endpoint to remove get silence padding + add 'the ulitimate' and 'compilation' to compilation album filters + misc
15 lines
374 B
Python
15 lines
374 B
Python
"""
|
|
|
|
"""
|
|
import logging
|
|
|
|
converter_logger = logging.getLogger("pydub.converter")
|
|
|
|
def log_conversion(conversion_command):
|
|
converter_logger.debug("subprocess.call(%s)", repr(conversion_command))
|
|
|
|
def log_subprocess_output(output):
|
|
if output:
|
|
for line in output.rstrip().splitlines():
|
|
converter_logger.debug('subprocess output: %s', line.rstrip())
|