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

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 3
TheEndless
Channel Surfer

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

Re: New Line in Metadata - CR or LF?

Is it documented somewhere and can i rely on it?
0 Kudos
TheEndless
Channel Surfer

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.. 😉
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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.