Notices


Reply
Thread Tools
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#31
Originally Posted by luca View Post
In scanner.rb I appended TS to the request url so streamdev returns the TS urls for the channels, but I still see nothing.


The data fetching worked, but it gave an error adding the info to the channels (that's why I removed it).
Anyway, it would work only if you have epg for a channel, if there's no epg (channel not tuned after the last current/next epg) you cannot tune to the channel since you'd get no listing for it.
if you mean it errors when there's no epg info for that channel, you can fix it by changing it like this:

gsub("@PROGRAM_INFO", epg_data[channel_name][3] ? epg_data[channel_name][3] : "")

Can you view recordings etc ok? Is it just live-tv that doesn't show? Can you view the stream from other computer ok? And looking at Knots' log it seems the address is 2 times in a row for some reason.

If you can send me the telnet output of LSTE and the html output of the streamdev server, I'll check if I can parse it properly. I have under 10 channels that work fine so I can't really help you otherwise.

Last edited by ukki; 2008-10-14 at 23:42.
 

The Following User Says Thank You to ukki For This Useful Post:
stangri's Avatar
Posts: 145 | Thanked: 18 times | Joined on Aug 2008 @ Vancouver, BC
#32
Originally Posted by ukki View Post
Orb and TVersity are the only ones that come to mind.
What, you can't install Ruby & VLC on Windows and run Knots there?!

Last edited by stangri; 2008-10-15 at 08:16. Reason: correction -- Ruby, not Python.
 
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#33
Originally Posted by ukki View Post
if you mean it errors when there's no epg info for that channel, you can fix it by changing it like this:

gsub("@PROGRAM_INFO", epg_data[channel_name][3] ? epg_data[channel_name][3] : "")
No, it didn't work when there was epg info
Originally Posted by ukki View Post
Can you view recordings etc ok? Is it just live-tv that doesn't show?
Yes, just live tv, recordings work fine.
Originally Posted by ukki View Post
Can you view the stream from other computer ok?
Sure I can
Originally Posted by ukki View Post
And looking at Knots' log it seems the address is 2 times in a row for some reason.
That's because streamdev is giving the main channel link then a link for each language (even if it's the main one).

Originally Posted by ukki View Post
If you can send me the telnet output of LSTE and the html output of the streamdev server, I'll check if I can parse it properly. I have under 10 channels that work fine so I can't really help you otherwise.
I'll see if I can: in the meantime I tried a cvs version of streamdev that gives different options in the channel listing (the main improvement is that you can get channels group by group), however it crashes my vdr.
I'd go back to the previous version but I forgot to note the cvs revision
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#34
Originally Posted by luca View Post
I'll see if I can: in the meantime I tried a cvs version of streamdev that gives different options in the channel listing (the main improvement is that you can get channels group by group), however it crashes my vdr.
I'd go back to the previous version but I forgot to note the cvs revision
Let's stick with stable version for now How would you like Knots to handle that many channels? How do you want them grouped? I don't think it's possible to just fetch data for certain channels so I would need to cache the results and use that and then give ability to do full scan again when data is too outdated.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#35
Originally Posted by stangri View Post
What, you can't install Ruby & VLC on Windows and run Knots there?!
Server will not work in Windows, sorry.
 

The Following User Says Thank You to ukki For This Useful Post:
luca's Avatar
Posts: 1,137 | Thanked: 402 times | Joined on Sep 2007 @ Catalunya
#36
Originally Posted by ukki View Post
Let's stick with stable version for now How would you like Knots to handle that many channels? How do you want them grouped? I don't think it's possible to just fetch data for certain channels so I would need to cache the results and use that and then give ability to do full scan again when data is too outdated.
First, as I said before, I don't think it's worth it, but since you're asking ....

One solution could be caching the channel list on the server and send them to the client in batches. With my setup it wouldn't work (the server died due to low memory while parsing the channels). Batching could be done by pages, say 10 channels per page, groups, which currently knots ignores, or both (left/right changes group, up/down changes page).

Another solution would be to adapt streamdev to return channels in batches (the cvs version gives them in groups, but that's still to much).

A third solution could be to patch vdr to return channels in batches with LSTC
.
And finally one could write a plugin to return channels in batches, complete with epg.

I'm not motivated enough to try any of the above, considering that streamdev can already transcode the stream and for live view it doesn't make sense to seek, so I don't see the advantage in using knots. I think it makes sense for recordings, where you can seek, but it falls short since it doesn't allow you to select the language (for multiple languages recordings) and I don't think that vlc can embed the dvb subtitles.
 
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#37
I tried this with tversity, but it could not find the server. Is it not supposed to work on windows?
Well i can use canola or media streamer with tversity but the most important thing is seeking. Without that there really is not much use for streaming. So i was wondering if this could in any way work on windows and if no are you planning to support windows in the future.

Thanks
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#38
Originally Posted by luca View Post
First, as I said before, I don't think it's worth it, but since you're asking ....

One solution could be caching the channel list on the server and send them to the client in batches. With my setup it wouldn't work (the server died due to low memory while parsing the channels). Batching could be done by pages, say 10 channels per page, groups, which currently knots ignores, or both (left/right changes group, up/down changes page).

Another solution would be to adapt streamdev to return channels in batches (the cvs version gives them in groups, but that's still to much).

A third solution could be to patch vdr to return channels in batches with LSTC
.
And finally one could write a plugin to return channels in batches, complete with epg.

I'm not motivated enough to try any of the above, considering that streamdev can already transcode the stream and for live view it doesn't make sense to seek, so I don't see the advantage in using knots. I think it makes sense for recordings, where you can seek, but it falls short since it doesn't allow you to select the language (for multiple languages recordings) and I don't think that vlc can embed the dvb subtitles.
I give up too, there's no helping you with this I'll check the dvb subtitles thing though. I just added new features that help test it. Problem here is that I can't record channels that have dvb subs so everything I have have subtitles burned in.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#39
Originally Posted by sachin007 View Post
I tried this with tversity, but it could not find the server. Is it not supposed to work on windows?
Well i can use canola or media streamer with tversity but the most important thing is seeking. Without that there really is not much use for streaming. So i was wondering if this could in any way work on windows and if no are you planning to support windows in the future.

Thanks
I tried it, but it's just so much work. I had to rip out a lot of functionality to get it running. In theory it should be possible without certain features, but I don't see myself doing it unless there is more demand. I think I still have my 0.1 proof of concept version that did run on Windows. But it's so basic I don't think anyone would like to use it.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Posts: 23 | Thanked: 6 times | Joined on Oct 2008 @ Germany, Erlangen
#40
I had the same problem with creating the configuration.
The directory ~/.config/knots is not created if it doesn't exist yet!
I would suggest, that you use ~/.knots as the defaul directory on Linux, I guess that .config is a OSX thing.
Haven't had time to try it with the client yet, will do that on the weekend.
I also have a VDR on my server, but I use xinelibout for remote viewing.
 

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

Tags
knots, linux, os x, streaming, video

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:16.