mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #64] Playlist creation error #48
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (May 21, 2023).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/64
Playlist creation fails if the playlist name contains "/".
https://open.spotify.com/playlist/2KC9BMH2fMqKbGcHV2lwwk
[2023-05-21 23:48:01,083 :: worker.utility :: worker\utility.py -> 26: run() :: INFO] -> Playlist m3u8 checking ID 2KC9BMH2fMqKbGcHV2lwwk [2023-05-21 23:48:01,083 :: worker.utility :: worker\utility.py -> 31: run() :: INFO] -> Playlist 2KC9BMH2fMqKbGcHV2lwwk has all items ready, making m3u8 playlist at: {play_queue[play_id]["filename"]}! [2023-05-21 23:48:01,084 :: runtimedata :: runtimedata.py -> 51: handle_exception() :: CRITICAL] -> Uncaught exception Traceback (most recent call last): File "worker\utility.py", line 35, in run FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\username\\Music\\OnTheSpot\\!Playlist\\2007年-2023年 VOCALOID 伝説入り・神話入り楽曲 \\ 100万回再生超え ボカロ.m3u8'Use latest development branch
@casualsnek commented on GitHub (May 21, 2023):
Looks like i the filenames were not sanitized properly:
Windows does not allow following characters in filenames
<,>,:,",/,,|,?,*
I'll fix it asap !
@casualsnek commented on GitHub (May 23, 2023):
This should be now fixed in development branch !
@ghost commented on GitHub (May 23, 2023):
An error occurs when trying to download a playlist.
Previously, songs were added to Progress.
But now I get an error before it's added to Progress.
[2023-05-23 20:07:51,966 :: gui.main_ui :: gui\mainui.py -> 574:__get_search_results() :: INFO] -> Search clicked with value with url https://open.spotify.com/playlist/2KC9BMH2fMqKbGcHV2lwwk?si=6e1787acc3884ef7 [2023-05-23 20:07:51,967 :: gui.main_ui :: gui\mainui.py -> 619: __download_by_url() :: INFO] -> URL download clicked with value https://open.spotify.com/playlist/2KC9BMH2fMqKbGcHV2lwwk?si=6e1787acc3884ef7 [2023-05-23 20:07:51,967 :: utils :: utils\utils.py -> 124:regex_input_for_urls() :: INFO] -> Parsing url 'https://open.spotify.com/playlist/2KC9BMH2fMqKbGcHV2lwwk?si=6e1787acc3884ef7' [2023-05-23 20:07:51,968 :: utils :: utils\utils.py -> 227: get_url_data() :: INFO] -> Parse result for url 'https://open.spotify.com/playlist/2KC9BMH2fMqKbGcHV2lwwk?si=6e1787acc3884ef7'-> playlist, 2KC9BMH2fMqKbGcHV2lwwk [2023-05-23 20:07:51,977 :: spotutils :: utils\spotify.py -> 28: get_playlist_data() :: INFO] -> Get playlist dump for '2KC9BMH2fMqKbGcHV2lwwk' [2023-05-23 20:07:52,434 :: runtimedata :: runtimedata.py -> 51: handle_exception() :: CRITICAL] -> Uncaught exception Traceback (most recent call last): File "worker\utility.py", line 192, in run File "utils\spotify.py", line 31, in get_playlist_data File "utils\spotify.py", line 84, in sanitize_data AttributeError: 'dict' object has no attribute 'replace'@casualsnek commented on GitHub (May 23, 2023):
Should be fixed now !
@ghost commented on GitHub (May 23, 2023):
It worked!
thank you