Skip to content

Wrapper class to fix BUrl compatibility issues - #71

Closed
pulkomandy wants to merge 1 commit into
HaikuArchives:masterfrom
pulkomandy:master
Closed

Wrapper class to fix BUrl compatibility issues#71
pulkomandy wants to merge 1 commit into
HaikuArchives:masterfrom
pulkomandy:master

Conversation

@pulkomandy

Copy link
Copy Markdown
Member

Suggested fix for #70

@korli do you think this approach is OK to enclose source compatibility issues in a single class? It also makes sure the URL is encoded in the same way on all versions, so that should avoid unexpected changes of behavior.

Note: I wrote this in a train with spotty internet connection and I have no soundcard on this Haiku machine, so this is not fully tested.

@pulkomandy
pulkomandy requested a review from korli December 19, 2025 20:29
@korli

korli commented Dec 20, 2025

Copy link
Copy Markdown
Contributor

Aren't these different use cases? Homepage vs stream consuming?
The build is now broken on r1beta5.

@OscarL

OscarL commented Jul 26, 2026

Copy link
Copy Markdown

FWIW, this builds fine now on hrev59899 x86_32.

(tried with the HaikuPorts StreamRadio .recipe, updated to the latest srcGitRev, and applying this PR as .patchset).

Builds fine, but I don't seem able to find any stations (it does shows "Connected to server: https://91.98.4.78/" in the Terminal output).

Hitting the "globe" button next to the "Service [ Comuniti Radio Browser ]" in the Find stations dialog, shows a Terminal that reads:

https:////www.radio-browser.info: Invalid host name.
Press any key

(no Web+ or other browser installed at the moment :-/)


Trying to paste a station URL (that I've got from that radio-browser.info website), seems to do nothing,

@pulkomandy

pulkomandy commented Jul 26, 2026 via email

Copy link
Copy Markdown
Member Author

@korli

korli commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Switch to the new API in 6824813

@korli korli closed this Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants