[GH-ISSUE #72] Bug or a request? Handling of audiobooks #51

Open
opened 2026-03-04 12:28:30 +03:00 by kerem · 3 comments
Owner

Originally created by @knaku on GitHub (Jul 4, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/72

Describe the bug
Tried to use it with an audiobook I have purchased, it seems like it doesn't have a handler for Audiobooks? It looks like it handles it like a Podcast and it fails when it doesn't find any episodes. This is the error message I got.

Traceback (most recent call last):
File "worker\utility.py", line 145, in run
File "utils\spotify.py", line 354, in get_show_episodes
KeyError: 'items'

To Reproduce
Steps to reproduce the behavior:

  1. Find an audiobook and copy link?
  2. Paste link, search and download

System Information (please complete the following information):

  • OS: Windows 10
  • OnTheSpot Version: 0.5
Originally created by @knaku on GitHub (Jul 4, 2023). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/72 **Describe the bug** Tried to use it with an audiobook I have purchased, it seems like it doesn't have a handler for Audiobooks? It looks like it handles it like a Podcast and it fails when it doesn't find any episodes. This is the error message I got. Traceback (most recent call last): File "worker\utility.py", line 145, in run File "utils\spotify.py", line 354, in get_show_episodes KeyError: 'items' **To Reproduce** Steps to reproduce the behavior: 1. Find an audiobook and copy link? 2. Paste link, search and download **System Information (please complete the following information):** - OS: Windows 10 - OnTheSpot Version: 0.5
Author
Owner

@casualsnek commented on GitHub (Jul 4, 2023):

Can you share the link to audiobook ?

<!-- gh-comment-id:1620155505 --> @casualsnek commented on GitHub (Jul 4, 2023): Can you share the link to audiobook ?
Author
Owner

@knaku commented on GitHub (Jul 5, 2023):

Of course https://open.spotify.com/show/6Q0Jwgq8uKZY2xU1K3hAJ0

<!-- gh-comment-id:1621064471 --> @knaku commented on GitHub (Jul 5, 2023): Of course https://open.spotify.com/show/6Q0Jwgq8uKZY2xU1K3hAJ0
Author
Owner

@casualsnek commented on GitHub (Sep 5, 2023):

Of course https://open.spotify.com/show/6Q0Jwgq8uKZY2xU1K3hAJ0

Thanks, but audio-book support may take some time to appear since I don't have audio-book feature on my region !

<!-- gh-comment-id:1706209226 --> @casualsnek commented on GitHub (Sep 5, 2023): > Of course https://open.spotify.com/show/6Q0Jwgq8uKZY2xU1K3hAJ0 Thanks, but audio-book support may take some time to appear since I don't have audio-book feature on my region !
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#51
No description provided.