Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


upmpdcli Tidal plugin
#14
Quick note-

I found some time to revisit this thread today. Turns out I have no problem with the upmpdcli Tidal plugin if I use OAUTH2 authentication. Everything Just Works™. 

I'll try again on a clean system to make sure I wasn't making a mistake with PKCE before I post problem details and update my first post.

Quick synopsis with OAUTH2 method on a clean moOde install:

1. Enable your moOde player's "UPnP Client for MPD" renderer if you haven't already done so.

2. From the command line on your moOde player, Install the Python tidalapi module (Ignore the warning message you get when it's complete). 


Code:
sudo python3 -m pip install tidalapi==0.7.6 --break-system-packages


2. From the command line, ask to get OAUTH2 credentials (Note: unlike in my first post, this will now store the result with the correct ownership)


Code:
sudo -u upmpdcli python3 /usr/share/upmpdcli/cdplugins/tidal/get_credentials.py -t OAUTH2 -f /var/cache/upmpdcli/tidal/credentials.json


The response will be something like


Code:
Authentication type is [OAUTH2]
Visit https://link.tidal.com/XXXXX to log in, the code will expire in 300 seconds


Keep the comand-line terminal open (to see the followup) and use your web browser to visit the URL. You'll have to log into your Tidal account. Follow the prompts until you get to a "Your device was successfully linked to your account" screen. You're done with the browser.

Go back to the command line. You'll see a long response which begins with

Code:
Writing the credentials to file [/var/cache/upmpdcli/tidal/credentials.json] ...
Credentials written to [/var/cache/upmpdcli/tidal/credentials.json]
Credentials file for type [OAUTH2] in json format:
...


You may wish to save the response in its entirety (it lists the credentials in two different forms in case you need to resurrect them later) but at this point you're done. Close the command line session.

I'm listening to a classic Wayne Shorter session I found on Tidal as I type this (ah, nostalgia). Using mConnectLite with my moOde player's UPnP-mediaserver selected as the Local Server, moOde UPnP selected as the "Play to" renderer.

Regards,
Kent
PS - if you have more than one moOde player in operation, you need do this on only one of them. It can be the UPnP mediaserver for any of them.
Reply


Messages In This Thread
upmpdcli Tidal plugin - by TheOldPresbyope - 08-20-2024, 08:56 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 08-21-2024, 12:12 AM
RE: upmpdcli Tidal plugin - by Nutul - 08-21-2024, 07:59 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 08-21-2024, 10:17 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 09-18-2024, 07:56 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 09-18-2024, 08:17 PM
RE: upmpdcli Tidal plugin - by Snoil - 09-26-2024, 10:58 AM
RE: upmpdcli Tidal plugin - by GioF_71 - 09-27-2024, 06:17 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 09-26-2024, 11:57 AM
RE: upmpdcli Tidal plugin - by Snoil - 09-28-2024, 11:07 AM
RE: upmpdcli Tidal plugin - by GioF_71 - 09-28-2024, 04:20 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 09-28-2024, 02:40 PM
RE: upmpdcli Tidal plugin - by Snoil - 09-28-2024, 05:55 PM
RE: upmpdcli Tidal plugin - by edwingoh - 12-05-2024, 03:36 AM
RE: upmpdcli Tidal plugin - by GioF_71 - 12-05-2024, 09:15 AM
RE: upmpdcli Tidal plugin - by edwingoh - 12-05-2024, 01:05 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 12-05-2024, 02:30 PM
RE: upmpdcli Tidal plugin - by edwingoh - 12-08-2024, 04:00 AM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 10-01-2024, 06:45 PM
RE: upmpdcli Tidal plugin - by Supersurfer - 10-06-2024, 03:27 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 10-06-2024, 09:53 PM
RE: upmpdcli Tidal plugin - by Curiousgeorgia - 10-16-2024, 10:13 PM
RE: upmpdcli Tidal plugin - by Curiousgeorgia - 10-16-2024, 10:42 PM
RE: upmpdcli Tidal plugin - by Daksha - 10-17-2024, 07:07 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 10-17-2024, 08:11 PM
RE: upmpdcli Tidal plugin - by Daksha - 10-18-2024, 04:28 AM
RE: upmpdcli Tidal plugin - by Krzysztof41019777 - 10-21-2024, 01:22 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 10-21-2024, 02:01 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 10-29-2024, 10:18 AM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 10-29-2024, 05:22 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 11-23-2024, 11:57 AM
RE: upmpdcli Tidal plugin - by arczar - 11-29-2024, 03:59 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 11-29-2024, 05:07 PM
RE: upmpdcli Tidal plugin - by TheOldPresbyope - 11-23-2024, 01:26 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 11-23-2024, 04:49 PM
RE: upmpdcli Tidal plugin - by arczar - 11-30-2024, 11:23 AM
RE: upmpdcli Tidal plugin - by GioF_71 - 11-30-2024, 08:01 PM
RE: upmpdcli Tidal plugin - by Tim Curtis - 11-30-2024, 10:33 PM
RE: upmpdcli Tidal plugin - by arczar - 12-02-2024, 07:24 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 11-30-2024, 11:01 PM
RE: upmpdcli Tidal plugin - by GioF_71 - 12-04-2024, 08:00 AM
RE: upmpdcli Tidal plugin - by bitlab - 12-04-2024, 09:52 PM
RE: upmpdcli Tidal plugin - by Tim Curtis - 12-04-2024, 11:03 PM
RE: upmpdcli Tidal plugin - by the_bertrum - 12-05-2024, 08:09 AM
RE: upmpdcli Tidal plugin - by GioF_71 - 12-10-2024, 01:49 PM

Forum Jump: