[GH-ISSUE #10] Multiple Bugs #193

Closed
opened 2026-03-01 16:03:36 +03:00 by kerem · 0 comments
Owner

Originally created by @yodaluca23 on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/10

Using this command:

zotify https://open.spotify.com/playlist/4HjJHmwodH3LJ2NIZbSVFT -rp "/opt/navidrome/music" --creds "$HOME/ZotifyMusic" -op "./{album_artist}/{album}/{track_id}" -oe "./{album_artist}/{album}/{track_id}" -ol "./{album_artist}/{album}/{track_id}" -os "./{album_artist}/{album}/{track_id}" -oa "./{album_artist}/{album}/{track_id}" -e True -rpp "./Podcasts" --codec "m4a" -q "high" --download-parent-ablum True --m3u8-location "/opt/navidrome/music/playlists" --download-lyrics False -ie True --retry-attempts
5 --md-artistdelimiter ""

Get this error:

Traceback (most recent call last):
  File "/home/yodaluca23/ZotifyMusic/zotifyEnv/lib/python3.11/site-packages/zotify/track.py", line 245, in download_track
    song_label = add_to_m3u8(child_request_mode, get_song_duration(track_id), song_name, filename)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/yodaluca23/ZotifyMusic/zotifyEnv/lib/python3.11/site-packages/zotify/utils.py", line 80, in add_to_m3u8
    song_path = song_path.relative_to(m3u_path.parent, walk_up=True)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PurePath.relative_to() got an unexpected keyword argument 'walk_up'

Then it seems to just stop doing anything...

Also, according to the README the parent album downloading flag is --download-parent-album True, but it's actually --download-parent-ablum True according to the dictionary the correct spelling is "album". (I always spell it wrong too lol).

Thank you for your time and effort! Your fork is amazing!

Originally created by @yodaluca23 on GitHub (Apr 5, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/10 Using this command: ``` zotify https://open.spotify.com/playlist/4HjJHmwodH3LJ2NIZbSVFT -rp "/opt/navidrome/music" --creds "$HOME/ZotifyMusic" -op "./{album_artist}/{album}/{track_id}" -oe "./{album_artist}/{album}/{track_id}" -ol "./{album_artist}/{album}/{track_id}" -os "./{album_artist}/{album}/{track_id}" -oa "./{album_artist}/{album}/{track_id}" -e True -rpp "./Podcasts" --codec "m4a" -q "high" --download-parent-ablum True --m3u8-location "/opt/navidrome/music/playlists" --download-lyrics False -ie True --retry-attempts 5 --md-artistdelimiter "" ``` Get this error: ``` Traceback (most recent call last): File "/home/yodaluca23/ZotifyMusic/zotifyEnv/lib/python3.11/site-packages/zotify/track.py", line 245, in download_track song_label = add_to_m3u8(child_request_mode, get_song_duration(track_id), song_name, filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/yodaluca23/ZotifyMusic/zotifyEnv/lib/python3.11/site-packages/zotify/utils.py", line 80, in add_to_m3u8 song_path = song_path.relative_to(m3u_path.parent, walk_up=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: PurePath.relative_to() got an unexpected keyword argument 'walk_up' ``` Then it seems to just stop doing anything... Also, according to the README the parent album downloading flag is ```--download-parent-album True```, but it's actually ```--download-parent-ablum True``` according to the dictionary the correct spelling is "album". (I always spell it wrong too lol). Thank you for your time and effort! Your fork is amazing!
kerem closed this issue 2026-03-01 16:03:37 +03:00
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/zotify#193
No description provided.