tehkillerbee / mopidy-tidal

Tidal Backend plugin for Mopidy
Apache License 2.0
93 stars 28 forks source link

Use Extension to get data_dir #48

Closed tehkillerbee closed 2 years ago

tehkillerbee commented 2 years ago

Use Extension to get correct data_dir, as mentioned in #45

from mopidy_tidal import Extension

oauth_file = Extension.get_data_dir(self.config) / "tidal-oauth.json"
tehkillerbee commented 2 years ago

Fixed in https://github.com/tehkillerbee/mopidy-tidal/commit/3856a458946bccd05b4e5fbdb006af6f3f74e904