Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

Re: Code to store playback position of last X streams played

"EnTerr" wrote:


reg.write("MRU", formatJSON(mruList))

Don't you mean:

reg.write("MRU", formatJSON({mruList:mruList}))

? At least if you're using Roku's non-compliant JSON formatter.
https://github.com/belltown/
0 Kudos
Highlighted
Level 9

Re: Code to store playback position of last X streams played

"belltown" wrote:
Don't you mean:
reg.write("MRU", formatJSON({mruList:mruList}))
? At least if you're using Roku's non-compliant JSON formatter.

You are right, i mis-thought while wanting to keep it short and sweet. I'll replace with `toJSON()` of my own instead
Why, Roku - why? <facepalm>
0 Kudos