diff --git a/CHANGELOG.txt b/CHANGELOG.txt index c28418b..734cb8b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -2,6 +2,7 @@ Music Caster by Elijah Lopez Changelog 5.22.0 - [UI] Added Português (Brazil) translation +- [Fix] URL playback 5.21.3 - [Fix] Auto update diff --git a/src/music_caster.py b/src/music_caster.py index 79dbb21..9534715 100644 --- a/src/music_caster.py +++ b/src/music_caster.py @@ -1875,7 +1875,8 @@ def get_url_metadata(url, fetch_art=True) -> list: if 'blocked it on copyright grounds' not in trace_back_msg: attribute_error_reported = True handle_exception(e) - elif url.startswith('https://open.spotify.com'): + # Spotify restricted web API access + elif url.startswith('https://open.spotify.com') and False: # spotify metadata has already been fetched, so just get youtube metadata if url in url_metadata and isinstance(url_metadata[url], dict): metadata = url_metadata[url] diff --git a/src/test_harness.py b/src/test_harness.py index cbb53d1..b02a0ce 100644 --- a/src/test_harness.py +++ b/src/test_harness.py @@ -451,6 +451,7 @@ def test_resize_img(size): 'https://open.spotify.com/playlist/37i9dQZF1DXarRysLJmuju', # spotify playlist ), ) +@pytest.mark.skipif(True, reason='spotify web API access removal') def test_spotify(url): try: metadata_list = get_spotify_tracks(url)