Thank you for your donation!


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


Thread Closed 
Upcoming moOde 9.0.0 (Bookworm)
(05-14-2024, 09:04 PM)Tim Curtis Wrote: Wow that tidal plugin is kind of messy. Can you post the credentials.json file just so I know what it looks like, and do I understand correctly that the creds only get written to this file for OAUTH2 but for PKCE they need to be placed in upmpdcli.conf?

Everything about TIDAL credentials is messy. Sigh.

There are two choices for obtaining and storing credentials.

1. enter them explicitly in upmpdcli.conf

Where do they come from in this case? One runs, from the moOde command line, the get_credentials.py which is part of the python-tidal package and copy/pastes the returned values into upmpdcli.conf. See Jean-Francois's instructions. 

Note that the Python script is meant to be run manually: it outputs a temporary TIDAL URL and pauses. The user copies the URL into a web browser (on some other host in our case) and TIDAL returns the credentials to the script, which prints them out and ends. Hard to automate because the user has to log their account's username/password into the TIDAL webpage (or already be logged into TIDAL).

Note also that the two tidal tokens returned by the script are each hundreds of alphanumeric characters long!

I've only done this for OAUTH2 and not PKCE authentication and I still screwed up somewhere in the copy/pasting. PKCE requires yet another step.

2. have TIDAL download the credentials as a JSON file to the moOde player and do no editing of upmpdcli.conf other then uncommenting the tidaluser line. The python-tidal code finds and uses this JSON file automagically. Again, see J-F's insructions.

Note that this method still requires the user to copy and enter a temporary URL into a web browser. In this case, the URL is written to the journal on first attempt to access the TIDAL section of the moOde UPnP Media Server. I suppose we could configure upmpdcli to write its log to a file and grab the URL from there but a web browser is still required.


This method worked for me without a hitch.

Candidly, for most users, I think a typical moOde config screen is going to be a challenge if method 1 is used to obtain the credentials. The second method seems marginally easier to adapt, at least conceptually.

I'm getting too old for this stuff.

Regards,
Kent


Messages In This Thread
Upcoming moOde 9.0.0 (Bookworm) - by Tim Curtis - 03-09-2024, 05:29 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by tomaxsas - 03-09-2024, 06:55 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by swizzle - 03-09-2024, 10:02 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popej - 03-10-2024, 01:16 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by DRONE7 - 03-12-2024, 05:28 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by tomaxsas - 03-15-2024, 12:39 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by vikozo - 03-15-2024, 04:41 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by wadada - 03-22-2024, 08:00 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Falco - 03-28-2024, 12:34 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Falco - 03-28-2024, 12:46 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Sunfish - 03-28-2024, 01:54 PM
r900 list question - by adrian311 - 04-02-2024, 11:56 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by JonPike - 03-29-2024, 06:17 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by wadada - 03-31-2024, 08:06 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by wadada - 04-01-2024, 06:46 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by PieFive - 04-23-2024, 02:21 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by suzywong - 03-29-2024, 08:22 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Nutul - 04-09-2024, 03:49 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fralippo - 04-09-2024, 03:55 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by romain - 04-11-2024, 12:37 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Topman44 - 04-11-2024, 06:56 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Topman44 - 04-11-2024, 07:48 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Topman44 - 04-11-2024, 08:51 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Topman44 - 04-22-2024, 05:14 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Topman44 - 04-11-2024, 09:53 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-18-2024, 07:59 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-19-2024, 06:23 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-19-2024, 09:17 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-19-2024, 09:21 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 04-19-2024, 11:32 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 04-20-2024, 09:13 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fralippo - 04-19-2024, 05:50 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fralippo - 04-19-2024, 09:11 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popej - 04-20-2024, 09:06 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by DRONE7 - 04-21-2024, 09:04 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by jonners - 04-21-2024, 10:18 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-21-2024, 11:28 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by Nutul - 04-21-2024, 08:17 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-21-2024, 12:41 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popej - 04-21-2024, 12:25 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popej - 04-21-2024, 12:46 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popeye65 - 04-21-2024, 12:57 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 04-21-2024, 05:44 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 04-22-2024, 07:39 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fralippo - 04-23-2024, 08:50 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by bitlab - 04-23-2024, 06:50 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by bitlab - 04-23-2024, 06:59 PM
External wifi adapter - by nosferatu_cat - 04-25-2024, 06:02 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by romain - 04-26-2024, 09:58 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by romain - 04-26-2024, 04:05 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by romain - 04-27-2024, 04:49 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by popej - 05-05-2024, 11:03 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 05-07-2024, 01:38 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by fdealexa - 05-07-2024, 01:44 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by quimbo - 05-07-2024, 07:44 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by jis26 - 05-08-2024, 11:20 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by PieFive - 05-11-2024, 11:28 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by ElArte - 05-11-2024, 04:20 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by ElArte - 05-11-2024, 08:44 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by ElArte - 05-12-2024, 03:56 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by STUDI - 05-13-2024, 07:05 AM
RE: Upcoming moOde 9.0.0 (Bookworm) - by TheOldPresbyope - 05-14-2024, 09:49 PM
RE: Upcoming moOde 9.0.0 (Bookworm) - by hiisukun - 05-18-2024, 10:59 AM

Forum Jump: