casualsnek / onthespot

qt based music downloader written in python
GNU General Public License v2.0
850 stars 59 forks source link

[BUG] Login error, adding account failed #144

Open Singoleth opened 1 month ago

Singoleth commented 1 month ago

I also get the login error with OnTheSpot (exe with bundled FFMPEG) as of today on Windows 11. Accounts worked fine before and work on Spotify, but onthespot gives a login error. Password matches new requirements, too.

[2024-07-29 20:39:19,500 :: gui.main_ui :: gui\mainui.py -> 531:       __add_account() :: INFO] -> Add account clicked
[2024-07-29 20:39:19,501 :: utils :: utils\utils.py -> 50:          login_user() :: INFO] -> logging in user 'spot****@****.***'
[2024-07-29 20:39:19,501 :: utils :: utils\utils.py -> 75:          login_user() :: INFO] -> Session file does not exist user 'spot****@****.***', attempting login with uname/pass
[2024-07-29 20:39:19,502 :: utils :: utils\utils.py -> 77:          login_user() :: INFO] -> logging in user 'spot****@****.***'
[2024-07-29 20:39:21,184 :: utils :: utils\utils.py -> 84:          login_user() :: ERROR] -> Failed logging in user 'spot****@****.***', unexpected error !
[2024-07-29 20:39:21,186 :: gui.main_ui :: gui\mainui.py -> 561:       __add_account() :: ERROR] -> Account add failed for : s********@******.*** 

I deleted both the onthespot folders in .cache and .config without success. Is there a new exe I can try? Many thanks!!

Singoleth commented 1 month ago

2024-07-29 21_27_49-casualOnTheSpot

Ghosty-Tongue commented 1 month ago

same issue

Dragnod commented 1 month ago

Same here. Cant login on a fresh Fedora install.

bingo-66 commented 1 month ago

I also have the same problem here.
Not possible anymore to add an account. (Linux install)

Jonathanm1995 commented 1 month ago

Here to On windows

Jonathanm1995 commented 1 month ago

Here to On windows

Seems for me I had entered the wrong password I am now logged in

sean89503 commented 1 month ago

This is probably do to having a job running already, restart the app and add before you start

Singoleth commented 1 month ago

Just restarted everything, and the error persists. Here is the console output onthespot generates from start to finish:

OTS Version : 0.5 Config version: 0.5 FFMPEG found in package ! Using ffmpeg binary at: C:\Users\***\AppData\Local\Temp\_MEI72722\onthespot\bin\ffmpeg\ffmpeg.exe [2024-07-31 10:21:19,655 :: __init__ :: __init__.py -> 11: main() :: INFO] -> Starting application in 3 2 1 [2024-07-31 10:21:20,457 :: gui.main_ui :: gui\mainui.py -> 86: __init__() :: INFO] -> Initialising main window, logging session : 30d4973b-7b80-4e03-b5c5-5c755585c9f7 [2024-07-31 10:21:20,482 :: gui.main_ui :: gui\mainui.py -> 102: __init__() :: INFO] -> Loading configurations.. [2024-07-31 10:21:20,484 :: gui.main_ui :: gui\mainui.py -> 192: __m3u_maker_set() :: INFO] -> Playlist generator watcher set clicked [2024-07-31 10:21:20,485 :: gui.main_ui :: gui\mainui.py -> 195: __m3u_maker_set() :: INFO] -> Starting media watcher thread, no active watcher [2024-07-31 10:21:20,486 :: gui.main_ui :: gui\mainui.py -> 205: __m3u_maker_set() :: INFO] -> Playlist thread started [2024-07-31 10:21:20,486 :: worker.utility :: worker\utility.py -> 22: run() :: INFO] -> Playlist m3u8 builder is running.... [2024-07-31 10:21:20,487 :: gui.main_ui :: gui\mainui.py -> 474: __fill_configs() :: INFO] -> Config filled to UI [2024-07-31 10:21:20,487 :: gui.main_ui :: gui\mainui.py -> 114: __init__() :: INFO] -> Preparing session loader [2024-07-31 10:21:20,488 :: gui.main_ui :: gui\mainui.py -> 126: __init__() :: INFO] -> Preparing parsing queue processor [2024-07-31 10:21:20,488 :: worker.session :: worker\session.py -> 17: run() :: INFO] -> Session loader has started ! [2024-07-31 10:21:20,489 :: gui.main_ui :: gui\mainui.py -> 170: set_table_props() :: INFO] -> Setting table item properties [2024-07-31 10:21:20,489 :: worker.utility :: worker\utility.py -> 90: run() :: INFO] -> Parsing queue processor is active ! [2024-07-31 10:21:20,490 :: gui.main_ui :: gui\mainui.py -> 141: __init__() :: INFO] -> Main window init completed ! [2024-07-31 10:21:20,490 :: worker.utility :: worker\utility.py -> 92: run() :: INFO] -> Waiting for new item to parse [2024-07-31 10:21:20,496 :: gui.main_ui :: gui\mainui.py -> 399:__generate_users_table() :: INFO] -> Accounts table was populated ! [2024-07-31 10:21:39,680 :: gui.main_ui :: gui\mainui.py -> 531: __add_account() :: INFO] -> Add account clicked [2024-07-31 10:21:39,681 :: utils :: utils\utils.py -> 50: login_user() :: INFO] -> logging in user '****@****.***' [2024-07-31 10:21:39,682 :: utils :: utils\utils.py -> 75: login_user() :: INFO] -> Session file does not exist user '****@****.***', attempting login with uname/pass [2024-07-31 10:21:39,682 :: utils :: utils\utils.py -> 77: login_user() :: INFO] -> logging in user '****@****.***' [2024-07-31 10:21:41,304 :: utils :: utils\utils.py -> 84: login_user() :: ERROR] -> Failed logging in user '****@****.***', unexpected error ! [2024-07-31 10:21:41,304 :: gui.main_ui :: gui\mainui.py -> 561: __add_account() :: ERROR] -> Account add failed for : ****@****.***

justin025 commented 1 month ago

I've been using onthespot for a few months now and just recently started experiencing this error. It seems spotify has started blocking api access for datacenter ip addresses, after disabling my vpn I was able to log in fine.

Here's an upstream issue with further context: https://github.com/kokarare1212/librespot-python/issues/277

Singoleth commented 1 month ago

Fascinating, thank you. I am using a residential IP though and have this issue.

justin025 commented 1 month ago

To satisfy my curiosity try logging in on your phones hotspot or on a different ip address.

Singoleth commented 1 month ago

To satisfy my curiosity try logging in on your phones hotspot or on a different ip address.

Same of different IP and hotspots.

LeGenDaRy15PT commented 4 weeks ago

I have the same problem, I had to format the computer and then when I installed onthespot it started giving me a login error and through the browser I can log in normally I have Windows 11 1 2

omarigg04 commented 4 weeks ago

Same here


TS Version :  0.5
Config version:  0.5
Attempting to use system ffmpeg binary !
Using ffmpeg binary at:  ffmpeg.exe
[2024-08-14 16:39:16,377 :: __init__ :: __init__.py -> 11:                main() :: INFO] -> Starting application in
3
2
1
[2024-08-14 16:39:16,551 :: gui.main_ui :: gui\mainui.py -> 86:            __init__() :: INFO] -> Initialising main window, logging session : 6175b8c4-dc95-46ad-ad73-b151b801c0be
[2024-08-14 16:39:16,566 :: gui.main_ui :: gui\mainui.py -> 102:            __init__() :: INFO] -> Loading configurations..
[2024-08-14 16:39:16,566 :: gui.main_ui :: gui\mainui.py -> 474:      __fill_configs() :: INFO] -> Config filled to UI
[2024-08-14 16:39:16,566 :: gui.main_ui :: gui\mainui.py -> 114:            __init__() :: INFO] -> Preparing session loader
[2024-08-14 16:39:16,582 :: gui.main_ui :: gui\mainui.py -> 126:            __init__() :: INFO] -> Preparing parsing queue processor
[2024-08-14 16:39:16,582 :: worker.session :: worker\session.py -> 17:                 run() :: INFO] -> Session loader has started !
[2024-08-14 16:39:16,582 :: gui.main_ui :: gui\mainui.py -> 170:     set_table_props() :: INFO] -> Setting table item properties
[2024-08-14 16:39:16,582 :: worker.utility :: worker\utility.py -> 90:                 run() :: INFO] -> Parsing queue processor is active !
[2024-08-14 16:39:16,582 :: gui.main_ui :: gui\mainui.py -> 141:            __init__() :: INFO] -> Main window init completed !
[2024-08-14 16:39:16,582 :: worker.utility :: worker\utility.py -> 92:                 run() :: INFO] -> Waiting for new item to parse
[2024-08-14 16:39:16,582 :: gui.main_ui :: gui\mainui.py -> 399:__generate_users_table() :: INFO] -> Accounts table was populated !
[2024-08-14 16:39:33,964 :: gui.main_ui :: gui\mainui.py -> 531:       __add_account() :: INFO] -> Add account clicked
[2024-08-14 16:39:33,965 :: utils :: utils\utils.py -> 50:          login_user() :: INFO] -> logging in user 'gaxi****@****.***'
[2024-08-14 16:39:33,966 :: utils :: utils\utils.py -> 75:          login_user() :: INFO] -> Session file does not exist user 'gaxi****@****.***', attempting login with uname/pass
[2024-08-14 16:39:33,966 :: utils :: utils\utils.py -> 77:          login_user() :: INFO] -> logging in user 'gaxi****@****.***'
[2024-08-14 16:39:35,345 :: utils :: utils\utils.py -> 84:          login_user() :: ERROR] -> Failed logging in user 'gaxi****@****.***', unexpected error !
[2024-08-14 16:39:35,347 :: gui.main_ui :: gui\mainui.py -> 561:       __add_account() :: ERROR] -> Account add failed for : xxxxxxxx@gmail.com
[2024-08-14 16:39:38,820 :: gui.main_ui :: gui\mainui.py -> 531:       __add_account() :: INFO] -> Add account clicked
[2024-08-14 16:39:38,820 :: gui.main_ui :: gui\mainui.py -> 564:       __add_account() :: INFO] -> Credentials are empty >-<
[2024-08-14 16:40:27,787 :: gui.main_ui :: gui\mainui.py -> 531:       __add_account() :: INFO] -> Add account clicked
[2024-08-14 16:40:27,788 :: utils :: utils\utils.py -> 50:          login_user() :: INFO] -> logging in user '1213****@****.***'
[2024-08-14 16:40:27,788 :: utils :: utils\utils.py -> 75:          login_user() :: INFO] -> Session file does not exist user '1213****@****.***', attempting login with uname/pass
[2024-08-14 16:40:27,789 :: utils :: utils\utils.py -> 77:          login_user() :: INFO] -> logging in user '1213****@****.***'
[2024-08-14 16:40:29,155 :: utils :: utils\utils.py -> 84:          login_user() :: ERROR] -> Failed logging in user '1213****@****.***', unexpected error !
[2024-08-14 16:40:29,156 :: gui.main_ui :: gui\mainui.py -> 561:       __add_account() :: ERROR] -> Account add failed for : 12134171106
[2024-08-14 16:41:01,371 :: gui.main_ui :: gui\mainui.py -> 531:       __add_account() :: INFO] -> Add account clicked
[2024-08-14 16:41:01,372 :: utils :: utils\utils.py -> 50:          login_user() :: INFO] -> logging in user 'gaxi****@****.***'
[2024-08-14 16:41:01,372 :: utils :: utils\utils.py -> 75:          login_user() :: INFO] -> Session file does not exist user 'gaxi****@****.***', attempting login with uname/pass
[2024-08-14 16:41:01,373 :: utils :: utils\utils.py -> 77:          login_user() :: INFO] -> logging in user 'gaxi****@****.***'
[2024-08-14 16:41:02,937 :: utils :: utils\utils.py -> 84:          login_user() :: ERROR] -> Failed logging in user 'gaxi****@****.***', unexpected error !
[2024-08-14 16:41:02,939 :: gui.main_ui :: gui\mainui.py -> 561:       __add_account() :: ERROR] -> Account add failed for : xxxxxxxxxx```
![image](https://github.com/user-attachments/assets/242ea51b-203b-4349-b803-4c499f3c1e95)
justin025 commented 3 weeks ago

There is a temporary solution, install python on your pc and run the following script. Next install the spotify desktop app on your pc, click on connected devices, and select librespot.

The script should spit out a credentials.json file that can then be used to replace onthespot's cached login. it should be in C:\Users\(USERNAME)\.cache\casualOnTheSpot\sessions\ots_login...json

Just replace it and relaunch onthespot. The login will work forever until you change your password.

Linux users: download the script and run it using 'python script.py'. Then follow the same steps as above

myki-b commented 3 weeks ago

Thanks for your help @justin025, when I moved the credentials.json file to the \sessions\ folder, I renamed it exactly to "ots_login...json" as you mentioned (there was no existing file here at all, I hope that isn't an issue).

However when I launch OTS again, it says "No session available for , login to at least one account !"

Did I follow your steps incorrectly?

LeGenDaRy15PT commented 3 weeks ago

Hey @justin025 when I ran this code it simply gives me an error of [WinError 10053] An established connection was aborted by software on the host computer, I don't know how to solve this error, if you know any solution I would appreciate it

image Code:

>>> from librespot.zeroconf import ZeroconfServer
>>> import time
>>> import logging
>>> import pathlib
>>>
>>> zs = ZeroconfServer.Builder().create()
>>> logging.warning("Transfer playback from desktop client to librespot-python via Spotify Connect in order to store session")
WARNING:root:Transfer playback from desktop client to librespot-python via Spotify Connect in order to store session
>>>
>>> while True:
...     time.sleep(1)
...     if zs._ZeroconfServer__session:
...         logging.warning(f"Grabbed {zs._ZeroconfServer__session} for {zs._ZeroconfServer__session.username()}")
...
...         if pathlib.Path("credentials.json").exists():
...             logging.warning("Session stored in credentials.json. Now you can Ctrl+C")
...             breakException in thread session-packet-receiver:
Traceback (most recent call last):
  File "C:\Users\vboxuser\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1075, in _bootstrap_inner
    self.run()
  File "C:\Users\vboxuser\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1012, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\vboxuser\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\core.py", line 1644, in run
    packet = self.__session.cipher_pair.receive_encoded(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\vboxuser\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\crypto.py", line 58, in receive_encoded
    header_bytes = self.__receive_cipher.decrypt(connection.read(3))
                                                 ^^^^^^^^^^^^^^^^^^
  File "C:\Users\vboxuser\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\core.py", line 1548, in read
    return self.__socket.recv(length)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionAbortedError: [WinError 10053] An established connection was aborted by software on the host computer
jernauH commented 3 weeks ago

thanks @justin025 worked a treat on my ubuntu box

justin025 commented 3 weeks ago

@myki-b nice pfp, onthespot first checks C:\Users\USERNAME\.config\casualonthespot\config.json to see available accounts and then uses the cached session. If the accounts field is empty in this file change it to the following:

"accounts": [
    [
        "EMAIL",
        true,
        1,
        "a"
    ]
],

Finally rename otslogin...json to ots_login_a.json

Onthespot will search for login 'a' in your sessions folder with the email above and login

@josefilipe13 I received errors on my windows pc aswell but the code still spit out a credentials.json did you get it? Nonetheless open powershell/cmd, run 'pip install librespot' and run the file again. Don't worry when you uninstall python it will undo the command above. I noticed your using a vm, I'm not very knowledgeable about windows' build of python. Consider running the script using a linux iso

Flatoupix commented 3 weeks ago

@myki-b nice pfp, onthespot first checks C:\Users\USERNAME.config\casualonthespot\config.json to see available accounts and then uses the cached session. If the accounts field is empty in this file change it to the following:

"accounts": [
    [
        "EMAIL",
        true,
        1,
        "a"
    ]
],

Finally rename otslogin...json to ots_login_a.json

Onthespot will search for login 'a' in your sessions folder with the email above and login

@josefilipe13 I received errors on my windows pc aswell but the code still spit out a credentials.json did you get it? Nonetheless open powershell/cmd, run 'pip install librespot' and run the file again. Don't worry when you uninstall python it will undo the command above. I noticed your using a vm, I'm not very knowledgeable about windows' build of python. Consider running the script using a linux iso

Thank you mate, it worked like a charm

LeGenDaRy15PT commented 3 weeks ago

@justin025 I don't know very well how to use Linux, but if I need to test on my own Windows without using a VM I can do that too, I'll test now

ValentinPintat commented 3 weeks ago

@justin025 I managed to resolve my issue

I modifided the config file of

C:\Users\Valentin.config\casualOnTheSpot by adding the email and placing ots_login_a.json in that folder

and

not C:\Users\Valentin.cache\casualOnTheSpot\sessions

myki-b commented 3 weeks ago

@myki-b nice pfp, onthespot first checks C:\Users\USERNAME.config\casualonthespot\config.json to see available accounts and then uses the cached session. If the accounts field is empty in this file change it to the following:

"accounts": [
    [
        "EMAIL",
        true,
        1,
        "a"
    ]
],

Finally rename otslogin...json to ots_login_a.json

Onthespot will search for login 'a' in your sessions folder with the email above and login

@josefilipe13 I received errors on my windows pc aswell but the code still spit out a credentials.json did you get it? Nonetheless open powershell/cmd, run 'pip install librespot' and run the file again. Don't worry when you uninstall python it will undo the command above. I noticed your using a vm, I'm not very knowledgeable about windows' build of python. Consider running the script using a linux iso

You absolute legend!

fe-de-ri-co commented 3 weeks ago

Hi guys, I have the same issue, If I knew nothing about Python, please can someone share an idiot proof guide to solve the problem? I downloaded python and the script but I don't know what to do with them Thanks a lot! Federico

LeGenDaRy15PT commented 3 weeks ago

@fe-de-ri-co I made a short video and a step by step guide on github, you can check it out at the following link: How to fix Spotify Login Credits @justin025

walt536 commented 3 weeks ago

Thanks guys. i finally figured out how to do it. Unfortunatlly it only works for premium accounts. i want to download something from spotify germany cause its not available here, but no luck. Spotify desktop app wont let me to connect to librespot-python unless i have a premium account. and unless i have a german credit card or some other german method of payment, i cant do it.... is there any way around this?

LeGenDaRy15PT commented 3 weeks ago

@walt536 You can do as I do, because I don't pay to have Spotify Premium, for me the real objective is to download music in good quality, I create disposable accounts, the premium lasts 1 month for each account, I do it like this: Create an email can be gmail or outlook and create a virtual card using your bank's application Then go to Spotify and create a new account and add this virtual card to activate the premium, once activated you can deactivate the subscription and you already have the premium for 1 month. If you use it on your main account you may run the risk of being banned, until now the risk is low, as I use it on disposable accounts I'm not worried. If you need help, you can follow the steps I left as a guide: How to fix Spotify Login

SybilVane commented 2 weeks ago

Hello, I tried several times to follow the instructions and I have a premium account. The problem is that the script is not spitting out the config file. The sessions folder is also empty, nevertheless I managed to connect my sportify account to libre spot.

This is what I get in the terminal (on Windows)

WARNING:root:Transfer playback from desktop client to librespot-python via Spotify Connect in order to store session WARNING:zeroconf:Error with socket 1352 (('0.0.0.0', 5353))): [WinError 87] El parámetro no es correcto Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 573, in _loop_reading self._read_fut = self._loop._proactor.recvfrom(self._sock, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 505, in recvfrom self._register_with_iocp(conn) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 732, in _register_with_iocp _overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0) OSError: [WinError 87] El parámetro no es correcto WARNING:zeroconf:Error with socket 1324 (('192.168.137.1', 5353))): [WinError 87] El parámetro no es correcto Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 573, in _loop_reading self._read_fut = self._loop._proactor.recvfrom(self._sock, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 505, in recvfrom self._register_with_iocp(conn) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 732, in _register_with_iocp _overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0) OSError: [WinError 87] El parámetro no es correcto WARNING:zeroconf:Error with socket 1328 (('192.168.0.14', 5353))): [WinError 87] El parámetro no es correcto Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 573, in _loop_reading self._read_fut = self._loop._proactor.recvfrom(self._sock, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 505, in recvfrom self._register_with_iocp(conn) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 732, in _register_with_iocp _overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0) OSError: [WinError 87] El parámetro no es correcto WARNING:zeroconf:Error with socket 1332 (('127.0.0.1', 5353))): [WinError 87] El parámetro no es correcto Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\proactor_events.py", line 573, in _loop_reading self._read_fut = self._loop._proactor.recvfrom(self._sock, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 505, in recvfrom self._register_with_iocp(conn) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\asyncio\windows_events.py", line 732, in _register_with_iocp _overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0) OSError: [WinError 87] El parámetro no es correcto

LeGenDaRy15PT commented 2 weeks ago

@SybilVane This code seems to be normal to me, when you open the code you need to go to spotify on the desktop connect device --> "librespot-python" make sure you have librespot installed in python, many can try to do it through the browser but there the librespot is not detected

SybilVane commented 2 weeks ago

Indeed I have opened the desktop app and I can see librespot Captura de pantalla 2024-08-22 202439

the problem is that when I double click it nothing happens, no config on the desktop or anywhere... the footer of the app showing "connecting to librespot..." but then it disappears. It seems like it exists but it does not connect. I followed all the guide from the video. Also, I installed librespot using pip install

alany08 commented 2 weeks ago

I'm not able to select librespot-python, it says I need premium image

alany08 commented 2 weeks ago

Oh well I'll start the free trial and see what goes from there.

Jonathanm1995 commented 2 weeks ago

Can someone fix that login for me with anydesk?

alany08 commented 2 weeks ago

Until librespot fixes the issue, OnTheSpot won't be working anytime soon. Use another tool like spotify_web_downloader, and tweak it a bit to prevent yourself from being banned. I'm using that with a combination of my own tool (public on my profile) to organize playlists and import into foobar2000

justin025 commented 2 weeks ago

I fixed the login function, i just dont know how to build it using pyinstaller (there seems to be a dependency problem with zeroconf), hopefully someone with more knowledge than me can fix it.

For advanced mac and linux users clone my repo and run 'python portable.py'. For windows users, I'm unsure how to package an exe at the moment. Sorry, I'll keep you updated

justin025 commented 2 weeks ago

Can someone fix that login for me with anydesk?

How can i contact you

alany08 commented 2 weeks ago

I fixed the login function, i just dont know how to build it using pyinstaller (there seems to be a dependency problem with zeroconf), hopefully someone with more knowledge than me can fix it.

For advanced mac and linux users clone my repo and run 'python portable.py'. For windows users, I'm unsure how to package an exe at the moment. Sorry, I'll keep you updated

I’ve tried zeroconf, it requires premium

justin025 commented 2 weeks ago

I’ve tried zeroconf, it requires premium

Have you tried my fork? It works fine with the two free accounts I've tested.

alany08 commented 2 weeks ago

I’m fine, spotify web downloader works perfectly for meOn Aug 25, 2024, at 21:32, Justin @.***> wrote:

I’ve tried zeroconf, it requires premium

Have you tried my fork, it works with free accounts.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Jonathanm1995 commented 2 weeks ago

Can someone fix that login for me with anydesk?

How can i contact you

My discord is: methorstgang1995

Jonathanm1995 commented 2 weeks ago

Can someone fix that login for me with anydesk?

How can i contact you

I live in the Netherlands so maybe different timezone

jcwillia1 commented 2 weeks ago

@fe-de-ri-co I made a short video and a step by step guide on github, you can check it out at the following link: How to fix Spotify Login Credits @justin025

did you put your username and password in? Is that why it's blacked out in your video? If that was part of the instructions I missed it. Does the password go in "a"?

edit I missed the part where you have to run a python script and I think this is where I tap out. Too technical.

justin025 commented 2 weeks ago

did you put your username and password in? Is that why it's blacked out in your video? If that was part of the instructions I missed it. Does the password go in "a"?

edit I missed the part where you have to run a python script and I think this is where I tap out. Too technical.

I don't like filling this issue up with support inquiries, my discord account is @j075046 you can dm me and I will help you however I can. If you don't like discord let me know how to contact you.

justin025 commented 2 weeks ago

For linux users I've added an appimage to releases here. If there is demand I may look into building a macos dmg. No update for windows builds yet.

justin025 commented 2 weeks ago

Windows and macos builds with the new login scheme available here: https://github.com/justin025/onthespot/releases/tag/v0.6

Virus Scan (on exe): https://www.virustotal.com/gui/file/bf6ccbe856f4a6ef82aaa8fadef0cec5bcfc8cc8c26da0da60a67762a341a11f

jcwillia1 commented 2 weeks ago

so mine says "waiting..." after clicking on OnTheSpot in my Spotify app and hitting "OK" on the window. image

justin025 commented 2 weeks ago

Windows 10 or 11, on windows 11 you will receive a popup to allow local network access.

Attach logs

jcwillia1 commented 2 weeks ago

win 10, got a firewall message - i hit allow access

justin025 commented 2 weeks ago

Its difficult to say whats wrong without logs, they should be located in C:\Users\USERNAME.cache

jcwillia1 commented 2 weeks ago

2 logs - (tried twice)

[2024-08-27 15:26:27,278 :: init :: init.py -> 11: main() :: INFO] -> Starting application in 3 2 1 [2024-08-27 15:26:27,892 :: gui.main_ui :: gui\mainui.py -> 88: init() :: INFO] -> Initialising main window, logging session : f623a4db-e41a-4de8-bd64-1e3e6bd315e7 [2024-08-27 15:26:27,907 :: gui.main_ui :: gui\mainui.py -> 104: init() :: INFO] -> Loading configurations.. [2024-08-27 15:26:27,908 :: gui.main_ui :: gui\mainui.py -> 504: fill_configs() :: INFO] -> Config filled to UI [2024-08-27 15:26:27,927 :: gui.main_ui :: gui\mainui.py -> 116: init() :: INFO] -> Preparing session loader [2024-08-27 15:26:27,928 :: gui.main_ui :: gui\mainui.py -> 128: init() :: INFO] -> Preparing parsing queue processor [2024-08-27 15:26:27,928 :: worker.session :: worker\session.py -> 17: run() :: INFO] -> Session loader has started ! [2024-08-27 15:26:27,929 :: gui.main_ui :: gui\mainui.py -> 151: init() :: INFO] -> Set theme Light! [2024-08-27 15:26:27,929 :: worker.session :: worker\session.py -> 23: run() :: INFO] -> Trying to create session for EMAI [2024-08-27 15:26:27,929 :: gui.main_ui :: gui\mainui.py -> 200: set_table_props() :: INFO] -> Setting table item properties [2024-08-27 15:26:27,929 :: worker.utility :: worker\utility.py -> 90: run() :: INFO] -> Parsing queue processor is active ! [2024-08-27 15:26:27,930 :: gui.main_ui :: gui\mainui.py -> 155: init() :: INFO] -> Main window init completed ! [2024-08-27 15:26:27,930 :: worker.utility :: worker\utility.py -> 92: run() :: INFO] -> Waiting for new item to parse [2024-08-27 15:26:28,131 :: utils :: utils\utils.py -> 52: login_user() :: INFO] -> logging in user 'EMAI@.*' [2024-08-27 15:26:28,131 :: utils :: utils\utils.py -> 77: login_user() :: INFO] -> Session file does not exist user 'EMAI@.*', attempting login with uname/pass [2024-08-27 15:26:28,132 :: utils :: utils\utils.py -> 79: login_user() :: INFO] -> logging in user 'EMAI@.*' [2024-08-27 15:26:29,700 :: utils :: utils\utils.py -> 86: login_user() :: ERROR] -> Failed logging in user 'EMAI@.*', unexpected error ! [2024-08-27 15:26:29,705 :: gui.main_ui :: gui\mainui.py -> 429:__generate_users_table() :: INFO] -> Accounts table was populated ! [2024-08-27 15:26:50,748 :: gui.main_ui :: gui\mainui.py -> 562: add_account() :: INFO] -> Add account clicked [2024-08-27 15:28:44,434 :: utils :: utils\utils.py -> 92: remove_user() :: INFO] -> Removing user 'EMAI@.*' from saved entries, uuid a [2024-08-27 15:28:44,435 :: utils :: utils\utils.py -> 119: remove_user() :: INFO] -> Saved Account user 'EMAI@.*' found and removed, uuid: a [2024-08-27 15:29:08,722 :: init :: init.py -> 17: main() :: INFO] -> Good bye ..

[2024-08-27 15:29:33,491 :: init :: init.py -> 11: main() :: INFO] -> Starting application in 3 2 1 [2024-08-27 15:29:33,914 :: gui.main_ui :: gui\mainui.py -> 88: init() :: INFO] -> Initialising main window, logging session : 8293272f-a63e-4667-88a3-403679998208 [2024-08-27 15:29:33,930 :: gui.main_ui :: gui\mainui.py -> 104: init() :: INFO] -> Loading configurations.. [2024-08-27 15:29:33,931 :: gui.main_ui :: gui\mainui.py -> 504: fill_configs() :: INFO] -> Config filled to UI [2024-08-27 15:29:33,949 :: gui.main_ui :: gui\mainui.py -> 116: init() :: INFO] -> Preparing session loader [2024-08-27 15:29:33,950 :: gui.main_ui :: gui\mainui.py -> 128: init() :: INFO] -> Preparing parsing queue processor [2024-08-27 15:29:33,950 :: worker.session :: worker\session.py -> 17: run() :: INFO] -> Session loader has started ! [2024-08-27 15:29:33,950 :: gui.main_ui :: gui\mainui.py -> 151: init() :: INFO] -> Set theme Light! [2024-08-27 15:29:33,950 :: worker.utility :: worker\utility.py -> 90: run() :: INFO] -> Parsing queue processor is active ! [2024-08-27 15:29:33,951 :: gui.main_ui :: gui\mainui.py -> 200: set_table_props() :: INFO] -> Setting table item properties [2024-08-27 15:29:33,951 :: worker.utility :: worker\utility.py -> 92: run() :: INFO] -> Waiting for new item to parse [2024-08-27 15:29:33,953 :: gui.main_ui :: gui\mainui.py -> 155: init() :: INFO] -> Main window init completed ! [2024-08-27 15:29:33,955 :: gui.main_ui :: gui\mainui.py -> 429:__generate_users_table() :: INFO] -> Accounts table was populated ! [2024-08-27 15:29:41,994 :: gui.main_ui :: gui\mainui.py -> 562: add_account() :: INFO] -> Add account clicked