-
Notifications
You must be signed in to change notification settings - Fork 397
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
Allow default value for CoverArtCache path #2237
Allow default value for CoverArtCache path #2237
Conversation
Pull Request Test Coverage Report for Build 7776360839
💛 - Coveralls |
def __init__(self, cache_folder_path): | ||
self.cache_folder_path = cache_folder_path | ||
def __init__(self): | ||
coverart_cache_path = cfg.setndefault('webapp', 'coverart_cache_path', value='../../src/webapp/build/cover-cache') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering is there a use case where a user needs that path configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The question applies on many vars in the yaml.
I assume we can think of the yaml as a global var handler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering is there a use case where a user needs that path configurable?
It's not required to be configurable, especially now that it is handled in its own class. Yet, it's a best practice at the moment. We might want to review the jukebox.yaml
and check, if this could be done differently!
No description provided.