[GH-ISSUE #27] OAuth Awaiting Token Timeout #22

Closed
opened 2026-02-27 04:57:09 +03:00 by kerem · 25 comments
Owner

Originally created by @fafamobile on GitHub (Jun 27, 2025).
Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/27

Hi,

I am having an issue authenticating, I am wondering if anyone has the same issue?

Thanks

Originally created by @fafamobile on GitHub (Jun 27, 2025). Original GitHub issue: https://github.com/Googolplexed0/zotify/issues/27 Hi, I am having an issue authenticating, I am wondering if anyone has the same issue? Thanks
kerem 2026-02-27 04:57:09 +03:00
Author
Owner

@Kussh commented on GitHub (Jun 27, 2025):

I had the same issue. After authenticating Zotify works at first, but after PC reboot I start getting the authentication error.
I temporarily solved it by deleting the .json files located in C:\User[User name]\AppData\Roaming\Zotify and the login in with zotify again.

<!-- gh-comment-id:3014002828 --> @Kussh commented on GitHub (Jun 27, 2025): I had the same issue. After authenticating Zotify works at first, but after PC reboot I start getting the authentication error. I temporarily solved it by deleting the .json files located in `C:\User[User name]\AppData\Roaming\Zotify` and the login in with zotify again.
Author
Owner

@kartik-binzade commented on GitHub (Jul 7, 2025):

If you see this, don't worry! Just try logging back in. If you see the incorrect username or token error, delete your credentials.json and you should be able to log back in.

Navigate to this location (make sure to set your USERNAME):
C:\Users<USERNAME>\AppData\Roaming\Zotify\

<!-- gh-comment-id:3043497593 --> @kartik-binzade commented on GitHub (Jul 7, 2025): If you see this, don't worry! Just try logging back in. If you see the incorrect username or token error, delete your credentials.json and you should be able to log back in. Navigate to this location (make sure to set your USERNAME): C:\Users\<USERNAME>\AppData\Roaming\Zotify\
Author
Owner

@fafamobile commented on GitHub (Jul 7, 2025):

If you see this, don't worry! Just try logging back in. If you see the incorrect username or token error, delete your credentials.json and you should be able to log back in.

Navigate to this location (make sure to set your USERNAME): C:\Users\AppData\Roaming\Zotify\

I had the same issue. After authenticating Zotify works at first, but after PC reboot I start getting the authentication error. I temporarily solved it by deleting the .json files located in C:\User[User name]\AppData\Roaming\Zotify and the login in with zotify again.

I have tried logging in multiple times and will not authenticate. Not bad credentials but does not even populate a credentials.json

<!-- gh-comment-id:3043513029 --> @fafamobile commented on GitHub (Jul 7, 2025): > If you see this, don't worry! Just try logging back in. If you see the incorrect username or token error, delete your credentials.json and you should be able to log back in. > > Navigate to this location (make sure to set your USERNAME): C:\Users<USERNAME>\AppData\Roaming\Zotify\ > I had the same issue. After authenticating Zotify works at first, but after PC reboot I start getting the authentication error. I temporarily solved it by deleting the .json files located in `C:\User[User name]\AppData\Roaming\Zotify` and the login in with zotify again. I have tried logging in multiple times and will not authenticate. Not bad credentials but does not even populate a credentials.json
Author
Owner

@Googolplexed0 commented on GitHub (Jul 8, 2025):

Something may have changed on the OAuth side, but without a specific error log/message there is not much I can do to investigate or help.

<!-- gh-comment-id:3048597678 --> @Googolplexed0 commented on GitHub (Jul 8, 2025): Something may have changed on the OAuth side, but without a specific error log/message there is not much I can do to investigate or help.
Author
Owner

@fafamobile commented on GitHub (Jul 21, 2025):

Something may have changed on the OAuth side, but without a specific error log/message there is not much I can do to investigate or help.

Sorry this is the error message:

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\users\USER.local\bin\zotify.exe_main
.py", line 7, in
sys.exit(main())
~~~~^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify_main
.py", line 115, in main
args.func(args)
~~~~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 241, in client
Zotify(args)
~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\zotify.py", line 26, in init
Zotify.login(args)
~~~~~~~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\zotify.py", line 52, in login
cls.SESSION = Session.from_oauth(
~~~~~~~~~~~~~~~~~~^
oauth, cls.CONFIG.get_credentials_location(), cls.CONFIG.get_language()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify_init_.py", line 137, in from_oauth
token = oauth.await_token()
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify_init_.py", line 295, in await_token
self.__server_thread.join()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\USER\scoop\apps\python\current\Lib\threading.py", line 1094, in join
self._handle.join(timeout)
~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyboardInterrupt

<!-- gh-comment-id:3094957107 --> @fafamobile commented on GitHub (Jul 21, 2025): > Something may have changed on the OAuth side, but without a specific error log/message there is not much I can do to investigate or help. Sorry this is the error message: Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "c:\users\USER\.local\bin\zotify.exe\__main__.py", line 7, in <module> sys.exit(main()) ~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 115, in main args.func(args) ~~~~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 241, in client Zotify(args) ~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\zotify.py", line 26, in __init__ Zotify.login(args) ~~~~~~~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\zotify.py", line 52, in login cls.SESSION = Session.from_oauth( ~~~~~~~~~~~~~~~~~~^ oauth, cls.CONFIG.get_credentials_location(), cls.CONFIG.get_language() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\__init__.py", line 137, in from_oauth token = oauth.await_token() File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\__init__.py", line 295, in await_token self.__server_thread.join() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\scoop\apps\python\current\Lib\threading.py", line 1094, in join self._handle.join(timeout) ~~~~~~~~~~~~~~~~~^^^^^^^^^ KeyboardInterrupt
Author
Owner

@Googolplexed0 commented on GitHub (Jul 25, 2025):

token = oauth.await_token()

Not sure what is causing this error, the traceback makes it seem like an issue between the OAuth library and your specific setup. I don't think it's a problem with this tool in particular. If you can get more data or find a method for me to replicate it, I could be more helpful.

<!-- gh-comment-id:3116254243 --> @Googolplexed0 commented on GitHub (Jul 25, 2025): > token = oauth.await_token() Not sure what is causing this error, the traceback makes it seem like an issue between the OAuth library and your specific setup. I don't think it's a problem with this tool in particular. If you can get more data or find a method for me to replicate it, I could be more helpful.
Author
Owner

@Forest-Exe commented on GitHub (Jul 30, 2025):

Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me

<!-- gh-comment-id:3134843730 --> @Forest-Exe commented on GitHub (Jul 30, 2025): Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me
Author
Owner

@fafamobile commented on GitHub (Jul 30, 2025):

Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me

Alright, I will have a play around now and get back to you. Thank you!

<!-- gh-comment-id:3134855500 --> @fafamobile commented on GitHub (Jul 30, 2025): > Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me Alright, I will have a play around now and get back to you. Thank you!
Author
Owner

@fafamobile commented on GitHub (Jul 30, 2025):

Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me

I am still getting the error. I type 'zotify output' into windows powershell and try login and it still generates the error. Any other suggestions?

<!-- gh-comment-id:3134872883 --> @fafamobile commented on GitHub (Jul 30, 2025): > Hi, I was having the same issue actually but I found a weird little work around I think it has to do with soemthing with the account username fuction all I did was type "zotify output" in the terminal and it made the credentials.json for me I am still getting the error. I type 'zotify output' into windows powershell and try login and it still generates the error. Any other suggestions?
Author
Owner

@fafamobile commented on GitHub (Jul 30, 2025):

token = oauth.await_token()

Not sure what is causing this error, the traceback makes it seem like an issue between the OAuth library and your specific setup. I don't think it's a problem with this tool in particular. If you can get more data or find a method for me to replicate it, I could be more helpful.

Is there any particular thing thats stopping the authentication from my set up?

<!-- gh-comment-id:3135023575 --> @fafamobile commented on GitHub (Jul 30, 2025): > > token = oauth.await_token() > > Not sure what is causing this error, the traceback makes it seem like an issue between the OAuth library and your specific setup. I don't think it's a problem with this tool in particular. If you can get more data or find a method for me to replicate it, I could be more helpful. Is there any particular thing thats stopping the authentication from my set up?
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

Please try updating librespot (see #44) and Zotify to Release v0.9.11. Run with the --debug flag in the command line and attach the resulting .log file here. This may give some extra insight into what is going wrong.

<!-- gh-comment-id:3166668567 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): Please try updating librespot (see #44) and Zotify to Release v0.9.11. Run with the `--debug` flag in the command line and attach the resulting .log file here. This may give some extra insight into what is going wrong.
Author
Owner

@fafamobile commented on GitHub (Aug 8, 2025):

Please try updating librespot (see #44) and Zotify to Release v0.9.11. Run with the --debug flag in the command line and attach the resulting .log file here. This may give some extra insight into what is going wrong.

config_DEBUG.json

<!-- gh-comment-id:3166769100 --> @fafamobile commented on GitHub (Aug 8, 2025): > Please try updating librespot (see [#44](https://github.com/Googolplexed0/zotify/issues/44)) and Zotify to Release v0.9.11. Run with the `--debug` flag in the command line and attach the resulting .log file here. This may give some extra insight into what is going wrong. [config_DEBUG.json](https://github.com/user-attachments/files/21678477/config_DEBUG.json)
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

config_DEBUG.json

This is your config, which is useful, but the log will have a filename like: zotify_DEBUG_{Zotify.DATETIME_LAUNCH}.log and should be found in your root path.

<!-- gh-comment-id:3166793421 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): > config_DEBUG.json This is your config, which is useful, but the log will have a filename like: `zotify_DEBUG_{Zotify.DATETIME_LAUNCH}.log` and should be found in your root path.
Author
Owner

@fafamobile commented on GitHub (Aug 8, 2025):

config_DEBUG.json

This is your config, which is useful, but the log will have a filename like: zotify_DEBUG_{Zotify.DATETIME_LAUNCH}.log and should be found in your root path.

sorry, what do i need to run with --debug?

<!-- gh-comment-id:3166806525 --> @fafamobile commented on GitHub (Aug 8, 2025): > > config_DEBUG.json > > This is your config, which is useful, but the log will have a filename like: `zotify_DEBUG_{Zotify.DATETIME_LAUNCH}.log` and should be found in your root path. sorry, what do i need to run with --debug?
Author
Owner

@Googolplexed0 commented on GitHub (Aug 8, 2025):

sorry, what do i need to run with --debug?

Add --debug to your command line call.

<!-- gh-comment-id:3168918819 --> @Googolplexed0 commented on GitHub (Aug 8, 2025): > sorry, what do i need to run with --debug? Add `--debug` to your command line call.
Author
Owner

@fafamobile commented on GitHub (Aug 20, 2025):

sorry, what do i need to run with --debug?

Add --debug to your command line call.

there is a new error

Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "c:\users\USER.local\bin\zotify.exe_main
.py", line 7, in
sys.exit(main())
~~~~^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify_main
.py", line 119, in main
args.func(args)
~~~~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 226, in client
Zotify(args)
~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 577, in init
Zotify.login(args)
~~~~~~~~~~~~^^^^^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 611, in login
session_builder.login_credentials = OAuth(CLIENT_ID, redirect_url, oauth_print).flow()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow
self.request_token()
~~~~~~~~~~~~~~~~~~^^
File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token
raise RuntimeError("You need to provide a code before!")
RuntimeError: You need to provide a code b

and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link

<!-- gh-comment-id:3208161453 --> @fafamobile commented on GitHub (Aug 20, 2025): > > sorry, what do i need to run with --debug? > > Add `--debug` to your command line call. there is a new error Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "c:\users\USER\.local\bin\zotify.exe\__main__.py", line 7, in <module> sys.exit(main()) ~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\__main__.py", line 119, in main args.func(args) ~~~~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\app.py", line 226, in client Zotify(args) ~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 577, in __init__ Zotify.login(args) ~~~~~~~~~~~~^^^^^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify\config.py", line 611, in login session_builder.login_credentials = OAuth(CLIENT_ID, redirect_url, oauth_print).flow() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow self.request_token() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token raise RuntimeError("You need to provide a code before!") RuntimeError: You need to provide a code b and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link
Author
Owner

@fafamobile commented on GitHub (Aug 20, 2025):

sorry, what do i need to run with --debug?

Add --debug to your command line call.

also found the debug location

zotify_DEBUG_2025-08-21_09-42-06.log

<!-- gh-comment-id:3208172466 --> @fafamobile commented on GitHub (Aug 20, 2025): > > sorry, what do i need to run with --debug? > > Add `--debug` to your command line call. also found the debug location [zotify_DEBUG_2025-08-21_09-42-06.log](https://github.com/user-attachments/files/21906995/zotify_DEBUG_2025-08-21_09-42-06.log)
Author
Owner

@Googolplexed0 commented on GitHub (Aug 22, 2025):

File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow self.request_token() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token raise RuntimeError("You need to provide a code before!") RuntimeError: You need to provide a code b

and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link

From what I can tell, this error means the server that is listening for auth credentials on your computer never hears anything (doesn't get info back from you clicking the link) and eventually times out. Makes sense if you see "Site cannot be reached" on your browser. Reaching the site is necessary to send auth info back to that server.

Try troubleshooting your browser, you may have something running that restricts you from accessing local sites. I am now a lot more certain the issue lies outside of this library's code.

<!-- gh-comment-id:3212717305 --> @Googolplexed0 commented on GitHub (Aug 22, 2025): > File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow self.request_token() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token raise RuntimeError("You need to provide a code before!") RuntimeError: You need to provide a code b > > and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link From what I can tell, this error means the server that is listening for auth credentials on your computer never hears anything (doesn't get info back from you clicking the link) and eventually times out. Makes sense if you see "Site cannot be reached" on your browser. Reaching the site is necessary to send auth info back to that server. Try troubleshooting your browser, you may have something running that restricts you from accessing local sites. I am now a lot more certain the issue lies outside of this library's code.
Author
Owner

@fafamobile commented on GitHub (Aug 22, 2025):

File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow self.request_token() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token raise RuntimeError("You need to provide a code before!") RuntimeError: You need to provide a code b
and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link

From what I can tell, this error means the server that is listening for auth credentials on your computer never hears anything (doesn't get info back from you clicking the link) and eventually times out. Makes sense if you see "Site cannot be reached" on your browser. Reaching the site is necessary to send auth info back to that server.

Try troubleshooting your browser, you may have something running that restricts you from accessing local sites. I am now a lot more certain the issue lies outside of this library's code.

I am able to log in through spotify on my browser, before it redirects to the error after successfully logging in. I haven’t had a problem with “site cannot be reached” before. It has come back with “authentication successful” before the recent update. I will try troubleshooting my browser again but have tried removing firewall, etc. and did not work. Could it maybe do something with my IP?

<!-- gh-comment-id:3212732169 --> @fafamobile commented on GitHub (Aug 22, 2025): > > File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 117, in flow self.request_token() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\librespot\oauth.py", line 54, in request_token raise RuntimeError("You need to provide a code before!") RuntimeError: You need to provide a code b > > and now I get a "site cannot be reached" error on chrome when I try log in after using OAuth link > > From what I can tell, this error means the server that is listening for auth credentials on your computer never hears anything (doesn't get info back from you clicking the link) and eventually times out. Makes sense if you see "Site cannot be reached" on your browser. Reaching the site is necessary to send auth info back to that server. > > Try troubleshooting your browser, you may have something running that restricts you from accessing local sites. I am now a lot more certain the issue lies outside of this library's code. I am able to log in through spotify on my browser, before it redirects to the error after successfully logging in. I haven’t had a problem with “site cannot be reached” before. It has come back with “authentication successful” before the recent update. I will try troubleshooting my browser again but have tried removing firewall, etc. and did not work. Could it maybe do something with my IP?
Author
Owner

@Googolplexed0 commented on GitHub (Aug 22, 2025):

Could it maybe do something with my IP?

IP is your external network, it wouldn't have any effect.

File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify__init__.py", line 137, in from_oauth
token = oauth.await_token()

This was the error you were getting before the big update (you commented this on July 20th), your system was waiting for a response but not seeing anything.

I am able to log in on my browser, before it redirects to the error after successfully logging in.

This means that you reach the external site correctly, but the redirect is failing to reaching back to your local listening oauth server. No idea why this would be the case. Are you running this in Docker or some other containerized setup?

<!-- gh-comment-id:3212766858 --> @Googolplexed0 commented on GitHub (Aug 22, 2025): > Could it maybe do something with my IP? IP is your external network, it wouldn't have any effect. > File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify__init__.py", line 137, in from_oauth > token = oauth.await_token() This was the error you were getting before the big update (you commented this on July 20th), your system was waiting for a response but not seeing anything. > I am able to log in on my browser, before it redirects to the error after successfully logging in. This means that you reach the external site correctly, but the redirect is failing to reaching back to your local listening oauth server. No idea why this would be the case. Are you running this in Docker or some other containerized setup?
Author
Owner

@fafamobile commented on GitHub (Aug 22, 2025):

Could it maybe do something with my IP?

IP is your external network, it wouldn't have any effect.

File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify__init__.py", line 137, in from_oauth
token = oauth.await_token()

This was the error you were getting before the big update (you commented this on July 20th), your system was waiting for a response but not seeing anything.

I am able to log in on my browser, before it redirects to the error after successfully logging in.

This means that you are reach the external site correctly, but the redirect is failing to reaching back to your local listening oauth server. No idea why this would be the case. Are you running this in Docker or some other containerized setup?

Ah ok thank you, I can have a play around and can let you know if I find a solution. Sorry that this issue is not to do with your code. No not a Docker, it is just a normal PC - Windows 10, Chrome as browser, burner spotify account w/o premium.

<!-- gh-comment-id:3212907224 --> @fafamobile commented on GitHub (Aug 22, 2025): > > Could it maybe do something with my IP? > > IP is your external network, it wouldn't have any effect. > > > File "C:\Users\USER\pipx\venvs\zotify\Lib\site-packages\zotify__init__.py", line 137, in from_oauth > > token = oauth.await_token() > > This was the error you were getting before the big update (you commented this on July 20th), your system was waiting for a response but not seeing anything. > > > I am able to log in on my browser, before it redirects to the error after successfully logging in. > > This means that you are reach the external site correctly, but the redirect is failing to reaching back to your local listening oauth server. No idea why this would be the case. Are you running this in Docker or some other containerized setup? Ah ok thank you, I can have a play around and can let you know if I find a solution. Sorry that this issue is not to do with your code. No not a Docker, it is just a normal PC - Windows 10, Chrome as browser, burner spotify account w/o premium.
Author
Owner

@fafamobile commented on GitHub (Aug 22, 2025):

I managed to fix but unsure how I did it. Troubleshooted many things so it may have been a combination.

<!-- gh-comment-id:3213528273 --> @fafamobile commented on GitHub (Aug 22, 2025): I managed to fix but unsure how I did it. Troubleshooted many things so it may have been a combination.
Author
Owner

@fafamobile commented on GitHub (Aug 22, 2025):

Just quick question - is there a way I can change the default downloading location and audio output? I tried changing in the config.json but it just downloads as defaults.

also - when i download audio is kinda quiet in comparison to other songs I already had. is there a way that the audio volume can be downloaded at a higher level?

edit: would "ffmpeg_args": "-af volume=+3dB" make any difference in the config.json?

<!-- gh-comment-id:3213537525 --> @fafamobile commented on GitHub (Aug 22, 2025): Just quick question - is there a way I can change the default downloading location and audio output? I tried changing in the config.json but it just downloads as defaults. also - when i download audio is kinda quiet in comparison to other songs I already had. is there a way that the audio volume can be downloaded at a higher level? edit: would "ffmpeg_args": "-af volume=+3dB" make any difference in the config.json?
Author
Owner

@Googolplexed0 commented on GitHub (Aug 23, 2025):

is there a way I can change the default downloading location and audio output? I tried changing in the config.json but it just downloads as defaults.

Editing the config.json should work. It's possible the config is being saved to an alternate default path if you aren't setting the -c cmd arg with a path to the config.json file you are editing.

edit: would "ffmpeg_args": "-af volume=+3dB" make any difference in the config.json?

Not currently, no. There isn't support for custom FFMPEG arguments, although you can hard-code something in yourself if you're comfortable modifying track.py convert_audio_format() output_params. This may be a good feature addition! You can make a feature request issue if you'd like. If the OAuth issue has been solved, I will close this one.

<!-- gh-comment-id:3216229400 --> @Googolplexed0 commented on GitHub (Aug 23, 2025): > is there a way I can change the default downloading location and audio output? I tried changing in the config.json but it just downloads as defaults. Editing the config.json should work. It's possible the config is being saved to an alternate default path if you aren't setting the `-c` cmd arg with a path to the config.json file you are editing. > edit: would "ffmpeg_args": "-af volume=+3dB" make any difference in the config.json? Not currently, no. There isn't support for custom FFMPEG arguments, although you can hard-code something in yourself if you're comfortable modifying `track.py convert_audio_format() output_params`. This may be a good feature addition! You can make a feature request issue if you'd like. If the OAuth issue has been solved, I will close this one.
Author
Owner

@fafamobile commented on GitHub (Aug 24, 2025):

Editing the config.json should work. It's possible the config is being saved to an alternate default path if you aren't setting the -c cmd arg with a path to the config.json file you are editing.

Solved issue - was using an old config.json. just needed to delete the file and force reinstall. thanks for ur help :)

<!-- gh-comment-id:3217988914 --> @fafamobile commented on GitHub (Aug 24, 2025): > Editing the config.json should work. It's possible the config is being saved to an alternate default path if you aren't setting the `-c` cmd arg with a path to the config.json file you are editing. > Solved issue - was using an old config.json. just needed to delete the file and force reinstall. thanks for ur help :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zotify#22
No description provided.