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

tizonia: cannot handle whitespaces in its config file #468

Closed
inecho opened this issue Mar 21, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@inecho
Copy link

commented Mar 21, 2018

Description

Setting up the OAuth token was not that easy. After retrieving the token using the tutorial, tizonia was not able to recognize it. The problem was that i had a whitespace in the beginning and at the end of the line.
not working: _soundcloud.oauth_token = X-XXXXXX-XXXXXX-XXXXXXXXXX_
working: soundcloud.oauth_token = X-XXXXXX-XXXXXX-XXXXXXXXXX

the underlines are indicating the whitespaces.

Versions

$ tizonia --version 
tizonia 0.13.0. Copyright (C) 2018 Juan A. Rubio
This software is part of the Tizonia project <http://tizonia.org>
-------
$ tizonia --debug
tizonia 0.13.0. Copyright (C) 2018 Juan A. Rubio
This software is part of the Tizonia project <http://tizonia.org>

Debug Info:
	    * [Boost 1_58]
	    * [TagLib 1.9.1]
	    * [MediaInfoLib - v0.7.82]

Installation Method Used

sudo apt install tizonia-player

Additional Information

this issue can be easly handled using the .strip() function of python on a string

@tizonia

This comment has been minimized.

Copy link
Owner

commented Mar 21, 2018

Hi, thanks for trying the software!

Yes, this looks like a genuine issue the config file parser that needs to be fixed

@tizonia tizonia added this to the v0.14.0 milestone Mar 21, 2018

@tizonia tizonia added the bug label Mar 21, 2018

@inecho inecho changed the title tizonia cannot handle whitespaces in it's config file tizonia cannot handle whitespaces in its config file Mar 21, 2018

@tizonia tizonia changed the title tizonia cannot handle whitespaces in its config file tizonia: cannot handle whitespaces in its config file Mar 29, 2018

@tizonia tizonia removed this from the v0.14.0 milestone Apr 18, 2018

@tizonia tizonia added this to the v0.17.0 milestone Jan 9, 2019

@tizonia

This comment has been minimized.

Copy link
Owner

commented Jan 9, 2019

A fix been has committed to 'develop'. It will be merged into 'master' right before the next release of Tizonia.

@juanrubio juanrubio closed this in 022ae04 Jan 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.