Well, since I've been reading up on TivoToGo, and how the files work and transfers work, I thoght I'd start a thread where we can put our findings.
So here goes:
EDIT:
Some new info..
1. The tivo now runs a web server. Not sure if it did before, but if you go to
http://<your tivo ip> it will display a nice web page telling you that you've set up your TiVo on the network properly.
2a. Tivo Web interface ( thanks Marc )
https://<tivo ip>/nowplaying/index.html
using user: tivo
pass: <MAK>
It gives u a nice web interface to every show on your Tivo!!!!
2. Going to
PHP Code:
http://<your tivo ip>/TiVoConnect?AnchorOffset=0&Command=QueryContainer&Details=All&ItemCount=0
will give you nice XML output
PHP Code:
<TiVoContainer>
-
<Details>
<ContentType>x-tivo-container/tivo-server</ContentType>
<SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
<Title>My Tivo</Title>
<TotalItems>1</TotalItems>
</Details>
<ItemStart>0</ItemStart>
<ItemCount>0</ItemCount>
</TiVoContainer>
changing the URL above to
PHP Code:
http://<your tivo ip>/TiVoConnect?AnchorOffset=0&Command=QueryContainer&Details=All&ItemCount=1
gets us this usefull info
PHP Code:
<TiVoContainer>
-
<Details>
<ContentType>x-tivo-container/tivo-server</ContentType>
<SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
<Title>My TiVo</Title>
<TotalItems>1</TotalItems>
</Details>
<ItemStart>0</ItemStart>
<ItemCount>1</ItemCount>
-
<Item>
-
<Details>
<ContentType>x-tivo-container/tivo-videos</ContentType>
<SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
<Title>Now Playing</Title>
</Details>
-
<Links>
-
<Content>
-
<Url>
https://<your tivo ip>:443/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying
</Url>
<ContentType>x-tivo-container/tivo-videos</ContentType>
</Content>
</Links>
</Item>
</TiVoContainer>
this gives us a SSL link, and when you follow it, it installs a certificate, and then asks you for a username and password.
Thats where I thought I was stuck. I tried several user/pass combinations. Then it dawned on me.. MAK..
Entering user:tivo passwork:<media access key> ... and ta da
PHP Code:
<TiVoContainer>
-
<Details>
<ContentType>x-tivo-container/tivo-videos</ContentType>
<SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
<Title>Now Playing</Title>
<LastChangeDate>0x41DCB7C3</LastChangeDate>
<TotalItems>9</TotalItems>
</Details>
<SortOrder>Type,CaptureDate</SortOrder>
<ItemStart>0</ItemStart>
<ItemCount>9</ItemCount>
-
<Item>
-
<Details>
<ContentType>x-tivo-container/folder</ContentType>
<SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
<Title>The Simpsons</Title>
<LastChangeDate>0x41DCB7C3</LastChangeDate>
<TotalItems>14</TotalItems>
<LastCaptureDate>0x41DCB7BE</LastCaptureDate>
</Details>
-
<Links>
-
<Content>
-
<Url>
/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F3359
</Url>
<ContentType>x-tivo-container/folder</ContentType>
</Content>
-
<CustomIcon>
<Url>urn:tivo:image:in-progress-folder</Url>
<ContentType>image
Now we're getting somewhere. Going to one of the handy links such as
PHP Code:
http://<your tivo ip>:80/download/Beavis%20and%20Butt-head.TiVo?Container=%2FNowPlaying&id=1172173
it asks us for user/pass again. using tivo/<mak> again, the browser asks us if we want to download or play our new clip..
Following some of the other urls in the xml, we can get to a page that gives us all the info about a show, etc.
Who's gonna write the first linux client, hehe??