Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] MP3 Plugin



Hi Stefan Huelswitt,all,

I have a few suggestions & questions about
the MP3 Plugin. In the file menu-mplayer.c

in
void cMPlayerControl::ShowProgress(void)
{
  int Current, Total;
  if(GetIndex(Current,Total) && Total>0) {

GetIndex of Current & Total always returns -1 for me,
so I never see an OSD ;o)) It doesn't make a difference
if I try to replay VDR (which have an index file), AVI
or MPG files. Could you provide a fix for this one?

In
eOSState cMPlayerControl::ProcessKey(eKeys Key)
{
    switch (Key) {

      case kFastRew:
      case kFastRew|k_Repeat:
      case kLeft|k_Release:
      case kLeft:    player->SkipSeconds(-10); break;
      case kGreen|k_Repeat:
      case kGreen:   player->SkipSeconds(-60); break;

      case kFastFwd:
      case kFastFwd|k_Repeat:
      case kRight|k_Release:
      case kRight:   player->SkipSeconds(10); break;
      case kYellow|k_Repeat:
      case kYellow:  player->SkipSeconds(60); break;

      case kStop:
      case kBlue:
      case kBack:   { Hide(); Stop(); return osEnd;}

I added kGreen & kYellow to act like it does in VDR replay
(i.e skip 60 forwards or backwards) since your reserved
functions aren't implemented yet ;o))

In the above at:

      case kRight|k_Release:
      case kRight:   player->SkipSeconds(10); break;

Is this a bug ;o) or a feature? The above ALWAYS skips 20
seconds (unless I never release the key) total instead of 10
(as you claim in the manual ;o)). Same goes for kLeft.

Greetz,
Reinhard


---
Mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10.01.2003



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index