Weird requests

Discussion in 'Developers Corner' started by wmcbrine, Oct 22, 2008.

  1. wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003

    Advertisements

    Now that I have an app on apps.tv, I saw what appeared to be an attempt to choose the app's resolution via the HTTP request:

    GET /reversi/?width=704&height=480

    Needless to say, it doesn't work, and I'm not aware of any way to get a TiVo (or the simulator) to generate that kind of request. Has anyone else seen this?
     
  2. davidblackledge

    davidblackledge Registered l√úser

    563
    36
    Sep 9, 2008
    NM
    Yay!... I like reversi ;] :up:

    Haven't seen that kind of request, but I can't help but wonder if it has to do with a feature that I've always meant to experiment with: Applications as Streams...
    Perhaps somebody is using a virtual application host (?) that is itself a TiVo app and is trying to load your app into a view of their app?

    It might even just have to do with the app-switching feature that I also haven't messed with... I guess that's what Galleon does in "menu" mode.

    So it doesn't automatically set your application's getWidth/getHeight? Oh that's right, you're using Python :p

    Have you tried simply entering that URL in the simulator explicitly? Or did you simply mean you don't know how to get a built-in operation to generate it...
     
  3. wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003
    I had no idea that TiVo's SDK did that. I see from the source that it does. But is that documented anywhere? I don't quite see the point of it, given the parallel existence of EVT_RESOLUTION_INFO, which is documented.

    Hey, no sticking tongues out at Python. You don't want to hear what I have to say about Java. :)

    Well, yeah, someone could type it. But why would they?
     
  4. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    HME will use those to initially set the dimensions of the application view if they are set. It won't invoke a resolution change or anything. Those parameters are intended to notify the app what size it's initially running on. It defaults to 640x480 if not specified. They are read in the setContext() method on the Application class.


    TiVo does documentation? ;-)
     
  5. wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003

    Advertisements

    I say "TiVo's SDK" rather than "HME" because those options aren't part of the protocol (and they aren't used by TiVo boxes, either).

    Yes, hence "I see from the source that it does." :)

    There's an 83-page PDF that comes with the SDK, but it doesn't seem to mention this feature. Where did you find out about it?
     
  6. s2kdave

    s2kdave New Member

    515
    0
    Jan 27, 2005
    Yeah, I was being sarcastic about the documentation. There's so much undocumented stuff in there even though they do have documentation from when they originally released it.

    BTW, the protocol only outlines after a connection has been established, and there is no documentation on establishing the connection and what header parameters it uses in http such as tsn which I'm sure you know about that one already.
     
  7. wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003
    Got a couple more of these, from an IP address in Taiwan.
     
  8. wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003
    I've come to believe that these are just the standard form of request made by the "TGC" brand TiVos used in Taiwan. I was confused at first, because the ones who made requests in this form would exit again almost immediately. But since then, I've gotten what I take to be one obsessive Taiwanese player, with long and frequent sessions. I put in some additional logging to try and find out more, but of course he hasn't shown up since.

    However, I did find something else interesting, which I'll post about in a new thread...
     
  9. Dec 5, 2008 #9 of 10
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,861
    900
    Aug 2, 2003
    OK, my final report... my Taiwanese player (or another one) finally came back. In the app info, the brand is "TGC", the platform is "TGC01", and the software is 3.0. (!) The TSN starts with 1E2.

    Perhaps more interestingly, I've also had connections from a TGC01 with a U.S. IP. However, that one identifies itself as a 2 DT (TSN 649), runs software 9.3.2, and doesn't add width and height to its requests.
     
  10. Allanon

    Allanon Active Member

    983
    199
    Nov 2, 2005
    They are probably Tivos with custom kernels since the name of one of the custom kernels is TGC01.
     

Share This Page

spam firewall

Advertisements