You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering a TypeError: 'NoneType' object is not subscriptable error whenever I try to download a particular podcast episode (or the entire show). This issue only happens with this specific podcast; other albums and podcasts work fine.
Steps to Reproduce
Have a votify environment set up (with valid Spotify cookies, etc.).
Attempt to download the problematic podcast either via its show link or episode link:
The download process immediately fails on the problematic episode(s).
Expected Behavior
The episode should download normally without error, just like other podcasts/episodes.
Actual Behavior
votify fails with a TypeError: 'NoneType' object is not subscriptable when trying to process these episodes.
Error Log Excerpt
[INFO 17:50:42] (Track 12/235 from URL 1/1) Downloading "Example Episode 1"
[ERROR 17:50:43] (Track 12/235 from URL 1/1) Failed to download "Example Episode 1"
Traceback (most recent call last):
File "C:\path\to\votify\cli.py", line 626, in main
downloader_episode.download(
File "C:\path\to\votify\downloader_episode.py", line 61, in download
self._download(*args, **kwargs)
File "C:\path\to\votify\downloader_episode.py", line 98, in _download
tags = self.get_tags(
File "C:\path\to\votify\downloader_episode.py", line 40, in get_tags
"track": next(
File "C:\path\to\votify\downloader_episode.py", line 43, in
if show_metadata["episodes"]["items"][
TypeError: 'NoneType' object is not subscriptable
[INFO 17:50:48] (Track 13/235 from URL 1/1) Downloading "Example Episode 2"
[ERROR 17:50:48] (Track 13/235 from URL 1/1) Failed to download "Example Episode 2"
Traceback (most recent call last):
...
TypeError: 'NoneType' object is not subscriptable
Environment
OS: Windows 11 Pro
Python version: 3.10.11
votify version: 1.4.9
Installation method: pip install votify within a virtual environment
Additional Details
I can play the same podcast episodes in the official Spotify client without issues.
Other podcasts and albums download successfully with the same environment/cookies.
Using a Premium Spotify account.
Tried both the podcast's show link and individual episode link, and it fails either way.
Any insights into why show_metadata["episodes"] might be None or how to circumvent this issue are greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered:
I'm encountering a TypeError: 'NoneType' object is not subscriptable error whenever I try to download a particular podcast episode (or the entire show). This issue only happens with this specific podcast; other albums and podcasts work fine.
Steps to Reproduce
Have a votify environment set up (with valid Spotify cookies, etc.).
Attempt to download the problematic podcast either via its show link or episode link:
votify "https://open.spotify.com/show/EXAMPLE_SHOW_ID"
or
votify "https://open.spotify.com/episode/EXAMPLE_EPISODE_ID"
The download process immediately fails on the problematic episode(s).
Expected Behavior
The episode should download normally without error, just like other podcasts/episodes.
Actual Behavior
votify fails with a TypeError: 'NoneType' object is not subscriptable when trying to process these episodes.
Error Log Excerpt
[INFO 17:50:42] (Track 12/235 from URL 1/1) Downloading "Example Episode 1"
[ERROR 17:50:43] (Track 12/235 from URL 1/1) Failed to download "Example Episode 1"
Traceback (most recent call last):
File "C:\path\to\votify\cli.py", line 626, in main
downloader_episode.download(
File "C:\path\to\votify\downloader_episode.py", line 61, in download
self._download(*args, **kwargs)
File "C:\path\to\votify\downloader_episode.py", line 98, in _download
tags = self.get_tags(
File "C:\path\to\votify\downloader_episode.py", line 40, in get_tags
"track": next(
File "C:\path\to\votify\downloader_episode.py", line 43, in
if show_metadata["episodes"]["items"][
TypeError: 'NoneType' object is not subscriptable
[INFO 17:50:48] (Track 13/235 from URL 1/1) Downloading "Example Episode 2"
[ERROR 17:50:48] (Track 13/235 from URL 1/1) Failed to download "Example Episode 2"
Traceback (most recent call last):
...
TypeError: 'NoneType' object is not subscriptable
Environment
Additional Details
Any insights into why show_metadata["episodes"] might be None or how to circumvent this issue are greatly appreciated. Thank you!
The text was updated successfully, but these errors were encountered: