1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Discovering the iPad interface

Discussion in 'TiVo Underground' started by wmcbrine, Jan 18, 2011.

  1. moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Netflix search via RPC is not very useful, at least for episodic shows. Below is an episode of Star Trek found with "offerSearch" (Star Trek Season 1, episode 9 - Dagger of the Mind). But attempting to use uri with ?partnerOfferId=programs/0000/70109444 doesn't work.
    Code:
    {"isEpisode":true,"episodic":true,"title":"Star Trek","objectIdAndType":"465102061163341","checksum":"0x3B0DA11791F6F6CB35C17F324DF2B40F","partnerContentId":"epgProvider:ct.EP0039850002","transportType":"partnerStream","seasonNumber":1,"noGiftCardPurchase":false,"type":"offer","contentId":"tivo:ct.252519","purchasableFrom":["dvr"],"levelOfDetail":"low","contentType":"video","hdtv":false,"partnerId":"tivo:pt.3455","collectionId":"tivo:cl.22439","partnerCollectionId":"epgProvider:cl.SH003985","offerId":"tivo:of.ts.52679501","episodeNum":[9],"audioLanguage":["en"],"subscribable":false,"duration":0,"subtitle":"Dagger of the Mind","collectionType":"series","partnerOfferId":"programs/0000/70109444"},
    
    Also as I mentioned searching on TiVo for above episode the episode is found but it only starts Netflix with keyword search "Star Trek" which doesn't help to narrow in much on a specific episode. Can't believe what a lousy mess TiVo allows Netflix integration to be with series 4 platform.
     
  2. Fofer

    Fofer XenForo Rocks! TCF Club

    82,137
    304
    Oct 29, 2000
    The HDUI of the base OS still isn't complete.

    All of the apps (every one of them) are slow and clunky.

    While the addition of Spotify was welcome, character entry doesn't even work with the TiVo Slide remote's keyboard.

    TiVo's Amazon app is the single redheaded stepchild that still can't do Instant Prime.

    It's all a mess.

    I've lost any faith whatsoever that this company can deliver on anything beyond the base DVR functionality we've had for over a decade now.

    Any apps above and beyond, I access on my AppleTV or Roku.

    It's a sad situation for this purported "One Box" that sadly is anything but.
     
  3. philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    I finally have to second the last comments. The premiere came out YEARS ago now, and still isn't finished. No complete, fast HDUI. The apps are falling apart and are slow. The upgrade cycle is slow and clunky. (How about a tivo app store? :))

    Every new release fixes 3 items, makes 1 new one and breaks *4*. Every new release does something behind the scenes, like screw up metadata, not allow metadata pieces, display something wrong, break folders. Something!

    Do they not regression test the system (Hey, ever hear of ICE)?)? How many developers do they have? Come on, its been 2+ YEARS and HDUI is still broken.

    I am starting to think it has all gotten away from them. They have 10+ year old code they are still using and just patching in pieces as they see fit with no rhyme or reason except to kludge it to work. The ultimate sphagetti code, which gets harder and harder to support or upgrade. No long term strategy except to sue someone else over patent infringment.

    I was going to upgrade to 2 new tivo premier4 (replacing 3 tivoHD units) and a stream, but instead I will keep one premiere and get 2 FIOS DVR units. Might not be as good as tivo, but they do work and the screens are now hdand do On Demand on fios.
     
  4. Feb 5, 2013 #224 of 366
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    When using middlemind.tivo.com I found this query is useful to get a nice summary of any mind operation:
    schemaElementGet

    example query:
    Code:
    {"type":"schemaElementGet", "name":"uiNavigate"}
    
    response:
    Code:
    {
       "rootElementName": "uiNavigate",
       "operation": [{
          "description": "\n      Causes the UI to navigate to the specified destination.\n    ",
          "name": "uiNavigate",
          "fieldDefinition": [
             {
                "name": "parameters",
                "valueType": "anyDict",
                "type": "fieldDefinition",
                "minOccurs": 0
             },
             {
                "description": "\n        When true, replaces the currently active screen or app on the navigation stack with \n        the new screen or app specified in this request.  A subsequent navigate \n        with a URI of 'x-tivo:return' will not return to the currently active \n        screen or app, but rather the one that was active before it. The default \n        value is false.\n      ",
                "name": "forgetThisScreen",
                "valueType": "boolean",
                "type": "fieldDefinition",
                "minOccurs": 0
             },
             {
                "name": "uri",
                "valueType": "uri",
                "type": "fieldDefinition",
                "minOccurs": 1
             }
          ],
          "isImplemented": false,
          "type": "operation",
          "returnType": ["success"]
       }],
       "levelOfDetail": "low",
       "IsFinal": true,
       "rootElementType": "operation",
       "type": "schemaElement"
    }
    
     
  5. Feb 5, 2013 #225 of 366
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    schemaNumberListGet using middlemind server is also interesting and takes a single parameter "what" whose value is either "allTypes" or "allMembers". Unfortunately for me the "allMembers" query which sounds like the more interesting one to get full set of operation names errors out for some reason. "allTypes" query does work and returns a huge list of all mind object types.
    Code:
    {"type":"schemaNumberListGet", "what":"allTypes"}
    
     
  6. Feb 6, 2013 #226 of 366
    swythan

    swythan New Member

    21
    0
    Apr 4, 2011
    High...
    Cool. Both those look really handy. Especially for getting up-to-date schema information without having to extract it from one of the official apps.

    Schema Parsing
    Speaking of which... The other day I wrote a powershell script to pull all the mind operations described in a set of schema files into an Excel spreadsheet, along with their descriptions. If anyone is interested I can post a copy (I'm at work at the moment).

    I ran it on the schema extracted from an old copy of the android app that I had lying around. I didn't immediately spot anything particularly interesting that I hadn't seen mentioned here before, but you never know.

    Fetching TV Schedule
    What I was looking for was a quick way to get "What's on now" information, but I'm none the wiser.

    The "Guide" section of the iPad app [1] shows a list of all the available TV channels, with the currently showing program title for each. You can then select a channel and it shows you the schedule for that channel for the rest of the day.

    Does anyone know how to quickly fetch that information (particularly the channel list with "what's on now")?

    I can get it using "gridRowSearch", but it seems very slow compared to how quickly the iPad UI populates itself. Am I just doing it wrong? I tried reducing the time window and level of returned detail for gridRowSearch, which helped, but it still didn't approach how quickly the iPad app does it.

    Thanks

    [1] The Virgin Media one, but I assume the US one is the same.
     
  7. Feb 6, 2013 #227 of 366
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    I don't know if you've seen kmttg Remote Guide tab? What I do there is there's a "Channels" button you click on once to get full list of all channels using "channelSearch" which I list in the table as folders. That part is not speedy but you only do it once. User can then select a 12 hour time frame to use (can be from now up to about 12 days away and defaults to current time). Then when user clicks on a channel it quickly obtains the listings for that 1 channel in a 12 hour window using "gridRowSearch" and displays the result.
    The iPad app is limiting the channel range and the time range to what is displayed in visual range. I believe there has to be individual calls per channel with a very limited time window to do that.
    i.e. Speeding it up is all about limiting channel and time range used.
     
  8. Feb 6, 2013 #228 of 366
    swythan

    swythan New Member

    21
    0
    Apr 4, 2011
    High...
    Thanks for that. I'm just glad to know that I've not missed some other way of getting it that I could be using.

    BTW: Do you (or anyone else) know if it's still possible to capture the traffic from the iPad (or Android) app? I've been assuming that it's at least "really quite hard" since they changed to authenticating the TLS certificates, but I've never looked to see whether it's actually impossible (given e.g. a jailbroken iPad, some specific network switch, etc).
     
  9. moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    The TiVo Roamio series that just launched has built in Opera web browser with HTML5 support. After some fussing around I discovered a way to display any arbitrary web page on my Roamio Plus. For example to display the TCF "TiVo Roamio DVRs" web page the RPC command would be:

    {
    "uiDestinationType":"web",
    "type":"uiNavigate",
    "bodyId":"tsn:xxxxxxxxxxxxxxx",
    "uri":"x-tivo:web:http://www.tivocommunity.com/tivo-vb/forumdisplay.php?f=74"
    }

    Once displaying a page the remote arrow keys can be used to move around the page and the select key to follow a link. I didn't find a way to go back after clicking a link (the Back button didn't work).

    Just for grins I fired up pyTivo and connected to pyTivo server via my Roamio and was able to navigate the web page to select a video to push to the Roamio:
    {
    "uiDestinationType":"web",
    "type":"uiNavigate",
    "bodyId":"tsn:xxxxxxxxxxxxxxx",
    "uri":"x-tivo:web:http://192.168.10.198:9032"
    }

    Note that web pages with flash video do not work (missing flash plugin messages).

    NOTE: This only works for series 5 TiVos - didn't work for my series 4 units.

    Haven't fully explored this as I just discovered this in last hour or so, but perhaps for next kmttg release I'll add another Remote tab where user can enter arbitrary URL to jump to.
     
  10. gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    Excellent find! That's funny after all the time they spent playing up how great it was for Flash to be available on the Premiere.

    How about pages with html5 <video> tags with tivo-friendly mp4? Maybe try this test page (has ogg theora, webm, and h.264/mp4 examples) http://www.quirksmode.org/html5/tests/video.html
     
  11. moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    The H.264/MP4 sample on that page was the only one that worked.
     
  12. gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    Thanks for checking. And that's still good news, as far as I'm concerned.
     
  13. moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    Setting up a mini web server with basic html5 video tag worked. The TiVo built in web player adds its own basic player with play/pause with "controls" as part of the video tag. As with Flash by default the resolution of the web player is 1280x720, so 720p video fills the screen.
    NOTE: mp4 container with ac3 audio resulted in no audio, but aac audio worked.
    Code:
    <!DOCTYPE HTML>
    <html>
    <body>
    <video width="1280" height="720" controls>
      <source src="h264_aac.mp4" type="video/mp4">
      Your browser does not support the video tag.
    </video>
    </body>
    </html> 
    
     
  14. bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    Does this mean we can host our own apps directly onto the Roamios?

    Outside of an App Store?
     
  15. Fofer

    Fofer XenForo Rocks! TCF Club

    82,137
    304
    Oct 29, 2000
    Why yes, I believe it does. And there are some amazing HTML5 apps (and games) out there.
     
  16. morac

    morac Cat God

    8,948
    22
    Mar 14, 2003
    NJ
    It probably depends on how they are written. Obviously a HTML5 app designed for a tablet won't work on TiVo. I'm guessing TiVo is also using special tags to handle remote presses. It would be interesting to see what the Netflix and YouTube apps look like on a normal web browser.
     
  17. moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
  18. Sep 1, 2013 #238 of 366
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    Pretty cool - this site seems designed for TV, how are the controls?
     
  19. Sep 1, 2013 #239 of 366
    morac

    morac Cat God

    8,948
    22
    Mar 14, 2003
    NJ
    I can't say what it controls like on a TV, but it works fine on my iPad.
     
  20. Sep 1, 2013 #240 of 366
    moyekj

    moyekj Well-Known Member

    11,143
    32
    Jan 23, 2006
    Mission...
    It's the same YouTube App that launches on the Roamios so controls work well and run much faster than the Flash version on the Premieres - but that is mostly because of better hardware not because HTML5 is much faster than Flash.
    Note that contrary to what has been said in TCF threads, the Netflix App TiVo is using launches as Flash, not HTML5, which explains why it didn't get user profile support automatically as some expected.
     

Share This Page