![]() |
new problem with upmpdcli Tidal plugin - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: new problem with upmpdcli Tidal plugin (/showthread.php?tid=2528) |
RE: new problem with upmpdcli Tidal plugin - mancio61 - 05-18-2020 (05-18-2020, 12:25 PM)TheOldPresbyope Wrote:(05-18-2020, 12:18 PM)mancio61 Wrote: I simply copied the __init__.py script in the right folder, reboot... and it works perfectly! Now I'm able to use the upmpdcli library in Moode to autenticate TIDAL. Mae a test with Linn app and now I'm able to see all the TIDAL contents below the MoodeUPNP folder. ..and I suppose that the newly version of upmpdcli will be part of the next Moode release.. isn't it ? RE: new problem with upmpdcli Tidal plugin - TheOldPresbyope - 05-18-2020 That's not my call but I'd think it must be on the TODO list. The question always is, what are the unintended consequences of bumping the version. I know I haven't tested all the updated and outright new features. It would be easy if we were dealing with a simple executable. Then we could play the same user-selection game as you have with MPD. With upmpdcli, on the other hand, we have a slew of different versions of python modules to deal with. Regards, Kent RE: new problem with upmpdcli Tidal plugin - kris_jag - 05-18-2020 (05-18-2020, 08:30 AM)jonners Wrote: @kris_jag No, not yet. It could be some workaround, but I would much prefer to use MoOde also as (Tidal's) library server and use Bubble just to set the playlist, remote control but not worrying, whether phone has constant connection to Wi-Fi, is switched on. (05-18-2020, 12:18 PM)mancio61 Wrote: I simply copied the __init__.py script in the right folder, reboot... and it works perfectly! Now I'm able to use the upmpdcli library in Moode to autenticate TIDAL. Mae a test with Linn app and now I'm able to see all the TIDAL contents below the MoodeUPNP folder. Hi @mancio61, Did you mean file from link: https://framagit.org/medoc92/upmpdcli/-/blob/master/src/mediaserver/cdplugins/tidal/tidalapi/__init__.py#L63? Dii yo not made any changes in line 63 (self.api_token) - not puted your own token? (05-18-2020, 12:25 PM)TheOldPresbyope Wrote: You beat me to it by minutes. Can confirm that the two-line modification to __init__.py is sufficient to make the current upmpdcli v1.2.16 work with Tidal. Hi @TheOldPresbyope, Could you please indicate, what exactly "the two-line modification to __init__.py" should be made? Line 63? Others? Thanks for help, Krzysiek RE: new problem with upmpdcli Tidal plugin - mancio61 - 05-18-2020 Hi @kris_jag , No changes in any file. I simply download the whole source of version 1.14.10 from here https://www.lesbonscomptes.com/upmpdcli/downloads/. Inside you can find the proper __init__.py file (there's one for TIDAL and one also for Qobuz). Then it's enough to copy these files in the proper folder on the RPi, reboot and ... voilà ! RE: new problem with upmpdcli Tidal plugin - TheOldPresbyope - 05-18-2020 So the two choices are 1) edit two lines in the existing /usr/share/upmpdcli/cdplugins/tidal/tidalapi/__init__.py file lines 62/63 currently read Code: self.api_location = 'https://api.tidal.com/v1/' As root, use your favorite editor (for example, sudo vi __init__.py) to change these lines to read Code: self.api_location = 'https://api.tidalhifi.com/v1/' Save the file and reboot. or 2) download the corresponding __init__.py file from JFD's repo and, as root, copy it to the same directory /usr/share/upmpdcli/cdplugins/tidal/tidalapi. I'd first save the existing file just in case. Regards, Kent RE: new problem with upmpdcli Tidal plugin - kris_jag - 05-18-2020 Hi @mancio61 Thanks for link, I will try! RE: new problem with upmpdcli Tidal plugin - kris_jag - 05-18-2020 Thanks @TheOldPresbyope for this guide! I hope one of these solutions will fix it ![]() RE: new problem with upmpdcli Tidal plugin - jonners - 05-18-2020 (05-18-2020, 02:30 PM)kris_jag Wrote: Thanks @TheOldPresbyope for this guide! Thanks to all. I can now use Linn Kazoo again with Tidal and Moode. ![]() RE: new problem with upmpdcli Tidal plugin - TheOldPresbyope - 05-18-2020 Until the next time you can't. Keeping up with the streaming services feels like a programmer's version of "Whack-A-Mole". ![]() RE: new problem with upmpdcli Tidal plugin - Tim Curtis - 05-18-2020 It's best not to post auth tokens here :-0 |