Skip to content

Set the status name using the "name" property of setActivity#137

Open
Shelmo wants to merge 2 commits intoCuteTenshii:masterfrom
Shelmo:fix_status_name
Open

Set the status name using the "name" property of setActivity#137
Shelmo wants to merge 2 commits intoCuteTenshii:masterfrom
Shelmo:fix_status_name

Conversation

@Shelmo
Copy link
Contributor

@Shelmo Shelmo commented Nov 30, 2025

No description provided.

@CuteTenshii
Copy link
Owner

Why? statusDisplayType already changes the status name

@Shelmo
Copy link
Contributor Author

Shelmo commented Nov 30, 2025

I made this change to fix this problem when using the option to show song/artist or artist/song:

Captura de tela de 2025-11-30 16-30-32 Captura de tela de 2025-11-30 16-31-18

It's showing the artist/song (or vice versa) in the property details instead of showing the song in details and the artist in state.

This also simplifies the source code

@Shelmo
Copy link
Contributor Author

Shelmo commented Nov 30, 2025

In this case, statusDisplayType 0 shows what is in name in the status (default), 1 shows what is in state, and 2 shows the text from details.

@Shelmo
Copy link
Contributor Author

Shelmo commented Dec 7, 2025

I also took the opportunity to fix a problem I encountered this week. When the song title has only one character, the status is not updated. Example of a song where this happens: Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants