mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 21:38:38 +00:00
Test 4
This commit is contained in:
@@ -166,8 +166,10 @@ logger.info("Playlist generation")
|
||||
# *=========================================== Load Data files
|
||||
music_file_list = []
|
||||
try:
|
||||
logger.info("Attempt to connect to file service")
|
||||
response = requests.get(f'{FILE_SERVICE_ADDRESS}{GET_MP3}',timeout=360)
|
||||
music_file_list = response.json()
|
||||
logger.info(music_file_list)
|
||||
except:
|
||||
for mp3_item in Path.glob(Path(MUSIC_FOLDER), "**/*.mp3"):
|
||||
temp_music_file = mp3_item.as_posix()
|
||||
|
||||
Reference in New Issue
Block a user