Empty stream details
#1
Somewhere along the line stream details that are empty now return:
Code:
"streamdetails": { "audio": [], "subtitle": [], "video": [] }
I may have missed it but is that on purpose? Before "streamdetails" would be empty.
Image
AWXi - Ajax web interface. Wiki
Reply
#2
(2012-10-14, 20:25)Mizaki Wrote: Somewhere along the line stream details that are empty now return:
Code:
"streamdetails": { "audio": [], "subtitle": [], "video": [] }
I may have missed it but is that on purpose? Before "streamdetails" would be empty.

iirc yes.
Always provide what you requested even when it's empty
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#3
I vaguely remember something about that but I thought it ended up being the other way around. Smile Not a problem ofc, just need to change the check.
Image
AWXi - Ajax web interface. Wiki
Reply
#4
We had this discussion in the other JSON-RPC thread and I first went with the "no stream details at all if not available" approach but it wasn't really consistent with how we handle other "empty" fields so I went with this instead.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Empty stream details0