Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Login error, adding account failed #144

Open
Singoleth opened this issue Jul 30, 2024 · 68 comments
Open

[BUG] Login error, adding account failed #144

Singoleth opened this issue Jul 30, 2024 · 68 comments

Comments

@Singoleth
Copy link

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 Singoleth changed the title Login error, adding account failed [BUG] Login error, adding account failed Jul 30, 2024
@Singoleth
Copy link
Author

2024-07-29 21_27_49-casualOnTheSpot

@ghost
Copy link

ghost commented Jul 30, 2024

same issue

@Dragnod
Copy link

Dragnod commented Jul 30, 2024

Same here. Cant login on a fresh Fedora install.

@bingo-66
Copy link

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

@Jonathanm1995
Copy link

Here to
On windows

@Jonathanm1995
Copy link

Here to On windows

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

@sean89503
Copy link

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

@Singoleth
Copy link
Author

Singoleth commented Jul 31, 2024

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
Copy link

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: kokarare1212/librespot-python#277

@Singoleth
Copy link
Author

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

@justin025
Copy link

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

@Singoleth
Copy link
Author

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

Same of different IP and hotspots.

@LeGenDaRy15PT
Copy link

LeGenDaRy15PT commented Aug 13, 2024

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
Copy link

omarigg04 commented Aug 14, 2024

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 : [email protected]
[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
Copy link

justin025 commented Aug 15, 2024

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
Copy link

myki-b commented Aug 16, 2024

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
Copy link

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
Copy link

jernauH commented Aug 16, 2024

thanks @justin025 worked a treat on my ubuntu box

@justin025
Copy link

justin025 commented Aug 16, 2024

@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 ots_login_...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
Copy link

@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 ots_login_...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
Copy link

@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
Copy link

@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
Copy link

myki-b commented Aug 16, 2024

@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 ots_login_...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
Copy link

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
Copy link

@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
Copy link

walt536 commented Aug 18, 2024

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
Copy link

@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
Copy link

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

@Jonathanm1995
Copy link

Jonathanm1995 commented Aug 26, 2024

Can someone fix that login for me with anydesk?

How can i contact you

My discord is: methorstgang1995

@Jonathanm1995
Copy link

Can someone fix that login for me with anydesk?

How can i contact you

I live in the Netherlands so maybe different timezone

@jcwillia1
Copy link

jcwillia1 commented Aug 26, 2024

@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
Copy link

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
Copy link

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
Copy link

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
Copy link

jcwillia1 commented Aug 27, 2024

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

@justin025
Copy link

justin025 commented Aug 27, 2024

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

Attach logs

@jcwillia1
Copy link

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

@justin025
Copy link

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

@jcwillia1
Copy link

jcwillia1 commented Aug 27, 2024

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

@justin025
Copy link

I just tried on my windows 10 pc and it worked first try, one possible issue is that I allowed network access for both spotify and onthespot so that they could communicate. Perhaps you blocked spotify in firewall when you first installed it?

@jcwillia1
Copy link

re spotify - def not - I can try on my win 11 box

@jcwillia1
Copy link

I just tried on my windows 10 pc and it worked first try, one possible issue is that I allowed network access for both spotify and onthespot so that they could communicate. Perhaps you blocked spotify in firewall when you first installed it?

yah first time on my win 11 box - must have been something with the leftovers from the 0.5 install - not sure how to clear that out

@justin025
Copy link

yah first time on my win 11 box - must have been something with the leftovers from the 0.5 install - not sure how to clear that out

You can delete .cache and .config at C:\Users\USERNAME

@SybilVane
Copy link

It works!!! Thank youuuuu!!!!!!!!!!!! 🥹 🥹 🥹

@jcwillia1
Copy link

so the files aren't downloading - is that a separate problem? I copied in one of my playlists and it populated just fine but it never downloaded any of them.

image
image

@SybilVane
Copy link

so the files aren't downloading - is that a separate problem? I copied in one of my playlists and it populated just fine but it never downloaded any of them.

image image

This happened to me when I added the user session. I solved the problem by cancelling all downloads, closing onthespot and spotify, reopening again and searching again for the playlist I wanted to add to downloads.... Quite random but it worked out

@jcwillia1
Copy link

so the files aren't downloading - is that a separate problem? I copied in one of my playlists and it populated just fine but it never downloaded any of them.
image image

This happened to me when I added the user session. I solved the problem by cancelling all downloads, closing onthespot and spotify, reopening again and searching again for the playlist I wanted to add to downloads.... Quite random but it worked out

yup same

still can't get it to work on my win10 box, cleared cache, config, reinstalled spotify, nothing

@justin025
Copy link

If you'd like you could just copy your cache and config from your windows 11 box to windows 10. They should be os agnostic

@jcwillia1
Copy link

works on my win 10 laptop as well - I'll try that first

@jcwillia1
Copy link

If you'd like you could just copy your cache and config from your windows 11 box to windows 10. They should be os agnostic

you're a problem solving genius justin - that did the trick

@justin025
Copy link

justin025 commented Sep 2, 2024

Fixed login bug for free accounts and other minor things in 0.6.1 https://github.com/justin025/onthespot/releases/latest

@green-onion1
Copy link

green-onion1 commented Sep 5, 2024

Fixed login bug for free accounts and other minor things in 0.6.1 https://github.com/justin025/onthespot/releases/tag/v0.6.1

after downloading and opening the 6.1 version and trying to add new account, I get a popup that says "Login service started... Select Onthespot under devices in Spotify desktop app".

how do I do that? I downloaded the desktop app but can't find any 'devices' option.
sorry to bug you, I appreciate the work you doing

@justin025
Copy link

how do I do that? I downloaded the desktop app but can't find any 'devices' option.

2024-09-04_22-03

@green-onion1
Copy link

how do I do that? I downloaded the desktop app but can't find any 'devices' option.

2024-09-04_22-03

I appreciate this. If you have a tip jar, direct me

@justin025
Copy link

I appreciate this. If you have a tip jar, direct me

No need, just leave a star on the repo.

For anyone else reading this, please post issues / support requests at the link below:
https://github.com/justin025/onthespot/issues

@LongLKAZ
Copy link

can some one help me how to fix it in Mac? i download the OnTheSpot-x86_64.dmg v0.6.2 but it can't open, i only use the terminal to open onthespot before

@justin025
Copy link

can some one help me how to fix it in Mac? i download the OnTheSpot-x86_64.dmg v0.6.2 but it can't open, i only use the terminal to open onthespot before

you can dm me on discord @j075046 or open an issue at the link i posted above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests