TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Underground Playground > Developers Corner
TiVo Community
Forum Jump
Thread Tools
Old Today, 10:33 AM   #1
Registered User
Join Date: Jan 2014
Posts: 8
HMO text encoding for metadata

Does anyone know what charset/encoding the xml response for HMO requests need to be in? I'm running into a encoding display issue with my tivohmo ruby project ( https://github.com/wr0ngway/tivohmo ).

The problem I'm seeing is that metadata (specifically description) that I fetch from plex, has some unicode values (specifically U+2019 - which is a apostrophe), and these show up as empty boxes when browsing the item in the tivo HMO browse UI. However, once I transfer it to the tivo, it does show up correctly as an apostrophe in the details for the show in the "My Shows" UI.

I'm doing everything in utf-8, and both the QueryContainer and TVBusQuery responses are in utf-8. I've tried setting Content-Type response header to 'text/xml', 'application/xml', 'text/xml; charset=utf-8', 'application/xml; charset=utf-8', but makes no difference.

The only place I don't use utf-8 is when transferring the file to the tivo - I generate the TVBusQuery xml as utf-8, but dump the raw bytes into the header since it is a binary stream - which may be why it works in the tivo UI, but not the hmo ui ...? https://github.com/wr0ngway/tivohmo/...server.rb#L163

If I manually create a pyTivo metadata file containing that string, the same things happen.

Any ideas?
wr0ngway is offline   Reply With Quote
Forum Jump

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 07:26 PM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |