Mopidy-TidalOAuth

Tidal music service integration


License
Apache-2.0
Install
pip install Mopidy-TidalOAuth==0.3.2

Documentation

Mopidy-TidalOAuth

Latest PyPI version Number of PyPI downloads

Tidal music service integration.

Installation

Install by running:

pip install Mopidy-TidalOAuth

Or, if available, install the Debian/Ubuntu package from apt.mopidy.com.

Configuration

Before starting Mopidy, you must add configuration for Mopidy-Tidal to your Mopidy configuration file:

[tidal]
enabled = true
token = ${X-Tidal-Token}  # /Android/data/com.aspiro.tidal/cache/okhttp found in some of the files ending .0
oauth = /var/lib/mopidy/tidal.cred # or any location where credentials to be stored after going through OAuth Flow
oauth_port = 8000 - 9999  # Optional, for HTTP server to assist in creating oauth credentials stored above.
image_search = false      # image location should be cached from browsing. Set 'true' to search if cache item not found
quality = LOSSLESS        # with Android token this can be HI_RES (Master)

You need to set an oauth_port value and browse to http://MOPIDY_SERVER_IP:oauth_port web-page and do ONCE the OAuth Login Flow.

Please follow the information found on the web-page. You will be redirected to TIDAL service for authentication.

At the end of the process, credential autorefresh will be on indefinitely.


Quality can be set to HI_RES (Master), LOSSLESS, HIGH or LOW. Lossless quality (FLAC) requires Tidal HiFi Subscription. For High and Low quality be sure to have installed gstreamer bad-plugins, for eg:

sudo pacman -S gstreamer0.10-bad-plugins

This is mandatory to be able to play m4a streams.

Project resources

Credits

Changelog

v0.3.0

  • Using updated tidal api for OAuth credentials
  • HTTP server to assist with creating auto-refresh OAuth credentials
  • Improved caching for much faster browsing experience

v0.2.3

  • Fork from Mopidy-Tidal