Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
EnTerr
Level 8

New Line in Metadata - CR or LF?

This probably was discussed somewhere in teh forum but i fail searching for it (CR, LF, 13, 10 etc short words get dropped). And i totally cannot find it in RTFM.

Some metadata texts (description, shortDescription etc) support new line characters - in the sense of forcing component to display rest of text on a new line. What should i use? Is there a consistent policy on that, as in:
  1. Should use CR (\x0D)

  2. Should use LF (\x0A)

  3. Use either

  4. Use combination of both (CR+LF, LF+CR)
0 Kudos
3 Replies
TheEndless
Level 7

Re: New Line in Metadata - CR or LF?

Chr(10)
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
EnTerr
Level 8

Re: New Line in Metadata - CR or LF?

Is it documented somewhere and can i rely on it?
0 Kudos
TheEndless
Level 7

Re: New Line in Metadata - CR or LF?

Don't think it's documented, but I use it all the time. Up to you to decide whether that's reliable or not.. Smiley Wink
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos