Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
EnTerr
Roku Guru

/query/icon/ broken in fw5.4 [fixed in 5.4.3041?]

Looking at the 5.4.271 beta again, the ECP /query/icon/xxx on my 3100 returns icons only for Netflix, Amazon Instant Video, Roku Media Player and dev channels (12, 13, 2213, dev). No icons are returned for the other 21 channels; 404 instead (take 28-Pandora as example).

Here is how to reproduce it:
$ curl -w '%{response_code} %{size_download}\n' -so /dev/null http://192.168.1.25:8060/query/icon/12
200 2367
$ curl -w '%{response_code} %{size_download}\n' -so /dev/null http://192.168.1.25:8060/query/icon/13
200 17550
$ curl -w '%{response_code} %{size_download}\n' -so /dev/null http://192.168.1.25:8060/query/icon/28
404 0
$ curl -w '%{response_code} %{size_download}\n' -so /dev/null http://192.168.1.25:8060/query/icon/2213
200 50201
$ curl -w '%{response_code} %{size_download}\n' -so /dev/null http://192.168.1.25:8060/query/icon/7359
404 0

Naturally, this can also be observed in remoting apps. In RokuCo "Roku" iOS app, change to 5.4.271 player, go to My Channels app and force it (pull-down) to refresh app list; see lots of black icons. In DvpRemote, go to Channels and tap refresh button, get two dozen 404 popups or a crash (did not pinpoint when one or the other).

However, there is a twist: if you start a channel X, next time /query/icon/X does work. Seems that unpacks/deploys the icon. Puzzling, considering that icons are visible in the UI on TV. Yet another "however" - when you restart the player, /query/icon's will disappear again.
0 Kudos
4 REPLIES 4
RokuJoel
Binge Watcher

Re: /query/icon/ broken in fw5.4

Thanks EnTerr, this is probably related to the other ECP issue, I'll post another bug report.

- Joel
0 Kudos
EnTerr
Roku Guru

Re: /query/icon/ broken in fw5.4

"RokuJoel" wrote:
Thanks EnTerr, this is probably related to the other ECP issue, I'll post another bug report.

Related probably only in the sense it is ECP and maybe the same developer (i give 50/50 odds on the latter).

Kind of glad that my iOS app has text named buttons as fall-back when icon does not load - but looks bland/ugly.


Interesting tidbit: this is the second time in almost 3 years that i am glad for including this feature in the app; first one was two years ago when a comment to Roku Blog post draw my attention to the fact that visually impaired people also use Roku player - and ha, the serendipity, my channel list was already pronouncing the channel names (which are invisible with icons). Sometimes doing an extra step pays off.

Side subnote to the side note: just tried "Roku" iOS app and it cannot be used in "VoiceOver" mode. Like, it totally does not work in the main, "remote" tab. Can't make it, no matter tapping and scratching. Probably because it handles touches proprietary. Things work differently with voice over. But can someone pls ping the RokuCo house iOS developer with this
0 Kudos
RokuJoel
Binge Watcher

Re: /query/icon/ broken in fw5.4

Will do.

- Joel
0 Kudos
EnTerr
Roku Guru

Re: /query/icon/ broken in fw5.4

Seems as if it was fixed in 5.4.3041
0 Kudos