[Free] World Radio Extension

Introduction

Hello there! Today I am back with another extension World Radio Extension! .

Blocks

Documentation

Blocks Description
Method_GetCountriesList Method to get available countries and triggers GotCountriesList event.
Event_Got_CountriesList Triggers after getting countries list and returns list of countries.
Method_Get_Country_Codes Method to get country codes, country names and flags and triggers GotCountryCodes event.
Event_Got_Countries_Code Triggers after getting country codes and returns countryCode, countryNames and flags as a list.
Method_Get_Radio_Station_By_Country Method to get radio stations list for given country name and triggers GotRadioStations event.
Event_Got_Radio_Stations Triggers after getting radio stations for given country name and returns stationName and stationUrl as a list.
Method_GetRadioStationByCountryCode Method to get radio stations for given country code and triggers GotRadioStationsByCountryCode event
Event_Got_Radio_Stations_by_CountryCodes Triggered after getting list of radio stations for given country code and returns stationName and stationUrl as list.
GetRadioStationByName Method to get radio stations list for given radio station name and triggers GotRadioStationsByName event.
GotRadioStationsByName Triggered after getting list of radio stations for given radio station name and returns stationName and stationUrl as list.

Preview

If some stations are not working there maybe two reasons:

Whats New

  • Now you can search for specific radio station!

AIA

WebRadio.aia (97.5 KB)

Download Extension

[Version 1]com.henry.worldradio.aix (93.8 KB)
[Version 2] com.henry.worldradio.aix (97.7 KB)

If you like this extention give a like! :grin:

36 Likes

Great axtension,I’m going to use it now

2 Likes

Nice extension

2 Likes

Great work​:+1:
Do you have fetched an api?

2 Likes

Yes the API I use is Radio Browser API

2 Likes

I really really really like this extension:upside_down_face:
But I noticed that in your aia some radio stations do not start to play (both in companion and apk)… I don’t know if it is due to extension, aia or API:thinking: For example I have tried with “Dimensione Suono Roma” (an Italian famous radio station) and it not starts, so you can start to investigate the problem from it. If you will solve it, this extension could be cooler than it already is:+1:

1 Like

Hey thanks for using the extensions, I found 2 reasons for some radio stations not working,

  • Its because the streaming url is dead.
  • Some audio files are unable to play using exo player. This can be fixed by trying other audio player or opening in external players such as VLC.
2 Likes

Well… I have tried audio player extension by Taifun and all the radio stations I have tried before now work perfectly, but there is always some radio station that no works, but very few. So, I think that the problem for them depends on API (so they streaming url is dead) and it not depends on your extension. Congratulation Henry for your job:star_struck:

(below the great Taifun audio player extension)

https://puravidaapps.com/player.php

5 Likes

when disconnecting from internet yes i get this error the app cannot open.can i use this extension to listen to the radio in offline mode?

com.github.kevinsawicki.http.HttpRequest$HttpRequestException: java.net.UnknownHostException: Unable to resolve host "all.api.radio-browser.info": No address associated with hostname at com.github.kevinsawicki.http.HttpRequest.code(HttpRequest.java:1562) at com.github.kevinsawicki.http.HttpRequest.stream(HttpRequest.java:1855) at com.github.kevinsawicki.http.HttpRequest.buffer(HttpRequest.java:1844) at com.github.kevinsawicki.http.HttpRequest.body(HttpRequest.java:1764) at com.github.kevinsawicki.http.HttpRequest.body(HttpRequest.java:1779) at com.henry.worldradio.WorldRadio$2.run(WorldRadio.java:353) at java.lang.Thread.run(Thread.java:764) Caused by: java.net.UnknownHostException: Unable to resolve host "all.api.radio-browser.info": No address associated with hostname at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:157) at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:105) at java.net.InetAddress.getAllByName(InetAddress.java:1154) at com.android.okhttp.Dns$1.lookup(Dns.java:39) at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:175) at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:141) at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:83) at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:174) at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126) at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:281) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:461) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:407) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaders(HttpURLConnectionImpl.java:163) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getHeaderField(HttpURLConnectionImpl.java:207) at com.github.kevinsawicki.http.HttpRequest.header(HttpRequest.java:2114) at com.github.kevinsawicki.http.HttpRequest.parameter(HttpRequest.java:2209) at com.github.kevinsawicki.http.HttpRequest.charset(HttpRequest.java:2319) ... 3 more Caused by: android.system.GaiException: android_getaddrinfo failed: EAI_NODATA (No address associated with hostname) at libcore.io.Linux.android_getaddrinfo(Native Method) at libcore.io.BlockGuardOs.android_getaddrinfo(BlockGuardOs.java:172) at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:137) ... 21 more

1 Like

Sorry you can listen to radio only in online.

2 Likes

hi how i can make export for extension only if i have in app

regards

thank you developer

This is a beautiful extension.
Only one issue found, I discovered that some of the Country flag do not correspond with the Country Name.

I also checked that, but it looks like the API that I used returns the country codes and country names in different order at sometime, its a problem of the API!

Nice, something different extension :fire:

Alright then.

i like radio, keep being creative :ok_hand:

The list of contry is showing

Every ting is delayed

Nice Appreciating Extension, Really Different And Useful Extension Ever.