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