[vdr] subtitles plugin: cannot record subtitles
Hello everybody I have a strange problem with the dvb subtitles plugin. On the BBC Prime channel BBC Prime;Globecast UK:6:vC34:S13.0E:27500:6001:6011:6041:500:14601:318:13000:0 the subtitles work fine during live tv, but I'm unable to see them while replaying recordings from that channel. If I try to demux it with projectx it looks like the subtitles are missing from the recording. Here are the relevant setting for the plugin from setup.conf subtitles.BackgroundTransparency = 0 subtitles.Delay = 0 subtitles.Dxr3comp = 0 subtitles.Enabled = 1 subtitles.ForegroundTransparency = 0 subtitles.HearingImpaired = 0 subtitles.Language = 0 subtitles.Language2 = 3 subtitles.Mainmenu = 0 subtitles.Offset = 0 subtitles.Record = 1 subtitles.Sync = 1 subtitles.VideoFormat = 0 I'm using vdr 1.5.6-1devel1 and subtitles 0.5.0-5 from e-tobi.net. Any ideas? Thanks in advance. Regards, Davide ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to set German OSD in VDR 1.5.8
Hello Anssi, * Anssi Hannula [EMAIL PROTECTED] [22-08-07 16:33]: Could you try what these commands print in VDR source directory: TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_DE gettext -s \ 'LanguageName$English' LanguageName$English TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de gettext -s \ 'LanguageName$English' LanguageName$English TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_XYZ gettext -s \ 'LanguageName$English' LanguageName$English Gettext is version 0.16.1 Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] translation context handling in vdr = 1.5.7
Hi, I just noticed a small change in the context handling of translations since vdr-1.5.7. Till now it was possible to have e.g. const char AllowedChars[] = trNOOP($ abcdefghijklmnopqrstuvwxyz0123456789-.,#~\\^$[]|()*+?{}/:%@); Note the 2 '$'. The first one only helps to have the second one in the translation and not to be interpreted as context. Previous implementations of I18nTranslate did only cut the context of the english version. So the translation could look like this in i18n.c or the po-files: // The allowed characters in strings: { $ abcdefghijklmnopqrstuvwxyz0123456789-.,#~\\^$[]|()*+?{}/:%@, aäbcdefghijklmnoöpqrsßtuüvwxyz0123456789-.,#~\\^$[]|()*+?{}/:%@, abcdefghijklmnopqrstuvwxyz0123456789-.,#~\\^$[]|()*+?{}/:%@, ... The current implementation cuts the translations too which results in []|()*+?{}/:%@ Is this intended? If so, one could add the dummy '$' also at the beginning of the translation, but has to handle this again for backwards compatibility. If it's not intended the following patch should give the previous behaviour: --- vdr-1.5.8/i18n.c2007-08-19 16:10:46.0 +0200 +++ vdr-1.5.8-patched/i18n.c2007-08-23 12:47:48.0 +0200 @@ -208,10 +208,10 @@ t = dgettext(Plugin, s); if (t == s) t = gettext(s); - s = t; + return t; } - const char *p = strchr(s, '$'); - return p ? p + 1 : s; + else +return SkipContext(s); } const char *I18nLocale(int Language) BR, Christian ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to set German OSD in VDR 1.5.8
Matthias Fechner wrote: Hello Anssi, * Anssi Hannula [EMAIL PROTECTED] [22-08-07 16:33]: Could you try what these commands print in VDR source directory: TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_DE gettext -s \ 'LanguageName$English' LanguageName$English TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de gettext -s \ 'LanguageName$English' LanguageName$English TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_XYZ gettext -s \ 'LanguageName$English' LanguageName$English Gettext is version 0.16.1 Same here, so that is not it. Does locale/de_DE/LC_MESSAGES/vdr.mo exist in VDR directory? What distro? Does the localization work in other programs, like ls --help and so on? -- Anssi Hannula ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to set German OSD in VDR 1.5.8
Hello Anssi, * Anssi Hannula [EMAIL PROTECTED] [23-08-07 14:56]: Does locale/de_DE/LC_MESSAGES/vdr.mo exist in VDR directory? yes it exists: 20 -rw-r--r-- 1 root root 18013 Aug 20 14:47 vdr.mo What distro? gentoo Does the localization work in other programs, like ls --help and so on? yes, LANG=de_DE ls --help gives german help and ls --help gives english help. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to identify timers
Bernd Juraschek wrote: Hello list, I want to do some kind of offline modifying vdr timers, but I don't know how to identify timers. If I use the timer id to change or delete VDR timers, then this will go wrong if VDR has deleted some timers since the remote site has retrieved the timer list. Using timer properties is not a solution because the user can change timers also locally using OSD. The simple answer: You can't. For my Master-Timer i insert the event_id into the last field of the timer. So Master-Timer finds a timer to be modified by going through the list of timers and looking for it's marker. Is there another way to distinguish timers (or channels, recordings, ...)? I think it would be useful to assign some UUID to VDR objects. This ID must not be changed while modifying the object. Channels are uniquely identified by the 'channel ID': see vdr.5 -- Real Programmers consider what you see is what you get to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a you asked for it, you got it text editor -- complicated, cryptic, powerful, unforgiving, dangerous. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to set German OSD in VDR 1.5.8
Hello Anssi, * Anssi Hannula [EMAIL PROTECTED] [23-08-07 16:14]: And when using LANGUAGE=de_DE instead of LANG=de_DE? that does not work, ls --help keeps english with LANGUAGE=de_DE only LANG=de_DE works. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] How to set German OSD in VDR 1.5.8
Hi Anssi, Anssi Hannula wrote: What is the output of locale? it says: LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= I checked the manpage of locale and it says that I can set the following variables: LANG LC_ALL LC_CTYPE LC_MESSAGES NLSPATH I checked then the homepage of gettext and it says: Then, users only have to set the LANG environment variable to the appropriate `ll_CC' combination prior to using the programs in the package. See Matrix. For example, let's presume a German site. At the shell prompt, users merely have to execute `setenv LANG de_DE' (in csh) or `export LANG; LANG=de_DE' (in sh). They could even do this from their .login or .profile file. see here: http://www.gnu.org/software/gettext/manual/gettext.html#End-Users I checked also the version of gettext and it seems that the current version of gettext is 0.16 which I have installed. Are you using an older version of gettext? Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [SOLVED] Re: How to set German OSD in VDR 1.5.8
On 08/23/07 17:46, Matthias Fechner wrote: Hi, i found the problem now. I must set a language with LANG= If i don't do that VDR has a problem, Klaus is that the behavior you want? I don't really want anything in particular here ;-) All I want is that the gettext() calls deliver the right texts. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [SOLVED] Re: How to set German OSD in VDR 1.5.8
Hi Klaus, Klaus Schmidinger wrote: I don't really want anything in particular here ;-) :) All I want is that the gettext() calls deliver the right texts. my it is some your your ToDo list. - Fix the problem that a user cannot select a language in VDR if no LANG is defined on the shell - or put a node in the INSTALL file that LANG must be defined in the shell before starting VDR Thx Klaus for that software, I cannot think to live without it. Best regards, Matthias -- Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning. -- Rich Cook ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [SOLVED] Re: How to set German OSD in VDR 1.5.8
Matthias Fechner wrote: Hi Klaus, Klaus Schmidinger wrote: I don't really want anything in particular here ;-) :) All I want is that the gettext() calls deliver the right texts. my it is some your your ToDo list. - Fix the problem that a user cannot select a language in VDR if no LANG is defined on the shell - or put a node in the INSTALL file that LANG must be defined in the shell before starting VDR AFAICS that is only needed if the user locale settings are set to C, POSIX or invalid values. This behaviour was added to glibc in 2001, likely to fix something else. http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/intl/dcigettext.c.diff?r1=1.22r2=1.23cvsroot=glibcf=h I've contacted the committer about our issue. If I get no reply, I'll raise it in libc-alpha ml. -- Anssi Hannula ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr