Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-29 Thread Simon Baxter
please try to test with revision 28276 (it's last stable not broken 
revision. Currently xbmc developpers

don't recommend to use current svn version)

svn update -r28276


Hi

Updated to 28276 and have exactly the same problem.  Only 3-5 seconds of 
video when switching to LiveTV...but recordings now play OK.


?? 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-29 Thread Simon Baxter

Hi

Updated to [XBMC] 28276 and have exactly the same problem.  Only 3-5 
seconds of video when switching to LiveTV...but recordings now play OK.


??


Have noticed that the video freezes at the same time as I get the following 
in /var/log/messages:


Mar 29 22:11:31 freddy vdr: [11020] ERROR: 1 ring buffer overflow (188 bytes 
dropped)
Mar 29 22:11:37 freddy vdr: [11020] ERROR: 51 ring buffer overflows (9588 
bytes dropped)
Mar 29 22:11:43 freddy vdr: [11020] ERROR: 60 ring buffer overflows (11280 
bytes dropped)


(XBMC is running on the same machine as VDR)

Goga777, looking at thread:
http://forum.xbmc.org/showthread.php?t=45314page=51

I'm running streamdev:
vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz
which should already have patch streamdev-cvs221109-AddFemonV1.diff 
applied


Have you seen this before??


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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-29 Thread Goga777
  Updated to [XBMC] 28276 and have exactly the same problem.  Only 3-5 
  seconds of video when switching to LiveTV...but recordings now play OK.
 
  ??
 
 Have noticed that the video freezes at the same time as I get the following 
 in /var/log/messages:
 
 Mar 29 22:11:31 freddy vdr: [11020] ERROR: 1 ring buffer overflow (188 bytes 
 dropped)
 Mar 29 22:11:37 freddy vdr: [11020] ERROR: 51 ring buffer overflows (9588 
 bytes dropped)
 Mar 29 22:11:43 freddy vdr: [11020] ERROR: 60 ring buffer overflows (11280 
 bytes dropped)
 
 (XBMC is running on the same machine as VDR)
 
 Goga777, looking at thread:
 http://forum.xbmc.org/showthread.php?t=45314page=51
 
 I'm running streamdev:
 vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz
 which should already have patch streamdev-cvs221109-AddFemonV1.diff 
 applied
 
 Have you seen this before??


please try cvs version of streamdev plugin  + cumulate patch which I mention in 
my previous mail

Goga

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-29 Thread Simon Baxter

 Updated to [XBMC] 28276 and have exactly the same problem.  Only 3-5
 seconds of video when switching to LiveTV...but recordings now play OK.

 ??

Have noticed that the video freezes at the same time as I get the 
following

in /var/log/messages:

Mar 29 22:11:31 freddy vdr: [11020] ERROR: 1 ring buffer overflow (188 
bytes

dropped)
Mar 29 22:11:37 freddy vdr: [11020] ERROR: 51 ring buffer overflows (9588
bytes dropped)
Mar 29 22:11:43 freddy vdr: [11020] ERROR: 60 ring buffer overflows 
(11280

bytes dropped)

(XBMC is running on the same machine as VDR)

Goga777, looking at thread:
http://forum.xbmc.org/showthread.php?t=45314page=51

I'm running streamdev:
vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz
which should already have patch streamdev-cvs221109-AddFemonV1.diff
applied

Have you seen this before??



please try cvs version of streamdev plugin  + cumulate patch which I 
mention in my previous mail


Goga


Pulled the latest cvs, patched with 
http://cobradevil.org/downloads/streamdev-xbmc.patch still get frozen live 
video in XBMC and the following:


Mar 30 06:27:35 freddy vdr: [12662] ERROR: 1 ring buffer overflow (188 bytes 
dropped)
Mar 30 06:27:41 freddy vdr: [12662] ERROR: 51 ring buffer overflows (9588 
bytes dropped)
Mar 30 06:27:47 freddy vdr: [12662] ERROR: 60 ring buffer overflows (11280 
bytes dropped)
Mar 30 06:27:53 freddy vdr: [12662] ERROR: 60 ring buffer overflows (11280 
bytes dropped)
Mar 30 06:27:59 freddy vdr: [12662] ERROR: 60 ring buffer overflows (11280 
bytes dropped)
Mar 30 06:28:05 freddy vdr: [12662] ERROR: 60 ring buffer overflows (11280 
bytes dropped)
Mar 30 06:28:10 freddy vdr: [12856] streamdev-livestreaming thread ended 
(pid=12656, tid=12856)
Mar 30 06:28:10 freddy vdr: [12855] streamdev-writer thread ended 
(pid=12656, tid=12855)

Mar 30 06:28:10 freddy vdr: [12674] buffer stats: 63920 (1%) used

Any ideas? 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-28 Thread Goga777
  please try to use this cumulate patch for streamdev-plugin from cvs
 
  http://cobradevil.org/downloads/streamdev-xbmc.patch
 
  or try to use the patched version of streamdev plugin
  ftp://elcom.kaluga.ru/pub/downloads/streamdev-2010-02-14.tar.gz
 
 
  also there's possibility to watch the femon information on xbmc-pvr
 
 Well, I've tried the patched version above, and it is better.  I now seem to 
 be able to switch between live channels in XBMC, but still only get a few 
 seconds of video/audio then the stream freezes.

don't know why you have so strange behaviour

which xbmc-pvr version do you have ?

 
 Can you send me your VDR config for streamdev from setup.conf?  (mine below)
 
  streamdev-server.AllowSuspend = 1
  streamdev-server.HTTPBindIP = 127.0.0.1
  streamdev-server.HTTPServerPort = 3000
  streamdev-server.HTTPStreamType = 1
  streamdev-server.IGMPBindIP = 0.0.0.0
  streamdev-server.IGMPClientPort = 1234
  streamdev-server.IGMPStreamType = 0
  streamdev-server.MaxClients = 5
  streamdev-server.ServerPort = 2004
  streamdev-server.StartHTTPServer = 1
  streamdev-server.StartIGMPServer = 0
  streamdev-server.StartServer = 1
  streamdev-server.SuspendMode = 0
  streamdev-server.VTPBindIP = 127.0.0.1


please use

streamdev-server.SuspendMode = 1

my settings are

streamdev-server.AllowSuspend = 1
streamdev-server.HTTPBindIP = 0.0.0.0
streamdev-server.HTTPServerPort = 3000
streamdev-server.HTTPStreamType = 0
streamdev-server.IGMPBindIP = 0.0.0.0
streamdev-server.IGMPClientPort = 1234
streamdev-server.IGMPStreamType = 0
streamdev-server.MaxClients = 1
streamdev-server.ServerPort = 2004
streamdev-server.StartHTTPServer = 0
streamdev-server.StartIGMPServer = 0
streamdev-server.StartServer = 1
streamdev-server.SuspendMode = 1
streamdev-server.VTPBindIP = 0.0.0.0


 ALSO - how do I activate femon in XMBC?  I'm running the plugin in VDR, but 
 can't bring up this screen:

- TV settings - to show snr
- choice Pm3 skin
- tune on channel 
- the button - info 
- when we will see the service info, let's press Left button - we will see the 
femon info 


Goga

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-28 Thread Simon Baxter
Well, I've tried the patched version above, and it is better.  I now seem 
to

be able to switch between live channels in XBMC, but still only get a few
seconds of video/audio then the stream freezes.


don't know why you have so strange behaviour

which xbmc-pvr version do you have ?



I checked out revision 28472 on 9th March 2010



ALSO - how do I activate femon in XMBC?  I'm running the plugin in VDR, 
but

can't bring up this screen:


- TV settings - to show snr
- choice Pm3 skin
- tune on channel
- the button - info
- when we will see the service info, let's press Left button - we will see 
the femon info



Thanks - that helps!

Any other suggestions? 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-28 Thread Goga777
Приветствую, Simon
  Well, I've tried the patched version above, and it is better.  I now seem 
  to
  be able to switch between live channels in XBMC, but still only get a few
  seconds of video/audio then the stream freezes.
 
  don't know why you have so strange behaviour
 
  which xbmc-pvr version do you have ?
 
 
 I checked out revision 28472 on 9th March 2010

I tested with old version of xbmc-pvr

please try to test with revision 28276 (it's last stable not broken revision. 
Currently xbmc developpers
don't recommend to use current svn version)

svn update -r28276


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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-27 Thread Simon Baxter

On 25/03/2010 20:03, Simon Baxter wrote:


Apart from youe eac3 mods etc, does streamdev _actually_need_ any
patching to work with xbmc pvr-testing2? Or should
http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz

work fine just compiled with no patches etc?


Honestly I don't know. And that's why using prepackaged set of patches 
avoid omitting necessary fixes and most of the time going into trouble in 
general.


BTW: Once configured, xbmc pvr-testing2, works for SD, epg,... but lacks 
programming feature and fails for me for HDTV. I dunno if my streamdev 
really works with HDTV or if its the rendering part that is not able to 
use VDPAU... As vdr record the HDTV streams correctly, I suppose streamdev 
should only write the TS stream on a socket instead than on the disk.


--eric


Have tried that streamdev, and I'm still getting the same problems.  I only 
get a picture and audio for a few seconds.


Can you send me your settings from VDR setup.conf?  Here's mine..

streamdev-server.AllowSuspend = 1
streamdev-server.HTTPBindIP = 127.0.0.1
streamdev-server.HTTPServerPort = 3000
streamdev-server.HTTPStreamType = 1
streamdev-server.IGMPBindIP = 0.0.0.0
streamdev-server.IGMPClientPort = 1234
streamdev-server.IGMPStreamType = 0
streamdev-server.MaxClients = 5
streamdev-server.ServerPort = 2004
streamdev-server.StartHTTPServer = 1
streamdev-server.StartIGMPServer = 0
streamdev-server.StartServer = 1
streamdev-server.SuspendMode = 0
streamdev-server.VTPBindIP = 127.0.0.1


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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-27 Thread Goga777
Приветствую, Simon

please try to use this cumulate patch for streamdev-plugin from cvs

http://cobradevil.org/downloads/streamdev-xbmc.patch

or try to use the patched version of streamdev plugin
ftp://elcom.kaluga.ru/pub/downloads/streamdev-2010-02-14.tar.gz


also there's possibility to watch the femon information on xbmc-pvr

have a look on screenshot
http://cobradevil.org/downloads/screenshot002.png

Goga


  On 25/03/2010 20:03, Simon Baxter wrote:
 
  Apart from youe eac3 mods etc, does streamdev _actually_need_ any
  patching to work with xbmc pvr-testing2? Or should
  http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz
 
  work fine just compiled with no patches etc?
 
  Honestly I don't know. And that's why using prepackaged set of patches 
  avoid omitting necessary fixes and most of the time going into trouble in 
  general.
 
  BTW: Once configured, xbmc pvr-testing2, works for SD, epg,... but lacks 
  programming feature and fails for me for HDTV. I dunno if my streamdev 
  really works with HDTV or if its the rendering part that is not able to 
  use VDPAU... As vdr record the HDTV streams correctly, I suppose streamdev 
  should only write the TS stream on a socket instead than on the disk.
 
  --eric
 
 Have tried that streamdev, and I'm still getting the same problems.  I only 
 get a picture and audio for a few seconds.
 
 Can you send me your settings from VDR setup.conf?  Here's mine..
 
 streamdev-server.AllowSuspend = 1
 streamdev-server.HTTPBindIP = 127.0.0.1
 streamdev-server.HTTPServerPort = 3000
 streamdev-server.HTTPStreamType = 1
 streamdev-server.IGMPBindIP = 0.0.0.0
 streamdev-server.IGMPClientPort = 1234
 streamdev-server.IGMPStreamType = 0
 streamdev-server.MaxClients = 5
 streamdev-server.ServerPort = 2004
 streamdev-server.StartHTTPServer = 1
 streamdev-server.StartIGMPServer = 0
 streamdev-server.StartServer = 1
 streamdev-server.SuspendMode = 0
 streamdev-server.VTPBindIP = 127.0.0.1

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-27 Thread Simon Baxter

Приветствую, Simon

please try to use this cumulate patch for streamdev-plugin from cvs

http://cobradevil.org/downloads/streamdev-xbmc.patch

or try to use the patched version of streamdev plugin
ftp://elcom.kaluga.ru/pub/downloads/streamdev-2010-02-14.tar.gz


also there's possibility to watch the femon information on xbmc-pvr


Well, I've tried the patched version above, and it is better.  I now seem to 
be able to switch between live channels in XBMC, but still only get a few 
seconds of video/audio then the stream freezes.


Can you send me your VDR config for streamdev from setup.conf?  (mine below)


streamdev-server.AllowSuspend = 1
streamdev-server.HTTPBindIP = 127.0.0.1
streamdev-server.HTTPServerPort = 3000
streamdev-server.HTTPStreamType = 1
streamdev-server.IGMPBindIP = 0.0.0.0
streamdev-server.IGMPClientPort = 1234
streamdev-server.IGMPStreamType = 0
streamdev-server.MaxClients = 5
streamdev-server.ServerPort = 2004
streamdev-server.StartHTTPServer = 1
streamdev-server.StartIGMPServer = 0
streamdev-server.StartServer = 1
streamdev-server.SuspendMode = 0
streamdev-server.VTPBindIP = 127.0.0.1


ALSO - how do I activate femon in XMBC?  I'm running the plugin in VDR, but 
can't bring up this screen:



have a look on screenshot
http://cobradevil.org/downloads/screenshot002.png



Thanks!
Simon 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-25 Thread Simon Baxter

No not really. I used the code prepackaged from here

http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/

Not the pre compiled packages themselves because I needed the eac3 modif 
in it but as you have the original tar ball, + the debian patches taht 
create a debian directory and in the debian directory you find a 
subdirectory patches that is aplied bafore compilation you get the picture 
(+ as I use debian I just have to apply the patches and use the build 
system)


But yo can easill get the sources for any linux system and the configure 
options given.


Thanks Eric

Apart from youe eac3 mods etc, does streamdev _actually_need_ any patching 
to work with xbmc pvr-testing2?  Or should 
http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz

work fine just compiled with no patches etc?


-Simon 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-25 Thread Eric Valette

On 25/03/2010 20:03, Simon Baxter wrote:


Apart from youe eac3 mods etc, does streamdev _actually_need_ any
patching to work with xbmc pvr-testing2? Or should
http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/vdr-plugin-streamdev_0.5.0~pre20090706+cvs20100307.2102.orig.tar.gz

work fine just compiled with no patches etc?


Honestly I don't know. And that's why using prepackaged set of patches 
avoid omitting necessary fixes and most of the time going into trouble 
in general.


BTW: Once configured, xbmc pvr-testing2, works for SD, epg,... but lacks 
programming feature and fails for me for HDTV. I dunno if my streamdev 
really works with HDTV or if its the rendering part that is not able to 
use VDPAU... As vdr record the HDTV streams correctly, I suppose 
streamdev should only write the TS stream on a socket instead than on 
the disk.


--eric



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-24 Thread Simon Baxter

Rob wrote:
The pvr-testing2 version of xbmc works with 1.6.0 (or did three weeks 
ago) as long as you have a recent streamdev patched..





Does anyone have this working with vdr-1.6.0?

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-24 Thread Eric Valette

On 24/03/2010 19:07, Simon Baxter wrote:

Rob wrote:
The pvr-testing2 version of xbmc works with 1.6.0 (or did three weeks
ago) as long as you have a recent streamdev patched..




Does anyone have this working with vdr-1.6.0?


No but I do have it with a patched vdr 1.7.14 + streamdev to support 
french HD TV (VC1 + eac3)


--eric




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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-24 Thread Simon Baxter

Does anyone have this working with vdr-1.6.0?


No but I do have it with a patched vdr 1.7.14 + streamdev to support 
french HD TV (VC1 + eac3)


--eric


Thanks Eric

Did you patch streamdev, or is this only necessary if you need parental 
controls etc?


If I run it (with 1.6.0) with unpatched streamdev, I only get video/audio 
for a few seconds then XBMC freezes.  If I run it with patched streamdev, I 
can't connect to live TV at all.


Any clues?

Where do you get most of your support for this?  The XMBC linux forum, or 
somewhere else?



Thx
Simon 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-24 Thread Eric Valette

On 24/03/2010 23:14, Simon Baxter wrote:


Any clues?


No not really. I used the code prepackaged from here

http://ppa.launchpad.net/hotzenplotz5/test-vdr-lucid/ubuntu/pool/main/v/vdr-plugin-streamdev/

Not the pre compiled packages themselves because I needed the eac3 modif 
in it but as you have the original tar ball, + the debian patches taht 
create a debian directory and in the debian directory you find a 
subdirectory patches that is aplied bafore compilation you get the 
picture (+ as I use debian I just have to apply the patches and use the 
build system)


But yo can easill get the sources for any linux system and the configure 
options given.


-- eric





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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-19 Thread Simon Baxter
The pvr-testing2 version of xbmc works with 1.6.0 (or did three weeks ago) 
as long as you have a recent streamdev patched..




I'm having a problem with the plugin

It connects OK, but I only get a few seconds of video/audio then it freezes.

xbmc.log has:
10:23:48 T:140535683545424 M:1723899904   DEBUG: 
CDVDPlayer::HandleMessages - player started 1
10:23:48 T:140535683545424 M:1723899904   DEBUG: CDVDPlayer::SetCaching - 
caching state 3
10:23:48 T:140535459158352 M:1723899904   ERROR: GetDelay - snd_pcm_delay, 
alsa error: -32 - Broken pipe
10:23:48 T:140535683545424 M:1723899904   DEBUG: CDVDPlayer::SetCaching - 
caching state 0
10:23:48 T:140535459158352 M:1723899904   DEBUG: CDVDPlayerAudio:: 
Discontinuity - was:775.65, should be:0.33, error:-775.32
10:23:49 T:140535807903952 M:1722826752INFO: GL: ARB Imaging extension 
supported
10:23:49 T:140535459158352 M:1721577472   DEBUG: CDVDPlayerAudio:: 
Discontinuity - was:1002877.37, should be:1018548.526184, 
error:15671.152851
10:23:49 T:140535683545424 M:1721577472   DEBUG: 
CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/4.pvr)
10:23:50 T:140535683545424 M:1720696832   DEBUG: 
CGUIInfoManager::SetCurrentMovie(pvr://channels/tv/all/4.pvr)
10:23:51 T:140535459158352 M:1719939072 WARNING: 
CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
10:23:51 T:140535469648208 M:1719939072 WARNING: 
CDVDMessageQueue(video)::Get - retrieved last data packet of queue
10:23:52 T:140535469648208 M:1719939072INFO: CDVDPlayerVideo - 
Stillframe detected, switching to forced 25.00 fps
10:23:53 T:140535683545424 M:1719947264INFO: AddOnLog: 
pvrclient/VDRClient for streamdev: No data in 2 seconds, queuing no signal 
image


any ideas? 



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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-12 Thread scott
Sorry for the delay.

vdr is set to run all the time, I start mine with this line in inittab but
anyway will do:

vdr:35:once:/usr/local/bin/runvdr

This is the while loop in my .xinitrc.  This has to go before any exec
lines that you might have which would be present to start window managers
etc:

### bash script excerpt start
while [ 1 -eq 1 ]
do

XINE=/data/downloads/xine-ui/src/xitk/xine
$XINE -A alsa --video vdpau  --post tvtime:method=use_vo_driver -f
vdr://tmp/vdr-xine/stream#demux:mpeg_pes  --no-gui --no-mouse --hide-gui 
--no-logo  --no-splash --verbose=2 21 /tmp/xine_log

#run xbmc
export SDL_AUDIODRIVER=null  # I use this to workaround an issue I
had with navigation sounds in xbmc
/usr/local/bin/xbmc --fullscreen 21 /tmp/xbmc

done
### bash script excerpt end

So this loop will just cycle between xine and xbmc unti the X session is
killed.  To stop xine I use the Music button on my Hauppauge remote, so I
have this in the my .lircrc 

begin
remote = Hauppauge
button = Music
prog   = xine
repeat = 0
config = Quit
end

This will close xine, causing the while loop to move on and start xbmc.  I
use MediaStream as my xbmc skin and this next bit is specific to that skin,
if you use a different skin then you will have to look up how to add menu
items for that skin.  Also I think I read recently that xbmc has changed
the way skins are handled so if you are on a new svn build, or maybe the
latest release then things might have changed.  I am using a SVN build from
8 Sep 2009.  From the same home directory as the above .xinitrc, in
.xbmc/skin/MediaStream/720p (That's the resolution I'm using, I don't think
MediaStream has any other) you should have a file, Home.xml.  Near the end
there is a section which defines the main menu, normally preceded by the
comment !-- Main Menu --.  About 30 lines lower you should find a section
which describes the buttons available in the top level menu, something
like:

content
  item id=7
descriptionPower Button/description
label $LOCALIZE[31007] /label
label2 $LOCALIZE[31017] /label2
onclickXBMC.ActivateWindow(ShutdownMenu)/onclick
  /item
  item id=6
descriptionMy System Menu/description
label $LOCALIZE[31006] /label
label2 $LOCALIZE[31016] /label2
onclickSetFocus(506)/onclick
  /item

At a location of your choosing, but at the right xml indentation, you can
add a button with the following xml:

  item id=11
descriptionMy VDR Button/description
label $LOCALIZE[31905] /label
label2 $LOCALIZE[31906] /label2
visible!Skin.HasSetting(HideTVShows)/visible
onclickXBMC.Quit()/onclick
  /item 

The id of 11 must be unique in this list, my last one was 10, so I picked
11.  The significant bits are the 2 numbers 31905 and 31906, plus the
XBMC.Quit() which tells XBMC to close down when the menu item is clicked,
and due to the bash while loop, xine will start up.  Finally to get the
right text for your new menu button, you need to define values for 31905
and 31906 in .xbmc/skin/MediaStream/language/English/strings.xml. 
Something like this before /strings will do:

  string id=31905TV/string
  string id=31906Watch/string


As already mentioned you can achieve the same thing with less changes by
using irexec, I guess the only advantage of the technique above is that you
get a nice button in xbmc.  Apologies for putting all this xbmc specific
stuff in the vdr list, but its probably good to have the whole solution in
one message.  Its not exactly what you are after but it may give you some
clues.

--
Scott



On Wed, 10 Mar 2010 10:12:30 +1300, Simon Baxter linu...@nzbaxters.com
wrote:
 - Original Message - 
 From: scott sc...@waye.co.uk
 To: VDR Mailing List vdr@linuxtv.org
 Sent: Monday, March 08, 2010 9:45 PM
 Subject: Re: [vdr] XBMC with vdr-1.6.0 ??
 
 
 One way thats been suggested before, and which I use, is to put xbmc and
 vdr-xine in a while loop inside a bash shell script and set up a button
 to
 stop vdr-xine, and a menu option in xbmc to close it down.  If you
search
 this thread you should find some info, if not I can post my stuff.

 --
 Scott
 
 Thanks Scott.  Yes please, would like to see how you've implemeted it.
 
 I found a number of threads and have achieved the following:
 * added a script (vdr.py) under the My Scripts which calls the xine 
 frontend.  But this flags an error Errors in system config or similar, 
 launches xine but closes xbmc at the back end
 http://forum.xbmc.org/showthread.php?t=42205
 
 * added a phantom button on the main menu, which I'd hoped would launch 
 vdr-py (lower in the above thread).  But this just crashes xmbc
 
 What I want to achieve is a main menu button which

Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-09 Thread Simon Baxter


- Original Message - 
From: scott sc...@waye.co.uk

To: VDR Mailing List vdr@linuxtv.org
Sent: Monday, March 08, 2010 9:45 PM
Subject: Re: [vdr] XBMC with vdr-1.6.0 ??



One way thats been suggested before, and which I use, is to put xbmc and
vdr-xine in a while loop inside a bash shell script and set up a button to
stop vdr-xine, and a menu option in xbmc to close it down.  If you search
this thread you should find some info, if not I can post my stuff.

--
Scott


Thanks Scott.  Yes please, would like to see how you've implemeted it.

I found a number of threads and have achieved the following:
* added a script (vdr.py) under the My Scripts which calls the xine 
frontend.  But this flags an error Errors in system config or similar, 
launches xine but closes xbmc at the back end

http://forum.xbmc.org/showthread.php?t=42205

* added a phantom button on the main menu, which I'd hoped would launch 
vdr-py (lower in the above thread).  But this just crashes xmbc


What I want to achieve is a main menu button which launches an external bash 
script, to launch xine, which keeps xbmc running in the background.  I 
currently have mms running like this and it works really well.  I then use 
the power button to kill xine (and turn off lirc), and fall back to mms.



Thanks
Simon


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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-09 Thread Rob Davis
On 09/03/10 15:12, Simon Baxter wrote:
 
 - Original Message - From: scott sc...@waye.co.uk
 To: VDR Mailing List vdr@linuxtv.org
 Sent: Monday, March 08, 2010 9:45 PM
 Subject: Re: [vdr] XBMC with vdr-1.6.0 ??
 
 
 One way thats been suggested before, and which I use, is to put xbmc and
 vdr-xine in a while loop inside a bash shell script and set up a
 button to
 stop vdr-xine, and a menu option in xbmc to close it down.  If you search
 this thread you should find some info, if not I can post my stuff.

 -- 
 Scott
 
 Thanks Scott.  Yes please, would like to see how you've implemeted it.
 
 I found a number of threads and have achieved the following:
 * added a script (vdr.py) under the My Scripts which calls the xine
 frontend.  But this flags an error Errors in system config or similar,
 launches xine but closes xbmc at the back end
 http://forum.xbmc.org/showthread.php?t=42205
 
 * added a phantom button on the main menu, which I'd hoped would launch
 vdr-py (lower in the above thread).  But this just crashes xmbc
 
 What I want to achieve is a main menu button which launches an external
 bash script, to launch xine, which keeps xbmc running in the
 background.  I currently have mms running like this and it works really
 well.  I then use the power button to kill xine (and turn off lirc),
 and fall back to mms.
 
 
 Thanks
 Simon

This is the script I use.  I call irexec as a window manager.  I have
two buttons, LiveTV which cycles between vdr-sxfe and xbmc and Video
which cycles between vdr-sxfe and freevo.  I also have a browser
configured and huludesktop..



-- 

Rob Davis


irexec.tgz
Description: application/tar-gz
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-08 Thread scott
One way thats been suggested before, and which I use, is to put xbmc and
vdr-xine in a while loop inside a bash shell script and set up a button to
stop vdr-xine, and a menu option in xbmc to close it down.  If you search
this thread you should find some info, if not I can post my stuff.

--
Scott

On Mon, 8 Mar 2010 19:53:15 +1300, Simon Baxter linu...@nzbaxters.com
wrote:
 Hi
 
 Has anyone got XBMC working with vdr-1.6.0?
 
 I want to run XBMC, but am not ready to move to a .ts file format yet. 
So
 I 
 was thinking I'd just get XMBC to call a script and run vdr-xine (ie not 
 integrate with streamdev etc).  This should be easy yes?
 
 
 Any pointers or experience?
 
 Thanks
 Simon 
 
 
 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-08 Thread Rob Davis

scott wrote:

One way thats been suggested before, and which I use, is to put xbmc and
vdr-xine in a while loop inside a bash shell script and set up a button to
stop vdr-xine, and a menu option in xbmc to close it down.  If you search
this thread you should find some info, if not I can post my stuff.

--
Scott

On Mon, 8 Mar 2010 19:53:15 +1300, Simon Baxter linu...@nzbaxters.com
wrote:
  

Hi

Has anyone got XBMC working with vdr-1.6.0?

I want to run XBMC, but am not ready to move to a .ts file format yet. 


So
  
I 
was thinking I'd just get XMBC to call a script and run vdr-xine (ie not 
integrate with streamdev etc).  This should be easy yes?



Any pointers or experience?

Thanks
Simon 



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



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
  
The pvr-testing2 version of xbmc works with 1.6.0 (or did three weeks 
ago) as long as you have a recent streamdev patched..



However, using irexec would work to change from vdr-sxfe and xbmc too.

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


Re: [vdr] XBMC with vdr-1.6.0 ??

2010-03-08 Thread VDR User
On Mon, Mar 8, 2010 at 12:45 AM, scott sc...@waye.co.uk wrote:
 One way thats been suggested before, and which I use, is to put xbmc and
 vdr-xine in a while loop inside a bash shell script and set up a button to
 stop vdr-xine, and a menu option in xbmc to close it down.  If you search
 this thread you should find some info, if not I can post my stuff.

Why not just start them in screen?

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