tehkillerbee / mopidy-tidal

Tidal Backend plugin for Mopidy
Apache License 2.0
93 stars 28 forks source link

Install/upgrade tidalapi when mopidy-tidal pypi package is not pointing to latest version #51

Closed tehkillerbee closed 2 years ago

tehkillerbee commented 2 years ago

You can install the latest tidalapi package from PyPi manually:

pip3 install --upgrade --force-reinstall tidalapi

You will usually need to delete the json cache file after upgrading tidalapi. The path will vary, depending on how you run mopidy:

rm /var/lib/mopidy/tidal/tidal-oauth.json

As an alternative, you can try installing latest tidalapi from git, in case pypi is not updated

git clone https://github.com/tamland/python-tidal.git
cd python-tidal
git checkout remotes/origin/0.6.x
sudo python3 setup.py install --force
fmarzocca commented 2 years ago

I have just installed mopidy-tidal from pip:

sudo pip3 install mopidy-tidal

but it downgraded tidalApi:

Installing collected packages: tidalapi, mopidy-tidal
  Attempting uninstall: tidalapi
    Found existing installation: tidalapi 0.7.0rc1
    Uninstalling tidalapi-0.7.0rc1:
      Successfully uninstalled tidalapi-0.7.0rc1
Successfully installed mopidy-tidal-0.2.7 tidalapi-0.6.10

Should I have to upgrade tidalapi to 0.7?

blacklight commented 2 years ago

tidalapi 0.7.0 has finally been released and the version on pypi updated. A PR is also ready to point to the latest version instead of the Github branch: https://github.com/tehkillerbee/mopidy-tidal/pull/77. Once the PR is merged, we can probably consider this issue fixed.

tehkillerbee commented 2 years ago

Fixed in #77