Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] TIDAL Presence shows wrong album. #17

Closed
1 task done
MarvelousAdiris opened this issue Jun 2, 2024 · 6 comments
Closed
1 task done

[Bug] TIDAL Presence shows wrong album. #17

MarvelousAdiris opened this issue Jun 2, 2024 · 6 comments
Labels
bug Something isn't working player issue This is an issue with the media player

Comments

@MarvelousAdiris
Copy link

MarvelousAdiris commented Jun 2, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Sometimes, Music Presence shows a different album from what I'm listening to.

Reproduction Steps

  1. Play a song on TIDAL
  2. Click on Discord profile
  3. See the error

Expected behavior

Show the album I'm actually listening to.

Screenshots

imagen_2024-06-02_133042753
imagen_2024-06-02_133202098

imagen_2024-06-02_134227843
imagen_2024-06-02_134246898

Device Info

  • Discord Music Presence version: 2.1.1
  • Operating system: Windows 10
  • The media player you used (if applicable): TIDAL

Additional context

Happens extremely often with live albums. (shows the studio album the song came from instead.)

@MarvelousAdiris MarvelousAdiris added the bug Something isn't working label Jun 2, 2024
@ungive
Copy link
Owner

ungive commented Jun 2, 2024

Thanks for the bug report. Unfortunately the TIDAL desktop app only reports the song title and artist, but not the album from which it is playing the song:

grafik

(nullopt meaning there is no data)

The proper way to fix that is to contact TIDAL support and ask them kindly to report the album name as well, which is something others have done before with e.g. Spotify, see playerctl for instance: letter-to-spotify-support.md

I could setup a generic message that is similar to the one I linked with the technical details that I, you and perhaps others could send to TIDAL support to raise awareness of the issue.

There is however a semi-solution, which involves getting the album image from the local media player (instead of the TIDAL API, which is how I do it at the moment), which would then show the correct album cover (but not the correct album name). That way the status would at least appear a bit more correct. This is something I will be working on soon.

@MarvelousAdiris
Copy link
Author

MarvelousAdiris commented Jun 2, 2024

Thank you for this response.

If you'd like to contact TIDAL support yourself, here's a link to submit a request with them: Submit a request

@ungive ungive added the player issue This is an issue with the media player label Jun 2, 2024
@ungive
Copy link
Owner

ungive commented Jun 4, 2024

I have reported this issue with the following text (I have added a preamble in case you want to report it too):

Message to TIDAL Support

I am contacting you on behalf of an application/software developer who has experienced issues when interfacing with TIDAL for Windows through Windows system APIs. The following is his explanation of the issue. Here is also a link to a GitHub issue outlining the problem further: github.com/ungive/discord-music-presence/issues/17

TIDAL for Windows reports music metadata (title, artist, album, playback position, etc.) to the operating system, so that other applications can see what the TIDAL media player is currently playing. I am using a low-level C++ API, called WinRT, to access that information. When I attempt to read the album name it reports no information at all.

The following low-level C++ functions (of the WinRT API) are used to retrieve this information:
Album: Windows.Media.Control.GlobalSystemMediaTransportControlsSessionMediaProperties.AlbumTitle()
Documentation: https://learn.microsoft.com/en-us/uwp/api/windows.media.control.globalsystemmediatransportcontrolssessionmediaproperties?view=winrt-22621

The return value of AlbumTitle() is empty:

Screenshot 1 (s1) contains the code that is used to retrieve the information.

session is an instance of the C++ type “winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession”.

Screenshot 2 (s2) shows the contents of the variables of screenshot 1.

As you can see the album title is empty. This information is useful and should be reported by TIDAL, so that it's possible to more distinctly distinguish which song exactly is playing (e.g. to retrieve the correct cover image or to know it's playing from the a single album or from a normal album or from a deluxe version of the album).

It would be great if TIDAL could report more detailed information via system APIs in the future!

Thank you.

Screenshots:

s1.png
s1

s2.png
s2

I'll close this issue, as this is not an issue with Music Presence anymore.

@ungive ungive closed this as completed Jun 4, 2024
@MarvelousAdiris
Copy link
Author

MarvelousAdiris commented Jun 4, 2024

I think it's unnecessary for me and other users to send this letter yet, as TIDAL support should still read your request and email you back, but thank you anyway.

@ungive
Copy link
Owner

ungive commented Jun 6, 2024

Contacted support and got forwarded here:

https://github.com/orgs/tidal-music/discussions/74

@ungive
Copy link
Owner

ungive commented Jun 28, 2024

I reported the issue with the Chromium project: https://issues.chromium.org/issues/349310439

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working player issue This is an issue with the media player
Projects
None yet
Development

No branches or pull requests

2 participants