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: 
belltown
Roku Guru

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.
0 Kudos
EnTerr
Roku Guru

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