View Single Post
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#29
Originally Posted by luca View Post
The client tells me there's no update available, I still have the locale problem.
Attached is a quick hack (due to my non existent understanding of ruby) to at least get a limited channel list.
Initially the server threw an exception due to the empty extra token, then it died with no exception after some channels (I suppose it was left without memory), I limited them to 1000 and I think the client had problem with that, so I limited them to 100, then it choked on the epg.
Now I get a channel list (with a duplicate for each language even when it's empty) but it doesn't "play" and this is the only thing in the log
Code:
[2008-10-14-21:13:06] Request: /vlc/play?client_id=fe0161ebe712a8ebbf42c6da127ccf1a&locale=es_ES&name=RAI1&profile=N800&type=channel&subtitle=-&filename=http%3A%2F%
2F192.168.10.13%3A3000%2Fhttp%3A%2F%2F192.168.10.13%3A3000%2FPS%2FS13.0E-318-5200-3401&path=%2FTelevision from ventosino.ventoso.local:59987
[2008-10-14-21:13:17] Request: /vlc/position?client_id=fe0161ebe712a8ebbf42c6da127ccf1a&locale=es_ES from ventosino.ventoso.local:59990
[2008-10-14-21:13:17] Request: /vlc/stop_playing?client_id=fe0161ebe712a8ebbf42c6da127ccf1a&locale=es_ES from ventosino.ventoso.local:59991
I think there's a lot of work to do to make it work (and even with just 100 channlels without epg it takes more than 10 seconds to retrieve them) and I don't think it's worth it (frankly the tablet sucks wrt video)
Indeed the amount of channels is just too much to handle and it would require a lot of work to somehow split them to smaller parts. I'll change the parsing back to rexml, it's just so much cleaner. REXML sometimes failed to parse a bigger channel list although I saw no error in html syntax so it's not ideal either. But I think most people will have way less channels than you And you can watch almost live-tv if you start to record the show you want to watch and then stream that

I guess you need to change the streamdev stream to ts to be able to watch it. I guess the epg data fetching via telnet worked ok for you? I wonder if it's possible to generate the streamdev urls from that info making the html-parsing unnecessary.

Last edited by ukki; 2008-10-14 at 19:54.
 

The Following User Says Thank You to ukki For This Useful Post: