Switch to unified view

a/src/mediaserver/cdplugins/tidal/tidalapi/__init__.py b/src/mediaserver/cdplugins/tidal/tidalapi/__init__.py
...
...
138
                log.error('Login failed. err %s %s' % (err, body))
138
                log.error('Login failed. err %s %s' % (err, body))
139
                self.logout()
139
                self.logout()
140
140
141
        return self.is_logged_in
141
        return self.is_logged_in
142
142
143
    def get_token_and_country(self):
144
        return self.session_id, self.country_code
145
    
143
    def init_user(self, user_id, subscription_type):
146
    def init_user(self, user_id, subscription_type):
144
        return User(self, user_id=user_id, subscription_type=subscription_type)
147
        return User(self, user_id=user_id, subscription_type=subscription_type)
145
148
146
    def local_country_code(self):
149
    def local_country_code(self):
147
        url = urljoin(self._config.api_location, 'country/context')
150
        url = urljoin(self._config.api_location, 'country/context')