Prerequisites
Brief description of the issue: Tidal.Tags.mjs is failing on the media-state-indicator selector.
Environment
Tidal Version 2.43.0.20-release
TidaLuna Version 1.16.2-beta
Windows 11 Pro 25H2 build 26200.8894
Windows Feature Experience Pack 1000.26100.334.0
Description
For a while I’ve noticed that in the TidaLuna settings page, [@luna/lib] is displaying the error message:
"mediaProductTransition.runListeners Failed to find tidal media-state-indicator element!"
I’ve been combing through logs and console outputs and this is what seems to be happening. The [@luna/lib] plugin is attempting to hook into an element internally named [media-state-indicator] (likely what is currently playing). However, that element does not exist in Tidal Desktop’s current structural layout.
The console output (attached) indicates the error is “Failed to find tidal media-state-indicator element” and is being caused by the Tidal Tags plugin [Tidal.Tags.mjs].
When the Tidal Tags plugin loads, it attempts to read or display information by finding the [media-state-indicator]. The script fails to find this element and throws an "Uncaught (in promise) Error". This is then reported to the [@luna/lib] UI.
The basic temporary fix would be, of course, to disable Tidal Tags. TidaLuna developers may be able to see where/when Tidal removed or renamed this element and do a simple search/replace. Also since this specific plugin is throwing the fatal promise error, disabling it should allow the core plugins to function normally until a permanent fix is submitted either by TidaLuna or the author of the Tidal Tags plugin, which if I'm not mistaken, is the same person in this case. Please let me know if I can be of more assistance or provide more information to help. Also, PLEASE let me know if I have made any mistakes investigating this error, or if there's a very simple fix that I haven't thought of. It's the best way to learn when it comes to code. Thank you.
Steps to Reproduce
- Open Tidal Desktop.
- Click on User icon in top right corner, then click Luna Settings.
- In Plugin Store, enable the plugin Tidal Tags and turn it on.
- Hit Settings in between the Themes and Supporters tabs.
- Scroll down to Luna Core Plugins to view red error message on [@luna/lib].
Expected Behavior
- Open Tidal Desktop.
- Click on User icon in top right corner, then click Luna Settings.
- Hit Settings in between Themes and Supporters tabs.
- Scroll down to Luna Core Plugins to view them without any error messages.
Actual Behavior
At Step 4 from "Expected Behavior", there is a red error on [@luna/lib] stating "mediaProductTransition.run Listeners Failed to find tidal media-state-indicator element!".
Screenshots / Logs
desktop.tidal.com-1785317277876.log
Prerequisites
Brief description of the issue: Tidal.Tags.mjs is failing on the media-state-indicator selector.
Environment
Tidal Version 2.43.0.20-release
TidaLuna Version 1.16.2-beta
Windows 11 Pro 25H2 build 26200.8894
Windows Feature Experience Pack 1000.26100.334.0
Description
For a while I’ve noticed that in the TidaLuna settings page, [@luna/lib] is displaying the error message:
"mediaProductTransition.runListeners Failed to find tidal media-state-indicator element!"
I’ve been combing through logs and console outputs and this is what seems to be happening. The [@luna/lib] plugin is attempting to hook into an element internally named [media-state-indicator] (likely what is currently playing). However, that element does not exist in Tidal Desktop’s current structural layout.
The console output (attached) indicates the error is “Failed to find tidal media-state-indicator element” and is being caused by the Tidal Tags plugin [Tidal.Tags.mjs].
When the Tidal Tags plugin loads, it attempts to read or display information by finding the [media-state-indicator]. The script fails to find this element and throws an "Uncaught (in promise) Error". This is then reported to the [@luna/lib] UI.
The basic temporary fix would be, of course, to disable Tidal Tags. TidaLuna developers may be able to see where/when Tidal removed or renamed this element and do a simple search/replace. Also since this specific plugin is throwing the fatal promise error, disabling it should allow the core plugins to function normally until a permanent fix is submitted either by TidaLuna or the author of the Tidal Tags plugin, which if I'm not mistaken, is the same person in this case. Please let me know if I can be of more assistance or provide more information to help. Also, PLEASE let me know if I have made any mistakes investigating this error, or if there's a very simple fix that I haven't thought of. It's the best way to learn when it comes to code. Thank you.
Steps to Reproduce
Expected Behavior
Actual Behavior
At Step 4 from "Expected Behavior", there is a red error on [@luna/lib] stating "mediaProductTransition.run Listeners Failed to find tidal media-state-indicator element!".
Screenshots / Logs
desktop.tidal.com-1785317277876.log