Fix icecast updater

This commit is contained in:
Correl Roush 2020-09-26 01:43:31 -04:00
parent 0535d7d3a8
commit 111f48dd35

View file

@ -28,8 +28,7 @@ class Icecast(Process):
logger.info("Icecast Updater ready for '%s:%d/%s'", host, port, mountpoint) logger.info("Icecast Updater ready for '%s:%d/%s'", host, port, mountpoint)
def set_title(self, title: str) -> None: def set_title(self, title: str) -> None:
return logger.info("Updating icecast title to '%s'", title)
logging.info("Updating icecast title to '%s'", title)
try: try:
requests.get( requests.get(
f"http://{self.host}:{self.port}/admin/metadata", f"http://{self.host}:{self.port}/admin/metadata",