Re: [vdr] streamdev CVS - recent tarball?

2010-09-26 Thread Frank Schmirler
On Mon, 20 Sep 2010 12:14:28 +0100, Gavin Hamill wrote
> Ah, it does work, but only if I use http://hostname:port/TS/.
> 
> PES/PS/ES do not work. I'm not bothered too much about PES/PS but ES 
> is very useful for streaming radio. How can I help to debug this further?

Thanks for reporting this regression. Streamdev-0.5.0 is not affected - only
the CVS version. Fix is attached.

Regards,
Frank
diff -r -u streamdev-0.5.0-CVS/server/livestreamer.c streamdev-0.5.0-esps/server/livestreamer.c
--- streamdev-0.5.0-CVS/server/livestreamer.c	2010-09-24 21:57:40.0 +0200
+++ streamdev-0.5.0-esps/server/livestreamer.c	2010-09-26 11:15:54.0 +0200
@@ -436,12 +436,13 @@
 
 void cStreamdevLiveStreamer::StartReceiver(void)
 {
-	if (m_Device != NULL && m_NumPids > 0 && IsRunning()) {
+	if (m_NumPids > 0) {
 		Dprintf("Creating Receiver to respect changed pids\n");
 		cReceiver *current = m_Receiver;
 		m_Receiver = new cStreamdevLiveReceiver(this, m_Channel->GetChannelID(), m_Priority, m_Pids);
 		cThreadLock ThreadLock(m_Device);
-		Attach();
+		if (IsRunning())
+			Attach();
 		delete current;
 	}
 	else
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-20 Thread Gavin Hamill
Ah, it does work, but only if I use http://hostname:port/TS/. 

PES/PS/ES do not work. I'm not bothered too much about PES/PS but ES is
very useful for streaming radio. How can I help to debug this further?

gdh



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-20 Thread Gavin Hamill
Thanks to Frank for updating the tarball on http://vdr.schmirler.de/ :)

It compiles and loads cleanly on my VDR 1.6.0 system - I can see the new
HTTP menu with javascript categories (nice! :) but the basic feature of
streaming via HTTP fails.

I have moved the streamdevhosts.conf
into /video/plugins/streamdev-server but even when I launch a simple 

# curl http://localhost:82/101

... I get no data returned :( The logs don't say much:

Sep 20 10:56:19 telly vdr: [10118] Streamdev: Accepted new client (HTTP)
127.0.0.1:3128
Sep 20 10:56:28 telly vdr: [10118] client (HTTP) 127.0.0.1:3128 has
closed connection
Sep 20 10:56:28 telly vdr: [10118] streamdev: closing streamdev
connection to 127.0.0.1:3128
Sep 20 10:56:28 telly vdr: [10118] buffer stats: 0 (0%) used

This is vanilla 1.6.0 with the -1 + -2 patches applied, but nothing
else. Commandline is just "./vdr -Pskinsoppalusikka -Pstreamdev-server"

Any ideas warmly received :)

Cheers,
Gavin.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-17 Thread Mika Laitio

Personally I don't care if it's called CVS, SVN or git. However I wouldn't
want to loose the history, so I'd need someone with access to the internal CVS
structures. Unfortunately the vdr-developer.org admins are not very responsive
ATM. And of course I'd need to be in the mood for this sort of task. My spare
time is very limited - I prefer spending it with coding.


I have pretty good experiences for turning the svn repository to git 
repository with svngit. (Basically you just checked out the code from svn 
with svngit and you had the git repository with svn history)


Maybe there is a similar kind of tool also for the cvs, I just have not 
newer used it. And of course you would now need the cvs access to 
streamdev :-(


Mika

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-16 Thread Frank Schmirler
On Thu, 16 Sep 2010 01:30:27 +0300 (EEST), Mika Laitio wrote
> Any changes that streamdev would move to using git repositories in
> 
> http://projects.vdr-developer.org ?

Personally I don't care if it's called CVS, SVN or git. However I wouldn't
want to loose the history, so I'd need someone with access to the internal CVS
structures. Unfortunately the vdr-developer.org admins are not very responsive
ATM. And of course I'd need to be in the mood for this sort of task. My spare
time is very limited - I prefer spending it with coding.

Regards,
Frank

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-15 Thread Mika Laitio



am getting some compile errors. Frank Schmirler says the current CVS
contains fixes for that, but the CVS server at vdr-developer.org is down.

Does anyone have a recent CVS checkout they wouldn't mind sending me?
streamdev is the last thing I need to finally upgrade from VDR 1.4.7
:)


unfortunately the problems on www/streamdev.vdr-developer.org persist. Until
the problems have been resolved current snapshots plus a patch fixing
http://www.linuxtv.org/pipermail/vdr/2010-September/023520.html are available
from http://vdr.schmirler.de.


Any changes that streamdev would move to using git repositories in

http://projects.vdr-developer.org ?

Mika

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] streamdev CVS - recent tarball?

2010-09-15 Thread Frank Schmirler
Hi,

On Fri, 10 Sep 2010 09:18:51 +0100, Gavin Hamill wrote
> I'm trying to compile streamdev 0.5.0 on an elderly 2006 Ubuntu and 
> am getting some compile errors. Frank Schmirler says the current CVS 
> contains fixes for that, but the CVS server at vdr-developer.org is down.
> 
> Does anyone have a recent CVS checkout they wouldn't mind sending me?
> streamdev is the last thing I need to finally upgrade from VDR 1.4.7 
> :)

unfortunately the problems on www/streamdev.vdr-developer.org persist. Until
the problems have been resolved current snapshots plus a patch fixing
http://www.linuxtv.org/pipermail/vdr/2010-September/023520.html are available
from http://vdr.schmirler.de.

Cheers,
Frank


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] streamdev CVS - recent tarball?

2010-09-10 Thread Gavin Hamill
Hi,

I'm trying to compile streamdev 0.5.0 on an elderly 2006 Ubuntu and am
getting some compile errors. Frank Schmirler says the current CVS
contains fixes for that, but the CVS server at vdr-developer.org is
down.

Does anyone have a recent CVS checkout they wouldn't mind sending me?
streamdev is the last thing I need to finally upgrade from VDR 1.4.7 :)

Cheers,
Gavin.





___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr