chore(playout): update api-client imports
This commit is contained in:
parent
8369d55eb9
commit
8cb9bd5f32
10 changed files with 22 additions and 31 deletions
|
@ -5,7 +5,7 @@ import traceback
|
|||
from pathlib import Path
|
||||
from typing import Optional
|
||||
|
||||
from libretime_api_client.version1 import AirtimeApiClient
|
||||
from libretime_api_client.v1 import AirtimeApiClient as ApiClient
|
||||
from loguru import logger
|
||||
|
||||
|
||||
|
@ -50,7 +50,7 @@ def generate_entrypoint(log_filepath: Optional[Path]):
|
|||
|
||||
while not successful:
|
||||
try:
|
||||
ac = AirtimeApiClient(logger)
|
||||
ac = ApiClient(logger)
|
||||
ss = ac.get_stream_setting()
|
||||
generate_liquidsoap_config(ss, log_filepath)
|
||||
successful = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue