pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tivo protocol issues

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Miscellaneous
 View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Jan 14, 2008 12:59 pm    Post subject: Tivo protocol issues Reply with quote

I'm in the process of writing a Tivo Server in C for my Infrant NAS box. It needs to be very lean which is the reason why it's in C. Well anyway I've hit a small snag that maybe you have experience with. I have the beacon working correctly but I can't seem to get Tivo to show my server. Tivo sends me a GET request like

GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0
User-Agent: TmkHttpRequest/1.0
TiVo_TCD_ID: 649XXXXXXXXXXXX
TiVo_SW_VER: 9.1a-01-2

and I send it back a XML feed like so

HTTP/1.0 200 OK
Server: HttpServer
Connection: Closed
Content-Length: 792

<?xml version="1.0" encoding="ISO-8859-1" ?>
<TivoContainer>
<Details>
<Title> theknopps.com</Title>
<ContentType>x-container/tivo-server</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<TotalItems>1</TotalItems>
</Details>
<Item>
<Details>
<Title>Tdawg Movies</Title>
<ContentType>x-container/tivo-videos</ContentType>
<SourceFormat>x-container/folder</SourceFormat>
<LastChangeDate>0x0</LastChangeDate>
</Details>
<Links>
<Content>
<Url>http://192.168.0.110:8081/TiVoConnect?Command=QueryContainer&amp;Container=Tdawg%20Movies </Url>
<ContentType>x-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>
<ItemStart>0</ItemStart>
<ItemCount>1</ItemCount>
</TivoContainer>

However Tivo seems to not like my feed or something because it doesn't show my share on the Tivo screen and it also kepts sending me that same request over and over again. I'm not exactly sure what's wrong. I wrote my own Http mini server for this and that seems to be working fine. I was wondering if you had this same issue during your development.

I've sent that same GET message to my other Tivo's and Galleon and Tivo Desktop and I can't see anything any different then what I'm sending back it and what they are sending me. I've also looked at the Tivo Protocol at developer.tivo.com.

If you have any suggestion, please let me know.
Back to top
ryanrk



Joined: 14 Jan 2008
Posts: 14

PostPosted: Mon Jan 14, 2008 1:05 pm    Post subject: Reply with quote

This is my post, not sure why it posted as guest.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Mon Jan 14, 2008 1:34 pm    Post subject: Reply with quote

Assuming this is an accurate representation of the program's output:

1. It's "Connection: close", not "Closed".
2. It's "TiVoContainer", not "TivoContainer". Case counts.

_________________
My pyTivo fork


Last edited by wmcbrine on Thu Jun 19, 2008 1:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
ryanrk



Joined: 14 Jan 2008
Posts: 14

PostPosted: Mon Jan 14, 2008 1:44 pm    Post subject: Reply with quote

I didn't think XML was case sensitive.

I think this worked. I have to check it when I get home though but I'm not getting requests over and over again as i was getting before.
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 444

PostPosted: Mon Jan 14, 2008 2:21 pm    Post subject: Reply with quote

ryanrk wrote:
I didn't think XML was case sensitive.

HTML is not. XML is.

_________________
My pyTivo fork
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Miscellaneous All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.4494s ][ Queries: 13 (0.1090s) ][ Debug on ]