Tidal music service integration
Project description
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
Dependencies
When using High and Low quality, be sure to install gstreamer bad-plugins, eg.
sudo apt-get install gstreamer1.0-plugins-bad
This is mandatory to be able to play m4a streams.
Configuration
Before starting Mopidy, you must add configuration for Mopidy-Tidal to your Mopidy configuration file, if it is not already present.
The configuration is usually stored in /etc/mopidy/mopidy.conf or possibly ~/.config/mopidy/mopidy.conf, depending on your system configuration
[tidal] enabled = true quality = LOSSLESS #client_id = #client_secret =
Quality can be set to LOSSLESS, HIGH or LOW. Hi_RES(master) is currently not supported. Lossless quality (FLAC) requires Tidal HiFi Subscription.
Optional: Tidal API client_id, client_secret can be overridden by the user if necessary.
OAuth Flow
Using the new OAuth flow, you 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 the login process 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. It will be necessary to perform these steps again if/when the session expires or if the json file is moved.
Project resources
Credits
Original author: mones88
Current maintainer: tehkillerbee
Changelog
v0.2.7
Use path extension for Tidal OAuth cache file
Improved error handling for missing images, unplayable albums
Improved playlist browsing
v0.2.6
Improved reliability of OAuth cache file generation.
Added optional client_id & client_secret to [tidal] in mopidy config (thanks Glog78)
Removed username/pass, as it is not needed by OAuth (thanks tbjep)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for Mopidy_Tidal-0.2.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b988bc8441cabe3e3f170ec74fb18a1d27e74b9bdc7cb6922ae7cf5746865ee |
|
MD5 | c69d535e5575f10e26b2b0e6b28763d9 |
|
BLAKE2b-256 | 3dc06323f9a267cdf3bf5058d2d641b05acc7fd0555227773927875d9b54b3b7 |