Hello, thank you for the nice write-up.
Just a small correction. When creating the PKCE authentication file, the resulting file should be named "pkce.credentials.json", so the command line should be:
while when using OAUTH2 (default for -t) the file should be "/var/cache/upmpdcli/tidal/credentials.json" so:
The plugin examines those files and creates the session choosing the best available option. If pkce.credentials.json is available, a pkce session is created, otherwise it falls back to the regular credentials.json file and an oauth2 session will be created.
Just a small correction. When creating the PKCE authentication file, the resulting file should be named "pkce.credentials.json", so the command line should be:
Code:
sudo python3 /usr/share/upmpdcli/cdplugins/tidal/get_credentials.py -t PKCE -f /var/cache/upmpdcli/tidal/pkce.credentials.json
while when using OAUTH2 (default for -t) the file should be "/var/cache/upmpdcli/tidal/credentials.json" so:
Code:
sudo python3 /usr/share/upmpdcli/cdplugins/tidal/get_credentials.py -f /var/cache/upmpdcli/tidal/credentials.json
The plugin examines those files and creates the session choosing the best available option. If pkce.credentials.json is available, a pkce session is created, otherwise it falls back to the regular credentials.json file and an oauth2 session will be created.