Skip to main content

Tidal music service integration

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-TidalOAuth-0.3.2.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

Mopidy_TidalOAuth-0.3.2-py2.py3-none-any.whl (18.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page