vdr-1.3.21: keep language name on audio menu in transfer mode
Commit Message
The attached patch is a quick hack to keep the language names in the
audio menu in transfer mode. I had to add a boolean in cPlayer because I
don't think it's possible to do class introspection in C++ (in Object
Pascal I'd just do an "if not Player is cTransferControl then
ClrAvailableTracks").
Bye
Comments
On Sonntag 13 Februar 2005 18:28, Luca Olivetti wrote:
> if not Player is cTransferControl
if (!dynamic_cast<cTransferControl>(Player))
should do the same
hi, um... i tend to subscribe to mailing lists and then set
them to not send me messages.
that appears to have changed about... yesterday evening - without
my permission.
i _would_ go back to the site and reset it myself - except
www.linuxtv.org is down.
_again_.
could someone advise of a means by which my settings (to not receive
any posts to the list but to remain subscribed) may be restored?
thanks,
l.
Luke Kenneth Casson Leighton wrote:
> hi, um... i tend to subscribe to mailing lists and then set
> them to not send me messages.
>
> that appears to have changed about... yesterday evening - without
> my permission.
>
> i _would_ go back to the site and reset it myself - except
> www.linuxtv.org is down.
>
> _again_.
>
> could someone advise of a means by which my settings (to not receive
> any posts to the list but to remain subscribed) may be restored?
linuxtv.org dns entries were changed, it might take some time before it
works with all ISPs. Here it works already.
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
lkcl@lkcl.net(Luke Kenneth Casson Leighton) 13.02.05 18:09
>hi, um... i tend to subscribe to mailing lists and then set
>them to not send me messages.
Maybe someone wanted to clean up his mailing list list? ;-)
>that appears to have changed about... yesterday evening - without
>my permission.
ACK.
>i _would_ go back to the site and reset it myself - except
>www.linuxtv.org is down.
>_again_.
>could someone advise of a means by which my settings (to not receive
>any posts to the list but to remain subscribed) may be restored?
Sending emails to "vdr-request" with the subjects
set delivery off
set hide on
should do it.
To get your current settings by sending
set show
to get more help sent
set help
in the subject.
But NOT(!) sent to the list use "vdr-request" at linuxtv.org
anssi.hannula@gmail.com(Anssi Hannula) 13.02.05 20:13
>Luke Kenneth Casson Leighton wrote:
>> hi, um... i tend to subscribe to mailing lists and then set
>> them to not send me messages.
>>
>> that appears to have changed about... yesterday evening - without
>> my permission.
>>
>linuxtv.org dns entries were changed, it might take some time before
>it works with all ISPs. Here it works already.
The problem seems to be that they forgot to migrate
the user settings to the new server!
Now we get all those nice "out of office" notices
of "post only" accounts, burning up those addresses for spammers.
Too all "hide" values are set to "hide off".
Not amused.
>http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
That should have done the list owner -before- migrating,
if it was not possible to migrate the settings.
Today its common to block every email from unknown IP.
Without per-information the user suddenly finds all list
in his spam folder, is he did not reject all mails because of
the unknown IP...
Rainer
UseNet-Posting-Nospam-74308-@zocki.toppoint.de(Rainer Zocholl) 13.02.05 19:30
>lkcl@lkcl.net(Luke Kenneth Casson Leighton) 13.02.05 18:09
>>hi, um... i tend to subscribe to mailing lists and then set
>>them to not send me messages.
>Maybe someone wanted to clean up his mailing list list? ;-)
>>that appears to have changed about... yesterday evening - without
>>my permission.
>ACK.
>>i _would_ go back to the site and reset it myself - except
>>www.linuxtv.org is down.
>>_again_.
>>could someone advise of a means by which my settings (to not receive
>>any posts to the list but to remain subscribed) may be restored?
>Sending emails to "vdr-request" with the subjects
>set delivery off
>set hide on
>should do it.
>To get your current settings by sending
>set show
>to get more help sent
>set help
>in the subject.
>But NOT(!) sent to the list use "vdr-request" at linuxtv.org
Sorry that does not work!
You MUST go to the Webpage!
http://www.linuxtv.org/cgi-bin/mailman/options/vdr
If you have no web access, you will have to
pay for every notification SMS until you find a PC
where you can read your mails and access the mail...
I got all my commands back with a 4KB "Help" text...
and the line
- Results:
Not authenticated
NO hint in the body which command to which list failed...
NO hint how i should have authenticate (i'm using the right address)
Rainer Zocholl wrote:
> Now we get all those nice "out of office" notices
Considering the company they come from (never saw something from them
that worked as advertised) and the mail server they use (from a
similarly clueless but less powerful company), that fact doesn't
surprise me.
Bye
luca@ventoso.org(Luca Olivetti) 13.02.05 21:19
Once upon a time "Luca Olivetti " shaped the electrons to say...
>Rainer Zocholl wrote:
>> Now we get all those nice "out of office" notices
>Considering the company they come from (never saw something from them
>that worked as advertised) and the mail server they use (from a
>similarly clueless but less powerful company), that fact doesn't
>surprise me.
But they have learned:
Sometime ago those "Outofoffice" mails a list happend for
every mail of a "new" poster when not for every mailing.
Currently i get bounces^W NDR from "ralf@beensen.de"
for every email to the list...
Rainer
@@ -818,7 +818,7 @@
if (CanReplay()) {
if (player)
Detach(player);
- ClrAvailableTracks();
+ if (!Player->transferMode) ClrAvailableTracks();
pesAssembler->Reset();
player = Player;
SetPlayMode(player->playMode);
@@ -16,6 +16,7 @@
{
device = NULL;
playMode = PlayMode;
+ transferMode = false;
}
cPlayer::~cPlayer()
@@ -18,6 +18,7 @@
private:
cDevice *device;
ePlayMode playMode;
+ bool transferMode;
protected:
void DeviceClrAvailableTracks(bool DescriptionsOnly = false) { if (device) device->ClrAvailableTracks(DescriptionsOnly); }
bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL) { return device ? device->SetAvailableTrack(Type, Index, Id, Language, Description) : false; }
@@ -43,6 +44,7 @@
cPlayer(ePlayMode PlayMode = pmAudioVideo);
virtual ~cPlayer();
bool IsAttached(void) { return device != NULL; }
+ void SetTransferMode(void) { transferMode = true; }
virtual bool GetIndex(int &Current, int &Total, bool SnapToIFrame = false) { return false; }
// Returns the current and total frame index, optionally snapped to the
// nearest I-frame.
@@ -22,6 +22,7 @@
remux = new cRemux(VPid, APids, Setup.UseDolbyDigital ? DPids : NULL, SPids);
needsBufferReserve = Setup.UseDolbyDigital && VPid != 0 && DPids && DPids[0] != 0;
active = false;
+ SetTransferMode();
}
cTransfer::~cTransfer()