Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
(09-14-2024, 01:16 PM)Tim Curtis Wrote: (09-14-2024, 01:09 PM)TheOldPresbyope Wrote: (09-14-2024, 12:51 PM)Tim Curtis Wrote: @bitlab just uploaded new upmpdcli packages to the CS repo.
Run the commands below to install then reboot.
Code: # Bump upmpdcli
sudo apt update && apt list --upgradable
sudo moode-apt-mark unhold
sudo apt -y install libnpupnp13=6.2.0-1moode1
sudo apt -y install libupnpp16=0.26.7-1moode1
sudo apt -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install upmpdcli=1.8.16-1moode1
Nice. I cheated when I tried the Tidal plugin recently and ignored the updated libraries. Hats off to @bitlab for doing the job right.
Regards,
Kent
Are u able to test the updated Tidal plugin?
IIRC configuring it was kind of involved...
Recall upmpdcli Tidal plugin
Yes, the credentialing process is involved, requiring a web browser, and worse, proceeds differently for OAITH2 and PKCE authentication. I went straight for PKCE but OAUTH2 works for me too. Quoting from the docs
Quote:PKCE is currently the only way to access true hi-res files (so flac up to 24bit/192kHz), while OAUTH2 mode is limited to 24/48kHz, which can transport MQA encoded streams. Keep in mind that if you choose PKCE authentication, your renderer must be able to play MPEG-DASH streams. Currently, only mpd and gmrender-resurrect support this type of streams.
Regards,
Kent
Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
@ Tim Curtis
I forgot to mention just now that the python3 tidalapi module is also required (described in my thread and in the upmpdcli docs).
...and wouldn't you know it, I'm now failing to get the Tidal plugin working on my 9.1.0 player. I went through installing @ bitlab packages, installed tidalapi, and did the rest of the work I described in my thread to credential the Tidal plugin (chose OAUTH2). I uncommented tidaluser in the upmpdcli.conf file and rebooted. Pulled up BubbleUPnP on my iPad, selected the moOde UPNP-mediaserver as source, and was offered both Qobuz (which I'd already enabled) and Tidal. Selecting Qobuz works a charm but selecting Tidal gets me the dreaded "Service login or communication failure."
I have the Tidal plugin (also chose OAUTH2) working fine on a 9.0.6 player in my Sun Room.
To quote Rosanne Rosanneadanna, it's always something.
I'll have to do some poking around.
Regards,
Kent
Posts: 13,439
Threads: 305
Joined: Mar 2018
Reputation:
545
(09-14-2024, 02:55 PM)TheOldPresbyope Wrote: @Tim Curtis
I forgot to mention just now that the python3 tidalapi module is also required (described in my thread and in the upmpdcli docs).
...and wouldn't you know it, I'm now failing to get the Tidal plugin working on my 9.1.0 player. I went through installing @bitlab packages, installed tidalapi, and did the rest of the work I described in my thread to credential the Tidal plugin (chose OAUTH2). I uncommented tidaluser in the upmpdcli.conf file and rebooted. Pulled up BubbleUPnP on my iPad, selected the moOde UPNP-mediaserver as source, and was offered both Qobuz (which I'd already enabled) and Tidal. Selecting Qobuz works a charm but selecting Tidal gets me the dreaded "Service login or communication failure."
I have the Tidal plugin (also chose OAUTH2) working fine on a 9.0.6 player in my Sun Room.
To quote Rosanne Rosanneadanna, it's always something.
I'll have to do some poking around.
Regards,
Kent
Maybe when jfd updated the tidal plugin theres a new or changed setting or something like that.
Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
09-14-2024, 03:33 PM
(This post was last modified: 09-14-2024, 03:38 PM by TheOldPresbyope.
Edit Reason: remove irrelevant part of code clipping
)
Ah, a smoking gun found in the journal..
Code: ...
Sep 14 11:30:40 mtest910 upmpdcli[28511]: 0$UNKNOWN: getcachedir: me: upmpdcli
Sep 14 11:30:40 mtest910 upmpdcli[28511]: Traceback (most recent call last):
Sep 14 11:30:40 mtest910 upmpdcli[28511]: File "/usr/share/upmpdcli/cdplugins/tidal/tidal-app.py", line 38, in <module>
Sep 14 11:30:40 mtest910 upmpdcli[28511]: import persistence
Sep 14 11:30:40 mtest910 upmpdcli[28511]: File "/usr/share/upmpdcli/cdplugins/tidal/persistence.py", line 1219, in <module>
Sep 14 11:30:40 mtest910 upmpdcli[28511]: __connection : sqlite3.Connection = __get_connection()
Sep 14 11:30:40 mtest910 upmpdcli[28511]: ^^^^^^^^^^^^^^^^^^
Sep 14 11:30:40 mtest910 upmpdcli[28511]: File "/usr/share/upmpdcli/cdplugins/tidal/persistence.py", line 138, in __get_connection
Sep 14 11:30:40 mtest910 upmpdcli[28511]: connection = sqlite3.connect(
Sep 14 11:30:40 mtest910 upmpdcli[28511]: ^^^^^^^^^^^^^^^^
Sep 14 11:30:40 mtest910 upmpdcli[28511]: sqlite3.OperationalError: unable to open database file
Sep 14 11:30:40 mtest910 upmpdcli[14705]: :2:../src/mediaserver/cdplugins/cmdtalk.cpp:136::CmdTalk: getline error
Sep 14 11:30:40 mtest910 upmpdcli[14705]: :2:../src/mediaserver/cdplugins/plgwithslave.cxx:585::PlgWithSlave::browse: slave failure
Dunno why this is happening now but didn't happen previously with same rev upmpdcli/tidal in the 9.0.6 player but it's time to roll up my sleeves and find out!
Regards,
Kent
Posts: 6,029
Threads: 177
Joined: Apr 2018
Reputation:
235
@ Tim Curtis
Ok, all fixed now.
Turns out /var/cache/upmpdcli/tidal on the 9.1.0 player had the wrong ownership, root:root. I changed it to upmpdcli:root and now the upmpdcli Tidal plugin works just as well as the upmpdcli Qobuz plugin does.
Regards,
Kent
Posts: 28
Threads: 5
Joined: Jul 2022
Reputation:
0
09-14-2024, 07:04 PM
(This post was last modified: 09-14-2024, 07:11 PM by LeighP.)
POST DELETED as I didnt realised I replied on the wrong place!
Posts: 13,439
Threads: 305
Joined: Mar 2018
Reputation:
545
(09-14-2024, 06:07 PM)TheOldPresbyope Wrote: @Tim Curtis
Ok, all fixed now.
Turns out /var/cache/upmpdcli/tidal on the 9.1.0 player had the wrong ownership, root:root. I changed it to upmpdcli:root and now the upmpdcli Tidal plugin works just as well as the upmpdcli Qobuz plugin does.
Regards,
Kent
lol, permissions or DNS are the cause of all issues ;-)
Posts: 13,439
Threads: 305
Joined: Mar 2018
Reputation:
545
Here are latest WIP release notes.
Added latest ver of upmpdcli including Qobuz and updated Tidal plugin which apparently works now based on @ TheOldPresbyope testing :-)
Code: ################################################################################
#
# 2024-MM-DD moOde 9.1.0 (Bookworm)
#
################################################################################
Security
- UPD: Filter SQL variables for unwanted characters and commands
- UPD: Filter music file metadata for unwanted Cross-site scripting (XSS)
Packages
- Bump to Linux kernel 6.6.47
- Bump to camillagui 2.1.0
- Bump to shairport-sync 4.3.4
- Bump to upmpdcli 1.8.16
- Bump to upmpdcli-qobuz 1.8.16
- Bump to upmpdcli-tidal 1.8.16
Updates
- UPD: Add Bluetooth CODEC to Source format line in Audio Info
- UPD: Add CSS media query for 1560x720 ultrawide resolution
- UPD: Add AP fallback option to Spotify Config
- UPD: Add webp mime type to Coverart extractor and Thumbnail generator
- UPD: Add auto-refresh after updating radio station
- UPD: Change Spotify Connect initial_volume to min 5 (from 0)
- UPD: Change Radio station 200px thumbs to native resolution of main image
- UPD: Change to 600px default for Radio and Playlist view thumbs
- UPD: Improve spacing on alphabet index to avoid scrollbar highlight
- UPD: Improve set_volume REST API to include Multiroom receivers
- UPD: Move USB volknob and Rotary encoder settings to Peripheral Config
Audio devices
- ADD: IanCanada I2S entries
- ADD: HifiBerry DAC8x
Bug fixes
- FIX: Cardnum 0 always used in chip options config
- FIX: Unnecessary query for 'inpactive' in chkBtActive()
- FIX: USB volume knob and Rotary encoder settings missing from backup/restore
- FIX: CamillaDSP quick convolution crashing due to invalid ';' delimiter
- FIX: CamillaDSP crashing due to empty 'mixers' array in config
- FIX: Volume 0 not being set for renderer active reset during startup
- FIX: Secchk not excluding qobuzpass variable
Posts: 13,439
Threads: 305
Joined: Mar 2018
Reputation:
545
Here are latest WIP release notes.
Added latest ver of upmpdcli including Qobuz and updated Tidal plugin which apparently works now based on @ TheOldPresbyope testing :-)
Code: ################################################################################
#
# 2024-MM-DD moOde 9.1.0 (Bookworm)
#
################################################################################
Security
- UPD: Filter SQL variables for unwanted characters and commands
- UPD: Filter music file metadata for unwanted Cross-site scripting (XSS)
Packages
- Bump to Linux kernel 6.6.47
- Bump to camillagui 2.1.0
- Bump to shairport-sync 4.3.4
- Bump to upmpdcli 1.8.16
- Bump to upmpdcli-qobuz 1.8.16
- Bump to upmpdcli-tidal 1.8.16
Updates
- UPD: Add Bluetooth CODEC to Source format line in Audio Info
- UPD: Add CSS media query for 1560x720 ultrawide resolution
- UPD: Add AP fallback option to Spotify Config
- UPD: Add webp mime type to Coverart extractor and Thumbnail generator
- UPD: Add auto-refresh after updating radio station
- UPD: Change Spotify Connect initial_volume to min 5 (from 0)
- UPD: Change Radio station 200px thumbs to native resolution of main image
- UPD: Change to 600px default for Radio and Playlist view thumbs
- UPD: Improve spacing on alphabet index to avoid scrollbar highlight
- UPD: Improve set_volume REST API to include Multiroom receivers
- UPD: Move USB volknob and Rotary encoder settings to Peripheral Config
Audio devices
- ADD: IanCanada I2S entries
- ADD: HifiBerry DAC8x
Bug fixes
- FIX: Cardnum 0 always used in chip options config
- FIX: Unnecessary query for 'inpactive' in chkBtActive()
- FIX: USB volume knob and Rotary encoder settings missing from backup/restore
- FIX: CamillaDSP quick convolution crashing due to invalid ';' delimiter
- FIX: CamillaDSP crashing due to empty 'mixers' array in config
- FIX: Volume 0 not being set for renderer active reset during startup
- FIX: Secchk not excluding qobuzpass variable
|