Re: [vdr] some keys not passed to plugin

2013-03-05 Thread Petri Hintukainen
On ke, 2013-03-06 at 00:09 +0100, Klaus Schmidinger wrote:
> On 05.03.2013 23:59, Peter Münster wrote:
> > Hi,
> >
> > Some keys do not work with the mplayer plugin:
> > kAudio, kSubtitles, kInfo and perhaps more.
> >
> > How could I use these keys please in the cMPlayerControl::ProcessKey()
> > function?
> 
> These keys are handled in VDR's main loop and are not conveyed to
> any plugin.
> 
> If you want to use the track controls, you can make your player
> call cDevice::PrimaryDevice()->ClrAvailableTracks() and
> cDevice::PrimaryDevice()->SetAvailableTrack() accordingly.

Not so easy... If player feeds mpeg-ts stream to the device, track maps
are rewritten by cPatPmtParser. Also selected track is reset.

This is problematic with BluRay player: languages are not given in PMT
but metadata. There can be extra tracks in PMT when the same mpeg-ts
clip is used in multiple titles. One title can use original audio tracks
while another uses commentary tracks etc.
Also user-selected language (from BluRay menus) is overridden by VDR
when first PMT is parsed.


- Petri


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


Re: [vdr] read-only video directory

2013-03-05 Thread VDR User
On Tue, Mar 5, 2013 at 4:23 PM, Peter Münster  wrote:
>> A workaround is to use the mplayer plugin
>
> I prefer the VDR interface. Finally it's very easy:
>
> I've just deleted the lines
>
> --8<---cut here---start->8---
>   if (!DirectoryOk(VideoDirectory, true)) {
>  fprintf(stderr, "vdr: can't access video directory %s\n", 
> VideoDirectory);
>  return 2;
>  }
> --8<---cut here---end--->8---
>
> in vdr.c and now it works as expected...  :)

With no bad side effects?

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


Re: [vdr] read-only video directory

2013-03-05 Thread Peter Münster
On Tue, Mar 05 2013, VDR User wrote:

> A workaround is to use the mplayer plugin

I prefer the VDR interface. Finally it's very easy:

I've just deleted the lines

--8<---cut here---start->8---
  if (!DirectoryOk(VideoDirectory, true)) {
 fprintf(stderr, "vdr: can't access video directory %s\n", VideoDirectory);
 return 2;
 }
--8<---cut here---end--->8---

in vdr.c and now it works as expected...  :)

-- 
   Peter


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


Re: [vdr] some keys not passed to plugin

2013-03-05 Thread Klaus Schmidinger

On 05.03.2013 23:59, Peter Münster wrote:

Hi,

Some keys do not work with the mplayer plugin:
kAudio, kSubtitles, kInfo and perhaps more.

How could I use these keys please in the cMPlayerControl::ProcessKey()
function?


These keys are handled in VDR's main loop and are not conveyed to
any plugin.

If you want to use the track controls, you can make your player
call cDevice::PrimaryDevice()->ClrAvailableTracks() and
cDevice::PrimaryDevice()->SetAvailableTrack() accordingly.
As for kInfo, you can implement your player control's GetInfo()
function to make it return a proper menu.

Klaus

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


[vdr] some keys not passed to plugin

2013-03-05 Thread Peter Münster
Hi,

Some keys do not work with the mplayer plugin:
kAudio, kSubtitles, kInfo and perhaps more.

How could I use these keys please in the cMPlayerControl::ProcessKey()
function?

TIA for any help,
-- 
   Peter


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


[vdr] EEPG plugin, summaries in Polish?

2013-03-05 Thread Teemu Suikki
Hi,

I'm using: vdr-plugin-eepg-0.0.5.git20121123

It works very well. However I'm wondering, why do some Sky UK channels have
summaries in polish? :) Where do they come from?

For example, FTA channel CBS Action, clip from my EPG,

C S28.2E-2-2311-52007 CBS Action
E 772 136251 3600 30 FF
T Walker, Texas Ranger
S ROZRYWKA INNE - 60'
D Chuck Norris fights crime and helps the community as the eponymous
Walker. Garrett Stone, who Walker helps put away years prior, is paroled
and resumes his life of crime. S6 Ep3/23|Category: ROZRYWKA INNE
G 60
X 2 01 eng
X 1 01 und 4:3
e

Is this related to the snippet from eepg-plugin README:
"-On Sky Italy and Sky UK, a lot of "summaries not found" are reported.
This is
 because it is not (yet) known where the "summary available" flag is coded
in the
 OpenTV protocol used, so all titles are assumed to have a summary
available."

Perhaps in that case, some random summary is used from some previous scan?


-- 
Teemu Suikki
http://www.z-power.fi/
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] missing library in Makefile?

2013-03-05 Thread Alexander Aring
Hi,

On Tue, Mar 05, 2013 at 11:53:17AM +0100, Alexander Aring wrote:
> Hi,
> 
> I got a linker error for libiconv functions in vdr-1.7.39.
> 
> This is used by libsi/si.c and tools.c.
> 
> I fixed this with adding "-liconv" in LIBS compiler flags.
> 
> I don't know if there is a standard behavior in some systems which
> adding this library per default.
> 
> I only want to give a hint to this issue.
> 
> If this is true, we need to add libiconv in INSTALL file.
> 

I solved it. Need to enable it in glibc which has iconv support.
Otherwise I need to install a separate libiconv.

Sorry about that. :-)

Regards
Alex

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


Re: [vdr] read-only video directory

2013-03-05 Thread VDR User
On Tue, Mar 5, 2013 at 1:35 AM, Peter Münster  wrote:
> How is it possible, to mount the video directory in read-only mode?
>
> I want to use a slave vdr like this:
>
> vdr -Pstreamdev-client -Pxineliboutput -v/net/media/data/video
>
> But it does not work, because /net/media/data is mounted read-only.
>
> The slave vdr should not write anything, just read the recordings.

IIRC it's not possible, IIRC... A workaround is to use the mplayer
plugin and add your recordings dir to the sources list. Then make the
recordings dir /tmp or something. Maybe you could even use /dev/null,
I dunno.

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


[vdr] [MIGRATION] cle4vdr 0.5.2

2013-03-05 Thread Alexander Hans

Hi,

cle4vdr (a channel list editor for VDR) found a new home at 
vdr-developer.org. Thanks to Siegmar and Tobias.


A slightly updated version can be found at

  http://cle4vdr.vdr-developer.org

Have fun

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


[vdr] missing library in Makefile?

2013-03-05 Thread Alexander Aring
Hi,

I got a linker error for libiconv functions in vdr-1.7.39.

This is used by libsi/si.c and tools.c.

I fixed this with adding "-liconv" in LIBS compiler flags.

I don't know if there is a standard behavior in some systems which
adding this library per default.

I only want to give a hint to this issue.

If this is true, we need to add libiconv in INSTALL file.

Regards
Alex

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


Re: [vdr] plugin for DVD images

2013-03-05 Thread Peter Münster
On Tue, Feb 26 2013, Peter Münster wrote:

> On Tue, Feb 26 2013, Füley István wrote:
>
>> I'm using latest xineliboutput in client-server environment, and it works 
>> fine
>> for me.
>
> Perhaps I have the wrong DVDs... :(
> I've compiled latest xineliboutput from CVS, and then:
> - media player
> - play file
> - /data/DVDs/ice-age-2
> - red button for "DVD title menu"
> - select "Play" in DVD menu
> - freeze
> - watchdog restart...

Found the reason: all my DVDs were unpacked. xineliboutput does not seem
to like it. Now I've made ISO-images and no more crash!

-- 
   Peter


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


[vdr] read-only video directory

2013-03-05 Thread Peter Münster
Hi,

How is it possible, to mount the video directory in read-only mode?

I want to use a slave vdr like this:

vdr -Pstreamdev-client -Pxineliboutput -v/net/media/data/video

But it does not work, because /net/media/data is mounted read-only.

The slave vdr should not write anything, just read the recordings.

TIA for any hints,
-- 
   Peter


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


Re: [vdr] Call for translations for VDR version 2.0.0: one more string needed

2013-03-05 Thread Marx

On 04.03.2013 15:30, Klaus Schmidinger wrote:

While implementing an option to turn on/off sorting folders first in the
Recordings
menu, one more string was necessary and needs to be translated:

"Always sort folders first"

Polish translation:
Sortuj najpierw katalogi

Marx


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