TiVo Community Forum banner
61 - 80 of 232 Posts

·
Well-Known Mumbler
Joined
·
11,687 Posts
Discussion Starter · #61 ·
Try it again after a day, just in case indexing is pushing it over the edge.
Yeah, I thought of that. The thing is, it well may be performance-related as to whether it shows up or not, but it should not happen, under any circumstances. It should not even be possible to send anything over HME that ever crashes your TiVo, or kills any of its functions. The whole point of the design of HME is to keep things safely sandboxed. So it's failing in a big way.
 

·
Well-Known Mumbler
Joined
·
11,687 Posts
Discussion Starter · #63 ·
Bummer, I only tested it for about 10 or 15 seconds, I guess I should have tried for much longer.
So, have you tried it again?

I finally got 9.3a on my S3 today, and not surprisingly, everything works fine there, as it did before. (I did have an instance of the icons disappearing, though, requiring an hmeserver restart.) So at this point, I'm thinking to make the Animate/Effects check fail for anything that's not an S3 or HD, running 9.x -- or maybe, being optimistic, just 9.1 and 9.3.
 

·
Well-Known Mumbler
Joined
·
11,687 Posts
Discussion Starter · #66 ·
Any chance of seeing this run on Google App Engine?
I'll look into that... I've tried to get it to run as CGI, but couldn't quite make that work, at least not with Apache. I think it should be possible with mod-python, but so far I haven't got that working either.
 

·
Registered
Joined
·
514 Posts
Yeah, that would be awesome if it does work. The biggest problem is that you can't open your own socket though or access the file system. So you are at the mercy of the web server that google provides. HME keeps a HTTP socket open/connected as long as you are using the app. I can see the google app engine killing the socket after a certain time period.
 

·
Registered
Joined
·
514 Posts
I don't. I'm hoping it's easy to reverse-engineer... or that TiVo publishes an updated spec...
It's not going to be an easy reverse engineer. Swivel search uses 2 way SSL certificates (albeit self signed) and I'm willing to bet youtube will do the same. But I definitely am interested in video streaming too so if you do figure it out. please share. :)
 

·
Registered
Joined
·
1,051 Posts
It's not going to be an easy reverse engineer. Swivel search uses 2 way SSL certificates (albeit self signed) and I'm willing to bet youtube will do the same. But I definitely am interested in video streaming too so if you do figure it out. please share. :)
Not necessarily. There's no reason to suspect that's the case.

Swivel Search allows proprietary comms between a TiVo unit and one or more servers at TiVo headquarters. These comms include accessing (at a minimum) guide data from Tribune that TiVo licenses, and is likely obligated to protect from intrustion. I can definitely understand why TiVo would want to lock that down.

YouTube features open API's that anyone can code against, as far as I can tell. Why would TiVo or Google need to encrypt these sessions ?

We'll find out soon enough. Someone over on the pyTivo forums is going to set up a capture and see exactly what's going on with the YouTube HME streaming.
 

·
Registered
Joined
·
514 Posts
I just tested this equivalent java code and it works. There is one issue though. It has a long pause before starting the video after the please wait goes away (about 13 seconds). I'm guessing it's probably downloading the entire video before starting rather than streaming it. I tested this with the 1.4 HME SDK.

Code:
public class TestVideo extends BApplication {

    @Override
    public void init(IContext context) throws Exception {
        super.init(context);
        
        getRoot().setResource(createStream("http://192.168.1.114:7288/video/test.mp4"));
    }

    public static class TestVideoFactory extends Factory {

        @Override
        public InputStream getStream(String uri) throws IOException {
            if (uri.endsWith("test.mp4")) {
                return new FileInputStream("skatedog.mp4");
            }
            return super.getStream(uri);
        }
        
    }
}
 

·
Well-Known Mumbler
Joined
·
11,687 Posts
Discussion Starter · #78 ·
I would say it's buffering, but not downloading the whole video. You can see a similar effect in the YouTube app. I got HME to play (well, play maybe the first half of, before I got an error) an hour-long MPEG-2 video, and it still only took ten seconds or so to start.

Edit: Actually, I take it back -- the recording was only 23 minutes (only the first part of an hour-long program), and it was played back completely. The error I was seeing was due to premature closure of the second request the TiVo made for the file... why it made a second request is another issue.
 

·
Registered
Joined
·
4 Posts
I love this idea -- HME from python. I have used Tivo ToGo quite a bit in the past but it has been "broken" lately and has not been downloading anything. I would like to add this feature to your hmeserver but am not sure how to even start. Do you have an app like this already? if not, any pointers on how I would go about getting a start on this?
 
61 - 80 of 232 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top