mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #31] Thumbnail error on anthing but mp3. #21
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#21
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 @SuperTort0ise on GitHub (Nov 11, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/31
When downloading with media format set to anything but mp3 i get this error:
[2022-11-11 00:26:13,213 :: worker/downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '0CL7VjsK7XnkDqoFU6eTMD', Unexpected error: Traceback (most recent call last):
File "worker/downloader.py", line 138, in download_track
File "utils/spotify.py", line 170, in set_music_thumbnail
File "music_tag/file.py", line 603, in setitem
File "music_tag/file.py", line 503, in set
File "music_tag/vorbis.py", line 41, in set_pictures
ImportError: Please install Pillow to properly handle images !
[2022-11-11 00:26:13,213 :: worker/downloader.py -> 279: run() :: ERROR] -> Download process returned false: 0CL7VjsK7XnkDqoFU6eTMD
Pillow is installed and mp3 works fine, I'm on Arch Linux installed from AUR.
I know I shouldn't make a suggestion on an issue but it'd be cool to have a ffmpeg args/bitrate field. Thanks.
@casualsnek commented on GitHub (May 18, 2023):
The issue should be fixed now, as pillow is packaged too if you were using binary packages ! For the bitrate setting ! The latest version from development branch should add a new ffmmpeg_args field in config file where you could add any other arguments that gets passed to ffmpeg !
@SuperTort0ise commented on GitHub (May 18, 2023):
Just tested dev and it's perfect.
This is legit the best app for downloading songs from Spotify, fast easy and really configurable, I love that it's qt too. <3