casualsnek / onthespot Goto Github PK
View Code? Open in Web Editor NEWqt based music downloader written in python
License: GNU General Public License v2.0
qt based music downloader written in python
License: GNU General Public License v2.0
The album art is blurry now when I download albums. I checked back with the previous version and the blurry art is still there sadly. I also checked maybe downloading a new album would display clear album art, but they are affected as well. Then I tried resetting everything and tried again, still blurry. I can just replace the album art, but I figured I'd post here.
Sorry that I have to reopen this issue ... I noticed that this was happening before and ...'fixed' ... with that latest release ... but unfortunately this is still gving the same problem at my end.
I tried that V 0.3 and did also try the manual ffmpeg. I start with admin rights but still get this below error. (reboots and restarts do not help)
_During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotutils.py", line 405, in run
File "spotutils.py", line 340, in download_track
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:_
Could someone help please ?
windows 11 -running latest version of app
[2022-10-16 09:29:36,013 :: worker\downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '1zzxoZVylsna2BQB65Ppcb', Unexpected error: Traceback (most recent call last):
File "worker\downloader.py", line 89, in download_track
File "librespot\audio_init_.py", line 722, in load
File "librespot\audio_init_.py", line 783, in load_track
File "librespot\audio_init_.py", line 737, in load_stream
File "librespot\audio_init_.py", line 336, in load_track
File "librespot\audio_init_.py", line 277, in get_audio_key
File "librespot\audio_init_.py", line 278, in get_audio_key
RuntimeError: Failed fetching audio key! gid: 33b5773c30214657865adb553239b18f, fileId: 5acf9e5cc5c6d8bcf4f69e1bbbbd5bbb4034d6d9
!
[2022-10-16 09:29:36,014 :: worker\downloader.py -> 279: run() :: ERROR] -> Download process returned false: 1zzxoZVylsna2BQB65Ppcb
Include metadata for tracks and cover art
Using the latest version from your discord server, on Windows 10
Manually selecting a download location uses /
instead of \
for subdirectory locations, which are removed in the console leading to constant "No such file or directory" when trying to download (given you have saved your changes).
An example is choosing C:\Users\Username\Desktop\OnTheSpot
being changed to C:UsersUsernameDesktopOnTheSpot
.
This issue also occurs when I change the slash in "Album directory name formatter" under Advanced configuration from \
to /
and persists after restarting.
Additionally when you click on Browse to select a location but instead cancel (or x), the download location text in the bar is removed, despite not resetting the download location. The popup selection defaults to your user folder instead whether or not a change has been made to the download location.
For some reason this fixes the above issue while saving in the same location.
Other than the issue above, I don't think it's because of my upscaling on my laptop but the location bar is very short. Could it instead use the space underneath to display a much longer path?
Thanks for your work,
skrubbybubby
P.S. sorry if I forgot anything this is my first github issue report
If the song name contains ":", the download will fail.
use development branch
[2023-05-20 08:20:30,035 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 333: run() :: INFO] -> Processing download for track by id '1fipeXkeQo8nXoWU2Rbu29', Attempt: 2/3 [2023-05-20 08:20:32,085 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '1fipeXkeQo8nXoWU2Rbu29', Unexpected error: Traceback (most recent call last): File "worker\downloader.py", line 168, in download_track File "utils\spotify.py", line 138, in convert_audio_format OSError: [WinError 87] パラメーターが間違っています。: 'C:\\Users\\username\\Music\\OnTheSpot\\Yukari Tamura\\螺旋の果実\\15 - W:Wonder tale.mp3' -> 'C:\\Users\\username\\Music\\OnTheSpot\\Yukari Tamura\\螺旋の果実\\.~15 - W:Wonder tale.ogg' ! [2023-05-20 08:20:32,086 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 377: run() :: ERROR] -> Download process returned false: 1fipeXkeQo8nXoWU2Rbu29
After working for a while, i recently reinstalled as i lost the original EXE
My login isnt working, despite my creds being 100% correct, (tested, even copied/pasted)
Tried clearing my .cache/onthespot folder, still doesnt work. Is there any other cache / temp folders i can delete, as it still remembers my old Directory so something is still there
OUTPUT:
gui\mainui.py -> 549: __add_account() :: ERROR] -> Account add failed for : ACCOUNTNAME
Thanks in advance
Is it possible to get higher quality art (album covers)? The current resolution is too low and looks blurry on most media players.
Was getting this error when downloading a track.
Progress bar would be stuck 'converting' at 99%.
Not sure if this is a widespread issue, I think I found a potential fix.
Traceback (most recent call last):
File "spotutils.py", line 394, in run
status = self.download_track(
File "spotutils.py", line 328, in download_track
os.remove(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:/Music/Song.mp3'
When I tried building from source, I noticed when following the directions within the readme that the location for the ffmpeg binaries did not work when using the ffbin_nix directory. What did work was placing the ffmpeg binaries in onthespot/bin/ffmpeg. This allowed the program to properly locate ffmpeg to download and convert without issues.
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:
System Information (please complete the following information):
can someone help me, in the log it said that TypeError: 'NoneType' object is not subscriptable
[2023-05-19 09:10:12,232 :: C:\Users\xxx\Downloads\Compressed\onthespot-0.4\onthespot-0.4\runtimedata.py -> 48: handle_exception() :: CRITICAL] -> Uncaught exception
Traceback (most recent call last):
File "C:\Users\xxx\Downloads\Compressed\onthespot-0.4\onthespot-0.4\worker\session.py", line 28, in run
if login[0]:
~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
When closing the program and reopening it, it doesn't login again, it shows an "unexpected error occured".
It is not such a problem, since manually login in again works as expected.
HI.
Some songs failed to download, adn program is unable to create m3u playlist as long as I have missing songs, Is there any way to avoid that/ skip those missing songs?
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
Feel like it could be helpful to give audio files ID3 tags alongside the naming system as a lot of people's audio players may use these instead of file titles
Hey,
First of all, thank you so much for creating this application. It's amazing what you've done here. It's by far the most advanced Spotify downloader I've seen.
I know you're looking to refactor the code and make a newer ui but i would love a cli interface. I want to automate downloads therefore it would be awesome if there was a simple cli interface. just a basic one that takes in the "track id "and spilts out the mp3 file is perfect.
downloads that were cancelled in the progress tab don't go away unless the program is restarted. clicking the "clear completed/cancelled items" button at the bottom only removed finished downloads, not cancelled ones.
I'm using the latest build on arch linux
I'm using the latest developmentBranch build and some songs fail at 99%
[2023-05-20 01:52:09,075 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 222: download_track() :: ERROR] -> Download failed for track by id '44UnT7KIVgEQFkUeXUp3OJ', Unexpected error: Traceback (most recent call last):
File "PIL\PngImagePlugin.py", line 1286, in _save
KeyError: 'CMYK'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "worker\downloader.py", line 172, in download_track
File "utils\spotify.py", line 203, in set_music_thumbnail
File "PIL\Image.py", line 2432, in save
File "PIL\PngImagePlugin.py", line 1289, in _save
OSError: cannot write mode CMYK as PNG
!
[2023-05-20 01:52:09,082 :: worker.downloader.SESSION_DL_TH-810c87d7-4119-4e36-9b93-93722a94d6f8 :: worker\downloader.py -> 377: run() :: ERROR] -> Download process returned false: 44UnT7KIVgEQFkUeXUp3OJ
I miss the feature when downloading a playlist to download all song to a folder named after the playlist
The feature of max download workers with parsing account SN seems to be working fine.
I would not download any song if one of the parameter changes.
So rather than having it be shown by author - album - ##.song name
, add a feature to be able to change what the title of the mp3 but still have song metadata in the mp3. This could just be an option in a preference menu
Ex:
Currently: The Cranberries - No Need To Argue (The Complete Sessions 1994-1995) - 04. Zombie.mp3
What I would like: Zombie.mp3
despite having raw media download it still download mp3,instead of ogg,i have windows 10 and i have the latest version
Some audio players like Navidrome read the lrc file through an embedded tag in the mp3 file. Currently, the only way to do this is with a program that can do something like this en masse like Mp3tag.
in the logs its says "invalid credentials", but credentials are correct.
already deleted config file to eliminate possible other cause, but it didn't fix the problem.
rm .config/casualOnTheSpot/config.json
Also tried to login with email address instead username, same error.
here the console output:
18:05:12,130 :: gui/mainui.py -> 523: __add_account() :: INFO] -> Add account clicked
18:05:12,131 :: utils/utils.py -> 18: login_user() :: INFO] -> logging in user 'tm31****@.'
18:05:12,131 :: utils/utils.py -> 24: login_user() :: INFO] -> Session file exists for user, attempting to use it 'tm31***@.'
18:05:14,091 :: utils/utils.py -> 38: login_user() :: ERROR] -> Failed logging in user 'tm31***@*.', invalid credentials
18:05:14,092 :: runtimedata.py -> 48: handle_exception() :: CRITICAL] -> Uncaught exception
Add encoding='UTF-8' utility.py to resolve'cp932' codec can't decode
with open(playlist_m3u_queue[play_id]['filename'], 'w')
to
with open(playlist_m3u_queue[play_id]['filename'], 'w', encoding='UTF-8')
and
with open(playlist_m3u_queue[play_id]['filename'], 'a')
to
with open(playlist_m3u_queue[play_id]['filename'], 'a', encoding='UTF-8')
I'm not sure how to do pull requests, so I'm going to write to ISSUES
Sorry.
Would be nice to direct this to LAME to encode to MP3s.
URL download clicked with value False
Parsing url 'False'
Uncaught exception
Traceback (most recent call last):
File "onthespot.py", line 559, in __download_by_url
File "utils.py", line 172, in get_url_data
File "utils.py", line 86, in regex_input_for_urls
File "re.py", line 200, in search
TypeError: expected string or bytes-like object
I don't know python so I can't make much sense of this.
I get this error message:
Traceback (most recent call last): File "/home/computer/Downloads/onethespot/onthespot.py", line 3, in <module> from config import config File "/home/computer/Downloads/onethespot/config.py", line 61, in <module> config = Config() File "/home/computer/Downloads/onethespot/config.py", line 37, in __init__ os.makedirs(os.path.dirname(self.get("dlid_cache")), exist_ok=True) File "/usr/lib/python3.10/posixpath.py", line 152, in dirname p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not NoneType
Had the below issues while trying to download any given song. It seems like it can't find ffprobe or ffmpeg, despite the fact that the two unix executables are in the /onthespot
directory. I'm not too sure what I'm doing wrong as everything else in the program seems to work well, but I tried to include the terminal log from launching the program. Also included a screenshot of the /onthespot
directory.
[2022-11-17 14:17:11,200 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 80: init() :: INFO] -> Initialising main window
[2022-11-17 14:17:11,200 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 95: init() :: INFO] -> Loading configurations..
[2022-11-17 14:17:11,200 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 466: __fill_configs() :: INFO] -> Config filled to UI
[2022-11-17 14:17:11,200 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 107: init() :: INFO] -> Preparing session loader
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 119: init() :: INFO] -> Preparing parsing queue processor
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/worker/session.py -> 17: run() :: INFO] -> Session loader has started !
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 163: set_table_props() :: INFO] -> Setting table item properties
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/worker/utility.py -> 80: run() :: INFO] -> Parsing queue processor is active !
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/worker/session.py -> 23: run() :: INFO] -> Trying to create session for zvmn
[2022-11-17 14:17:11,201 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 135: init() :: INFO] -> Main window init completed !
[2022-11-17 14:17:11,407 :: /Users/finnellingwood/onthespot/utils/utils.py -> 18: login_user() :: INFO] -> logging in user 'zvmn****@.'
[2022-11-17 14:17:11,407 :: /Users/finnellingwood/onthespot/utils/utils.py -> 24: login_user() :: INFO] -> Session file exists for user, attempting to use it 'zvmn***@.'
[2022-11-17 14:17:13,216 :: /Users/finnellingwood/onthespot/utils/utils.py -> 35: login_user() :: INFO] -> Login successful for user 'zvmn***@*.'
[2022-11-17 14:17:13,429 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 381:__generate_users_table() :: INFO] -> Accounts table was populated !
[2022-11-17 14:17:13,460 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 385: __rebuild_threads() :: INFO] -> Building downloader.py threads
[2022-11-17 14:17:13,460 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 387: __rebuild_threads() :: WARNING] -> Session pool not empty ! Reset not implemented
[2022-11-17 14:17:13,460 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 390: __rebuild_threads() :: INFO] -> Spawning 4 downloaders !
[2022-11-17 14:17:13,460 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 400: __rebuild_threads() :: INFO] -> Spawning DL WORKER 1 using session_index: 0
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 400: __rebuild_threads() :: INFO] -> Spawning DL WORKER 2 using session_index: 0
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 242: run() :: INFO] -> Download worker DL WORKER 1 is running
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 400: __rebuild_threads() :: INFO] -> Spawning DL WORKER 3 using session_index: 0
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 242: run() :: INFO] -> Download worker DL WORKER 2 is running
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 242: run() :: INFO] -> Download worker DL WORKER 3 is running
[2022-11-17 14:17:13,461 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 400: __rebuild_threads() :: INFO] -> Spawning DL WORKER 4 using session_index: 0
[2022-11-17 14:17:13,462 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 242: run() :: INFO] -> Download worker DL WORKER 4 is running
2022-11-17 14:17:14.533 Python[16211:104199] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
[2022-11-17 14:17:15,081 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 563:__get_search_results() :: INFO] -> Search clicked with value term aha
[2022-11-17 14:17:15,083 :: /Users/finnellingwood/onthespot/utils/spotify.py -> 181: search_by_term() :: INFO] -> Get search result for term 'aha', max items '10'
[2022-11-17 14:17:16,787 :: /Users/finnellingwood/onthespot/worker/utility.py -> 63: enqueue_tracks() :: INFO] -> PQP parsing Take on Me:2WfaOiMkCvy7F5fcp2zZ8L <-> track item: Take on Me:2WfaOiMkCvy7F5fcp2zZ8L
[2022-11-17 14:17:16,805 :: /Users/finnellingwood/onthespot/gui/mainui.py -> 309:__add_item_to_downloads() :: INFO] -> Adding item to download queue -> media_type:track, media_id: 2WfaOiMkCvy7F5fcp2zZ8L, extra_path:, extra_path_as_root: False, Prefix value: ''
[2022-11-17 14:17:16,805 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 248: run() :: INFO] -> Processing download for track by id '2WfaOiMkCvy7F5fcp2zZ8L', Attempt: 0
[2022-11-17 14:17:21,201 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 128: download_track() :: WARNING] -> Force raw is disabled for track by id '2WfaOiMkCvy7F5fcp2zZ8L', media converting and tagging will be done !
[2022-11-17 14:17:21,202 :: /Users/finnellingwood/onthespot/utils/spotify.py -> 129:convert_audio_format() :: INFO] -> Audiosegment media at '/Users/finnellingwood/Music/OnTheSpot/a-ha/[1985] Hunting High and Low/a-ha - Hunting High and Low - Take on Me.mp3'
[2022-11-17 14:17:21,231 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '2WfaOiMkCvy7F5fcp2zZ8L', Unexpected error: Traceback (most recent call last):
File "/Users/finnellingwood/onthespot/worker/downloader.py", line 133, in download_track
convert_audio_format(filename, quality)
File "/Users/finnellingwood/onthespot/utils/spotify.py", line 131, in convert_audio_format
raw_audio = AudioSegment.from_file(os.path.abspath(filename), format="ogg",
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
!
[2022-11-17 14:17:21,232 :: /Users/finnellingwood/onthespot/worker/downloader.py -> 279: run() :: ERROR] -> Download process returned false: 2WfaOiMkCvy7F5fcp2zZ8L
I'm on Windows 10. I have M3u playlist option enabled and after all of the songs are either done downloading or already downloaded, it just repeats:
"Playlist m3u8 checking ID #############"
"Playlist ############# Has some items left to download"
There is also no info on it in the readme so I'm not sure if there is something I am missing.
There are other media downloaders, Gallery-DL and YT DLP, that can take a text document of links and use that as a download source. Since the GUI already takes in the download, it sounds like it may be possible to use that to read from a list of links.
Hi,
I just want to explain how someone would get this to work on an M1 Mac:
I get errors trying to download a specific german audio series as seen below.
However, when I save the files using the formatter {artist}{album} instead of standard {artist}[{rel_year}] {album}
the downloads do work
Working on windows 11 with administrator rights and wiht the latest .exe release
[2023-01-26 21:24:05,978 :: worker\downloader.py -> 248: run() :: INFO] -> Processing download for track by id '35FjLFs9vqxdcuhXR9tGa8', Attempt: 2
[2023-01-26 21:24:06,292 :: worker\downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '35FjLFs9vqxdcuhXR9tGa8', Unexpected error: Traceback (most recent call last):
File "worker\downloader.py", line 96, in download_track
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Dirk\\Music\\OnTheSpot\\Robin Hood - Schlitzohr von Sherwood\\[2014] Folge 1 Die Schatzkiste (Das Original-Hörspiel zur TV-Serie)\\Robin Hood - Schlitzohr von Sherwood - Folge 1 Die Schatzkiste (Das Original-Hörspiel zur TV-Serie) - Die Entführung - Teil 1.mp3'
!
[2023-01-26 21:24:06,308 :: worker\downloader.py -> 279: run() :: ERROR] -> Download process returned false: 35FjLFs9vqxdcuhXR9tGa8
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.
currently in the advance settings you can add {track_number} {name}. Is it possible to make it 0{track_number} {name} ?
example:
current: 4 Bad Habits
request: 04 Bad Habits
this should also be changed for the lrc files.
``Hi. The program was working last night perfectly, today I try to open it and it hangs and gets stuck. I assume it's because the account is trying to create a session for, the password changed. I do not know where the information is saved so that I can remove the accounts and change the password. I tried to delete the EXE file and download it again, but that did not work as it must be saving accounts somewhere.
`[2022-11-23 07:50:30,172 :: gui\mainui.py -> 135: init() :: INFO] -> Main window init completed !
[2022-11-23 07:50:30,378 :: utils\utils.py -> 18: login_user() :: INFO] -> logging in user 'ACCC****@*.'
[2022-11-23 07:50:30,379 :: utils\utils.py -> 24: login_user() :: INFO] -> Session file exists for user, attempting to use it 'MORe****@*.'
[2022-11-23 07:50:32,317 :: utils\utils.py -> 38: login_user() :: ERROR] -> Failed logging in user 'MORe****@*.', invalid credentials
[2022-11-23 07:50:32,318 :: runtimedata.py -> 48: handle_exception() :: CRITICAL] -> Uncaught exception
Traceback (most recent call last):
File "worker\session.py", line 28, in run
TypeError: 'NoneType' object is not subscriptable`
EDIT1: After more diging, I found the directory for the saved accounts, "C:\Users\USER_NAME_HERE.cache\casualOnTheSpot\sessions" and deleted the bad account .json file. All working again. I would like to still leave this here in case an update to fix this without having to go into the directory and manually delete the file.
Basically it downloads the song at the rate it would be streamed at in the spotify app.
I heard that downloading too much gets your account banned. While I use an alt anyways, is there an option for this in case?
Metadata of downloaded tracks from multi-disc album is not including 'disc'.
In example below, I end up having multiple tracks # 1, 2, and so on.
Example: https://open.spotify.com/album/7GttoSWxEi5lZvIWeSrh6n
-> Force raw is disabled for track by id '6kXLq2u5answm56UMbHSoA', media converting and tagging will be done !
[2022-10-20 12:37:38,078 :: /Users/fiancee/onthespot/utils/spotify.py -> 129:convert_audio_format() :: INFO] -> Audiosegment media at '/Users/fiancee/Dennis Smile/[2017] Abomination EP/Dennis Smile - Abomination EP - Abomination.mp3'
/usr/local/lib/python3.10/site-packages/pydub/utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
[2022-10-20 12:37:38,095 :: /Users/fiancee/onthespot/worker/downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '6kXLq2u5answm56UMbHSoA', Unexpected error: Traceback (most recent call last):
File "/Users/fiancee/onthespot/worker/downloader.py", line 133, in download_track
convert_audio_format(filename, quality)
File "/Users/fiancee/onthespot/utils/spotify.py", line 131, in convert_audio_format
raw_audio = AudioSegment.from_file(os.path.abspath(filename), format="ogg",
File "/usr/local/lib/python3.10/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/usr/local/lib/python3.10/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
!
[2022-10-20 12:37:38,097 :: /Users/fiancee/onthespot/worker/downloader.py -> 279: run() :: ERROR] -> Download process returned false: 6kXLq2u5answm56UMbHSoA
[2022-10-20 12:37:38,097 :: /Users/fiancee/onthespot/worker/downloader.py -> 248: run() :: INFO] -> Processing download for track by id '6kXLq2u5answm56UMbHSoA', Attempt: 1
[2022-10-20 12:37:43,890 :: /Users/fiancee/onthespot/worker/downloader.py -> 128: download_track() :: WARNING] -> Force raw is disabled for track by id '6kXLq2u5answm56UMbHSoA', media converting and tagging will be done !
[2022-10-20 12:37:43,891 :: /Users/fiancee/onthespot/utils/spotify.py -> 129:convert_audio_format() :: INFO] -> Audiosegment media at '/Users/fiancee/Dennis Smile/[2017] Abomination EP/Dennis Smile - Abomination EP - Abomination.mp3'
/usr/local/lib/python3.10/site-packages/pydub/utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
[2022-10-20 12:37:43,903 :: /Users/fiancee/onthespot/worker/downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '6kXLq2u5answm56UMbHSoA', Unexpected error: Traceback (most recent call last):
File "/Users/fiancee/onthespot/worker/downloader.py", line 133, in download_track
convert_audio_format(filename, quality)
File "/Users/fiancee/onthespot/utils/spotify.py", line 131, in convert_audio_format
raw_audio = AudioSegment.from_file(os.path.abspath(filename), format="ogg",
File "/usr/local/lib/python3.10/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/usr/local/lib/python3.10/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
!
[2022-10-20 12:37:43,905 :: /Users/fiancee/onthespot/worker/downloader.py -> 279: run() :: ERROR] -> Download process returned false: 6kXLq2u5answm56UMbHSoA
[2022-10-20 12:37:43,906 :: /Users/fiancee/onthespot/worker/downloader.py -> 248: run() :: INFO] -> Processing download for track by id '6kXLq2u5answm56UMbHSoA', Attempt: 2
[2022-10-20 12:37:49,335 :: /Users/fiancee/onthespot/worker/downloader.py -> 128: download_track() :: WARNING] -> Force raw is disabled for track by id '6kXLq2u5answm56UMbHSoA', media converting and tagging will be done !
[2022-10-20 12:37:49,335 :: /Users/fiancee/onthespot/utils/spotify.py -> 129:convert_audio_format() :: INFO] -> Audiosegment media at '/Users/fiancee/Dennis Smile/[2017] Abomination EP/Dennis Smile - Abomination EP - Abomination.mp3'
/usr/local/lib/python3.10/site-packages/pydub/utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
[2022-10-20 12:37:49,348 :: /Users/fiancee/onthespot/worker/downloader.py -> 185: download_track() :: ERROR] -> Download failed for track by id '6kXLq2u5answm56UMbHSoA', Unexpected error: Traceback (most recent call last):
File "/Users/fiancee/onthespot/worker/downloader.py", line 133, in download_track
convert_audio_format(filename, quality)
File "/Users/fiancee/onthespot/utils/spotify.py", line 131, in convert_audio_format
raw_audio = AudioSegment.from_file(os.path.abspath(filename), format="ogg",
File "/usr/local/lib/python3.10/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/usr/local/lib/python3.10/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/Cellar/[email protected]/3.10.8/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
!
[2022-10-20 12:37:49,351 :: /Users/fiancee/onthespot/worker/downloader.py -> 279: run() :: ERROR] -> Download process returned false: 6kXLq2u5answm56UMbHSoA
I tried removing and adding in my acc bit to no avail
That would be cool if we could change the bitrate option.
Attempting to add a podcast episode URL will report that it has been added to the download queue, but it does not appear. Attempting to add the episode again will report that "The Episode is being parsed and will be added to download queue shortly." This does not seem to complete and the episode never appears in the Progress tab.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.