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-Tidal
or
pip3 install Mopidy-Tidal

In case you are upgrading your Mopidy-Tidal installation from the latest git sources, make sure to do a force upgrade from the source root:

sudo python3 setup.py install --force

Configuration

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

[tidal]
enabled = true
username = YOUR_TIDAL_USERNAME
password = YOUR_TIDAL_PASSWORD
quality = LOSSLESS

Quality can be set to LOSSLESS, HIGH or LOW. Hi_RES(master) is currently not supported. Lossless quality (FLAC) requires Tidal HiFi Subscription.

For High and Low quality be sure to have installed gstreamer bad-plugins, eg.

sudo apt-get install gstreamer1.0-plugins-bad

This is mandatory to be able to play m4a streams.

OAuth Flow

Using the new OAuth flow, you now have to visit a link to connect the mopidy app to your login. When you restart the Mopidy server, check the latest systemd logs and find a line like:

journalctl -u mopidy | tail -5
...
Visit link.tidal.com/AAAAA to log in, the code will expire in 300 seconds``

Go to that link in your browser, approve it, and that should be it. Note that this is a blocking action, so Mopidy will not load until you approve the application. The OAuth session will be reloaded automatically when Mopidy is restarted. However, it will be necessary to perform these steps again if/when the session expires.

Project resources

Credits

Changelog

v0.2.5

  • Reload existing OAuth session on Mopidy restart

  • Added OAuth login support from tidalapi (thanks to greggilbert)

v0.2.4

  • Added track caching (thanks to MrSurly and kingosticks)

v0.2.3

  • fixed python 3 compatibility issues

  • Change dependency tidalapi4mopidy back to tidalapi (thanks to stevedenman)

v0.2.2

  • added support browsing of favourite tracks, moods, genres and playlists (thanks to SERVCUBED)

v0.2.1

  • implemented get_images method

  • updated tidal’s api key

v0.2.0

  • playlist support (read-only)

  • implemented artists lookup

  • high and low quality streams should now work correctly

  • cache search results (to be improved in next releases)

v0.1.0

  • Initial release.

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-Tidal-0.2.5.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

Mopidy_Tidal-0.2.5-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Mopidy-Tidal-0.2.5.tar.gz.

File metadata

  • Download URL: Mopidy-Tidal-0.2.5.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for Mopidy-Tidal-0.2.5.tar.gz
Algorithm Hash digest
SHA256 f77a1d8aef2fe7565482a054fc6d4c65ea62c14cccdc81864b867dfd3d037cde
MD5 fac580399d03256782a38f31136344d7
BLAKE2b-256 9ccc308485fb6b218e856339467702bd905d8c2961a52af96411468c70c5c4d0

See more details on using hashes here.

Provenance

File details

Details for the file Mopidy_Tidal-0.2.5-py2.py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Tidal-0.2.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

File hashes

Hashes for Mopidy_Tidal-0.2.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1142a12d8ce7538ca1e74890bf5045b52521707d516e4961ee235a89e0f836b1
MD5 9d5a8f34b28240f82abad7384d73ab07
BLAKE2b-256 5ff0556871168ebe1f564238f3dd58b6deac467ad92fbd515fc150b9767e8845

See more details on using hashes here.

Provenance

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