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

Added a way to set and update the CultureInfo. #15

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

crwsolutions
Copy link
Contributor

Added a way to set and update the CultureInfo in the BluPlayer, this will be transfered to the Channel. And this will be used in every call (this was already in there):
client.DefaultRequestHeaders.AcceptLanguage.TryParseAdd(AcceptLanguage.Name);

For example in case of getting a contextMenu, this matters (example response, in dutch):

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<browse sid="30" searchKey="Tidal:Search" serviceIcon="/Sources/images/TidalIcon.png" serviceName="TIDAL" service="Tidal" type="contextMenu">
<item text="Verwijder van favorieten" type="favourite-delete" actionURL="/DeleteFavourite?service=Tidal&amp;albumid=330930029"/>
<item text="Speel nu af" type="add-now" actionURL="/Add?service=Tidal&amp;playnow=1&amp;clear=0&amp;where=nextAlbum&amp;albumid=330930029"/>
<item text="Shuffle" type="add-shuffle" actionURL="/Add?service=Tidal&amp;playnow=1&amp;shuffle=1&amp;where=nextAlbum&amp;albumid=330930029"/>
<item text="Als eerstvolgende toevoegen aan de afspeellijst" type="addAll-next" actionURL="/Add?service=Tidal&amp;playnow=-1&amp;where=nextAlbum&amp;albumid=330930029"/>
<item text="Voeg toe aan het eind van de afspeellijst" type="addAll-last" actionURL="/Add?service=Tidal&amp;playnow=-1&amp;where=last&amp;albumid=330930029"/>
</browse>

@roblans roblans merged commit 59c33e0 into roblans:master Mar 23, 2024
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