TiVoToGo protocol and Info (or how to get stuff of the tivo w/o tivo desktop)

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Danimal4326, Jan 5, 2005.

  1. Jan 5, 2005 #1 of 460
    Danimal4326

    Danimal4326 Member

    49
    0
    Apr 8, 2003

    Advertisements

    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:
    http://<your tivo ip>/TiVoConnect?AnchorOffset=0&Command=QueryContainer&Details=All&ItemCount=0
    will give you nice XML output
    PHP:
    <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:
    http://<your tivo ip>/TiVoConnect?AnchorOffset=0&Command=QueryContainer&Details=All&ItemCount=1
    gets us this usefull info

    PHP:
    <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:
    <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/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>That '70s Show</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>9</TotalItems>
    <LastCaptureDate>0x41DC8D8E</LastCaptureDate>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F3502
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>video/x-tivo-mpeg</ContentType>
    <SourceFormat>video/x-tivo-mpeg</SourceFormat>
    <Title>Las Vegas</Title>
    <SourceSize>776994816</SourceSize>
    <Duration>3601000</Duration>
    <CaptureDate>0x41D9F89E</CaptureDate>
    <EpisodeTitle>When You Got to Go, You Got to Go</EpisodeTitle>
    -
        <Description>
    When Ed is kidnapped, Danny and Mike franticly search the city for him, a task made more difficult by Ed refusing to let them call the police or pay the ransom.
    </Description>
    <SourceChannel>5-0</SourceChannel>
    <SourceStation>WMAQ</SourceStation>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    http://<tivo ip address>:80/download/Las%20Vegas.TiVo?Container=%2FNowPlaying&id=1752591
    </Url>
    <ContentType>video/x-tivo-mpeg</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:expired-recording</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    -
        <TiVoVideoDetails>
    <Url>/TiVoVideoDetails?id=1752591</Url>
    <ContentType>text/xml</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </TiVoVideoDetails>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>Harvey Birdman: Attorney at Law</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>3</TotalItems>
    <LastCaptureDate>0x41D8D4D2</LastCaptureDate>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F497944
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>South Park</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>11</TotalItems>
    <LastCaptureDate>0x41D7A2F6</LastCaptureDate>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F3259
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>Chappelle's Show</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>3</TotalItems>
    <LastCaptureDate>0x41B68346</LastCaptureDate>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F322100
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>Scrubs</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>5</TotalItems>
    <LastCaptureDate>0x41B66726</LastCaptureDate>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F27048
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>video/x-tivo-mpeg</ContentType>
    <SourceFormat>video/x-tivo-mpeg</SourceFormat>
    <Title>Beavis and Butt-head</Title>
    <SourceSize>389021696</SourceSize>
    <Duration>1799000</Duration>
    <CaptureDate>0x404EA0CE</CaptureDate>
    <Description>Two obnoxious teens cause trouble. Animated.</Description>
    <SourceChannel>32-0</SourceChannel>
    <SourceStation>MTV2</SourceStation>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    [url]http://[/url]<your tivo ip>:80/download/Beavis%20and%20Butt-head.TiVo?Container=%2FNowPlaying&id=1172173
    </Url>
    <ContentType>video/x-tivo-mpeg</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:save-until-i-delete-recording</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    -
        <TiVoVideoDetails>
    <Url>/TiVoVideoDetails?id=1172173</Url>
    <ContentType>text/xml</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </TiVoVideoDetails>
    </Links>
    </Item>
    -
        <Item>
    -
        <Details>
    <ContentType>x-tivo-container/folder</ContentType>
    <SourceFormat>x-tivo-container/tivo-dvr</SourceFormat>
    <Title>TiVo Suggestions</Title>
    <LastChangeDate>0x41DCB7C3</LastChangeDate>
    <TotalItems>37</TotalItems>
    </Details>
    -
        <Links>
    -
        <Content>
    -
        <Url>
    /TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying%2F0
    </Url>
    <ContentType>x-tivo-container/folder</ContentType>
    </Content>
    -
        <CustomIcon>
    <Url>urn:tivo:image:suggestions-in-progress-folder</Url>
    <ContentType>image/*</ContentType>
    <AcceptsParams>No</AcceptsParams>
    </CustomIcon>
    </Links>
    </Item>
    </TiVoContainer>

    Now we're getting somewhere. Going to one of the handy links such as

    PHP:
    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??
     
  2. Jan 5, 2005 #2 of 460
    Danimal4326

    Danimal4326 Member

    49
    0
    Apr 8, 2003
  3. Jan 5, 2005 #3 of 460
    Marc

    Marc Well-Known Member TCF Club

    19,054
    3,020
    Jun 26, 1999
    McMurray, PA
    Wow. They implemented an unsupported browser-oriented browser by going to https://ip-addr/ and giving the username and password that Danimal surmised.
     
  4. Jan 5, 2005 #4 of 460
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    That's excellent. In addition to providing size information, you can retrieve and parse all of that info and archive/publish/data mine it in all kinds of cool ways. I'm drooling with ideas just thinking about it :)
     
  5. Jan 5, 2005 #5 of 460
    Danimal4326

    Danimal4326 Member

    49
    0
    Apr 8, 2003

    Advertisements

    Ahh you're right. Didn't think of that.

    Go to

    https://<tivo ip>/nowplaying/index.html

    using user: tivo
    pass: <MAK>

    It gives u a nice web interface to every show on your Tivo!!!!

    :)

    Also, like your TiVo box, you can choose classic (sort by record time) or folders view.

    At the bottom, there is a warning message

     
  6. Jan 6, 2005 #6 of 460
    AllAboutJeeps

    AllAboutJeeps Member

    112
    0
    Apr 3, 2003
    Peoria, IL
    Also at the bottom it lets you switch between classic view and groups (folders). Fun...

    ...danny
     
  7. Jan 6, 2005 #7 of 460
    pgrutherford

    pgrutherford New Member

    24
    0
    Dec 7, 2004
    Seattle
    So does this mean anyone with a browser can download a show? If so, someone should let that the Apple-Heads know.
     
  8. Jan 6, 2005 #8 of 460
    Danimal4326

    Danimal4326 Member

    49
    0
    Apr 8, 2003
    Already did ;)
     
  9. Jan 6, 2005 #9 of 460
    simonalope

    simonalope New Member

    893
    0
    Jun 2, 2004
    People's...
    Just a note: on my computer, highlight-copy-paste'ing my MAK did not work. I had to type it in by hand to make this work.

    Also, if you've read my recent post in this forum about copy protection, please note that the protected recordings still show up as such when I access via my browser.

    Good work, Danimal!
     
  10. Jan 6, 2005 #10 of 460
    AllAboutJeeps

    AllAboutJeeps Member

    112
    0
    Apr 3, 2003
    Peoria, IL
    Make sure you aren't copying any spaces or carriage returns. I cut and pasted mine out notepad just fine.

    ...danny
     
  11. Jan 6, 2005 #11 of 460
    MickeS

    MickeS Active Member

    25,975
    24
    Dec 26, 2002
    That's a nice little feature!

    /Mike
     
  12. Jan 6, 2005 #12 of 460
    dkroboth

    dkroboth New Member

    336
    0
    Jan 25, 2002
    Redondo...
    That's pretty cool. I wonder if there is anyway to get to the To-Do list or Season Passes.
     
  13. Jan 6, 2005 #13 of 460
    MickeS

    MickeS Active Member

    25,975
    24
    Dec 26, 2002
    Do your channel logo pictures work? Mine have a "/" too many in their image source tag: it says "http://192.168.1.4//ChannelLogo/logo-65556.png" but should be "http://192.168.1.4/ChannelLogo/logo-65556.png".

    /Mike
     
  14. Jan 6, 2005 #14 of 460
    nickhull

    nickhull New Member

    54
    0
    Aug 24, 2000
    Southend-on-...
    I am getting kind of nervous with the hackability of TTG. It seems like with some fairly unsophisticated coding, you can access your TiVo from anywhere and download the content. After downloading you can rip, convert and burn with off the shelf tools.

    I give it a week before there are some nice little utilities that allow sharing beyond your home network and out to the blue yonder....

    I'm sure that this is not what TiVo intended, but who knows?

    Who will bother with buying Sonic now that you can do all this for free?
     
  15. Jan 6, 2005 #15 of 460
    jerrycurl

    jerrycurl New Member

    8
    0
    Jan 5, 2005
    Haven't received the Tivo2Go update yet and am unable to display information in a web browser - so it must mean that the http service is part of the upgrade.

    Could this mean that they are close to doing what I suggested on the suggestion forum... letting us control our tasks via a browser instead of a clunky remote control.
     
  16. Jan 6, 2005 #16 of 460
    dkroboth

    dkroboth New Member

    336
    0
    Jan 25, 2002
    Redondo...
    The TiVo Video Details link seems to have schema info at the top, but I can't get any of these files to open

    <TvBusMarshalledStruct:TvBusEnvelope xs:schemaLocation="http://tivo.com/developer/xml/idl/TvBusMarshalledStruct TvBusMarshalledStruct.xsd http://tivo.com/developer/xml/idl/TvPgdRecording TvPgdRecording.xsd http://tivo.com/developer/xml/idl/TvBusDuration TvBusDuration.xsd http://tivo.com/developer/xml/idl/TvPgdShowing TvPgdShowing.xsd http://tivo.com/developer/xml/idl/TvDbShowingBit TvDbShowingBit.xsd http://tivo.com/developer/xml/idl/TvBusDateTime TvBusDateTime.xsd http://tivo.com/developer/xml/idl/TvPgdProgram TvPgdProgram.xsd http://tivo.com/developer/xml/idl/TvDbColorCode TvDbColorCode.xsd http://tivo.com/developer/xml/idl/TvPgdSeries TvPgdSeries.xsd http://tivo.com/developer/xml/idl/TvDbShowType TvDbShowType.xsd http://tivo.com/developer/xml/idl/TvPgdChannel TvPgdChannel.xsd http://tivo.com/developer/xml/idl/TvDbTvRating TvDbTvRating.xsd http://tivo.com/developer/xml/idl/TvDbRecordQuality TvDbRecordQuality.xsd" xs:type="TvPgdRecording:TvPgdRecording">
     
  17. Jan 6, 2005 #17 of 460
    Danimal4326

    Danimal4326 Member

    49
    0
    Apr 8, 2003
    dkroboth, I noticed too..

    I guess thats why they say "this feature is not supported" hehe. I'm glad they put it in though..
     
  18. Jan 6, 2005 #18 of 460
    MickeS

    MickeS Active Member

    25,975
    24
    Dec 26, 2002
    There isn't a reasonably user-friendly method of copyprotection they could have used that would prevent this. I think it's great they provided a web-interface. And remember, the MAK is still needed.

    Depending on price, the upcoming Sonic feature still seems like a good way to go, if it makes things easier (so far, the stuff mentioned here is a pretty clunky way of getting stuff onto a DVD).

    /Mike
     
  19. Jan 6, 2005 #19 of 460
    MighTiVo

    MighTiVo TiVotarian

    2,612
    60
    Oct 26, 2000
    Nashville, TN
    How about $50?

    http://www.tivo.com/5.3.1.1.asp?article=233

    Starting mid-January, a MyDVD Studio 6.1 free 15-day trial and complete product software download will be available to TiVo subscribers on www.tivo.com/togo. The complete product software download will be offered to TiVo subscribers at a discounted rate of $49.99 ($20 off MSRP).
     
  20. Jan 6, 2005 #20 of 460
    dualfragment

    dualfragment New Member

    52
    0
    Dec 30, 2002
    tag
     

Share This Page

spam firewall

Advertisements