Change to use python3

Had been set to python3.12 for the use of a specific library. This is no longer necessary as that library is not being used.
This commit is contained in:
20xd6 2024-09-20 13:24:34 -04:00
parent 3eb993e3c4
commit 297e7876f2

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3.12
#!/usr/bin/env python3
import configparser
import os
@ -16,14 +16,15 @@ count = 1
dir_list = dir_activities.get_all(music_path)
dir_list.sort()
for artist in dir_list:
if (not(dir_activities.has_artist_art(artist))):
print(dir_activities.has_artist_art(artist))
artist_path = os.path.join(music_path, artist)
if (not(dir_activities.has_artist_art(artist_path))):
print(dir_activities.has_artist_art(artist_path))
print(str(count) + ": " + artist)
try:
found_status, mb_id = api_calls.get_mb_id(artist, mb_confidence)
# print("Getting ", artist_image)
if found_status:
artist_image = api_calls.get_image(mb_id, ftv_api_key, os.path.join(music_path, artist))
artist_image = api_calls.get_image(mb_id, ftv_api_key, artist_path)
else:
print(f"{artist} returned no results.")
# api_requests.get_art(artist_image, artist, music_path)