Thank you for your donation!


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


upmpdcli Tidal plugin
#39
(09-28-2024, 02:40 PM)TheOldPresbyope Wrote: @Snoil 

I had only a few moments this morning to follow up on your question.

First, I should have read your post more carefully. My step 1 is still necessary.

In principle, step 2 is not necessary because Tim bumped the version of upmpdcli built into moOde 9.1.0---but read on.

I just tried repeating only step 1 and steps 3-5 on a fresh moOde 9.1.0 install and discovered a couple of missing bits.

1. It turns out there is no /var/cache/upmpdcli directory in moOde as distributed. Conveniently, it gets created the first time a user enables the UPnP renderer (with owner/group upmpdcli:root).

I didn't notice that before because I was already experimenting with the Qobuz plugin so the directory was already present when I took up Tidal.

Solution: just enable the UPnP renderer if the directory doesn't exist yet.

2, Executing step 3 creates a new directory /var/cache/upmpdcli/tidal containing the file pkce.credentials.json, both with owner:group root:root). This ownership causes troubles, such as your UPnP Control Point throwing a "Service login or communication failure error" message when you try to connect to the Tidal service via your moOde player.

I can only assume that I discovered that during my early experiments and promptly forgot. Mea culpa.

Solution: from the command line, change the ownership of the directory and file. I chose to make them the same as their parent /var/cache/upmpdcli directory. Easily done recursively as follows. [ALERT: be sure you're at the correct directory!!!]


Code:
moode: /var/cache/upmpdcli $ sudo chown -R upmpdcli:root tidal

3. At this point, after completing my steps, I seemed to have Tidal available through the moOde UPnP MediaServer which gets started in the process. I can connect, browse, and select a track to play using my Connect Point (mconnectLite on my iPad for this test) BUT it fails to play. There's an internal error thrown in the upmpdcli plugin code. 

Sorry, I don't have time to chase this down until perhaps late today or tomorrow.

Meanwhile, many UPnP Connect Point apps also provide their own direct access to Tidal (and Qobuz). They act as proxy UPnP Media Servers for these services, so you can still play tracks while you wait.

Regards,
Kent

Hey Kent,
Nice work here - I tried running the first command and returned with the error "no such option: --break-system-packages". I am suspecting that the Moode version 8.3.9 needs python3 to be upgraded. Unfortunately, I can't do any further in-place updates to move to Moode 9.x.x. If I were to update my Python, I may break many dependencies.
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: