The Humax app is a specialised version of the vTuner site. Although I couldn't see evidence of this regarding Humax, it looks as if vTuner is playing hard-ball with the AV device suppliers by withdrawing or neutering free APIs and requiring payment from the supplier or the supplier's customers.
You can browse to a station list page similar to that displayed in the settop browser:
http://tv2.humaxtvportal.com:8094/P...dex.htm?feed=favourite&level=top&siteLang=eng
(I set the UA to match the settop browser
Opera/9.80 (Linux 7405b0-smp; U; HbbTV/1.1.1 (; Humax; HD-FOX T2; 1.03.02; 1.0; ); ce-html/1.0; en) Presto/2.10.250 Version/11.60
, and the desktop browser has the device certificate installed, but this is just HTTP so it isn't being used.)
As the settop browser's keyboard/remote UI isn't available the page is a bit static (even with JS enabled) but you can compare it with a similar page (chosen for having only 6 stations) in the current vTuner site:
https://vtuner.com/setupapp/guide/a...Tunes&sBrowseType=Format&sNiceLOFO=Show Tunes.
The Humax app fetches a chunk of structured HTML that is meant to contain the media links and metadata for each station, but the
link
field used for the playable link is missing, along with everything else except
content-type
,
station-id
and
station-mime
, which are not enough to construct a playable URL.
The vTuner site loads the actually displayed HTML station list with a server-side dynamic playable URL linked for each station. The URL has the station ID as a parameter but also a giant server-generated hex string as the value of the mandatory
k
parameter, eg:
https://vtuner.com/setupapp/guide/a...238b4127af5526633cc312a042bb01ca8d2909740c95.
As we can't generate that string, we can't just patch this new link format into the Humax app.
A way to fix the problem, if desired, is this:
1. make a local version of the Portal Internet Radio app
2. modify the JS code that generates station list pages and play pages based on the current vTuner app
3. make this into a CF package.
Or, deploy a
vTuner look-alike in the WebIf server and then
1. make a local version of the Portal Internet Radio app
2. modify the JS code that generates station list pages and play pages to use the local "vTuner" server (possibly much less work)
3. make this into a CF package.
Probably an unfeasible number of tuits of whatever shape would be required in either case.
Separately,
the BBC will stop supporting Shoutcast by mid-2023 (so the issue of its broken MP3 streams will become moot and our player would have to support AAC over DASH or HLS).