diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-05-02 19:11:38 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-05-02 19:11:38 +0200 |
commit | 47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731 (patch) | |
tree | 912ec408b85195c6298a55276587535427ae83fd /mymenurecordings.h | |
parent | 3c04e4ce347dff915def3a79f348f2f46e60564d (diff) | |
download | vdr-plugin-extrecmenu-47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731.tar.gz vdr-plugin-extrecmenu-47a981960f1d0b6d0d8cbe3bdc15f2b9e8665731.tar.bz2 |
Version 0.10v0.10
- made changes to Makefile for APIVERSION (VDR >= 1.3.47)
- changed myReplayControl; suggested by Thomas Günther
- added display of free disk space to the title bar
- fixed adjustments for BigPatch/CmdSubMenu-patch; thanks to Thomas Günther for the patch
- renaming/moving directories is now possible
- fixed escaping of parameters for dvdarchive.sh
- changed behaviour if the replay of a recording ends, plugins will not open
- 'Play' and 'Menu'->'Blue' for resuming a replay work now; BUT: the replay isn't done with the plugin if you start replaying this way, means if you stop the replay you come to VDR's recordings menu
- switched off editing of details (priority and lifetime) or archive dvd recordings to avoid trouble with the dir name that identifies it on the media
- added option to mark last replayed recording while opening the plugin
- added possibilty to include video dvd's into the recordings hierarchy; see README
- introduced new parameters for the '-r'-option if VDR: move, rename and delete
Diffstat (limited to 'mymenurecordings.h')
-rw-r--r-- | mymenurecordings.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mymenurecordings.h b/mymenurecordings.h index 36e3f17..c7d8830 100644 --- a/mymenurecordings.h +++ b/mymenurecordings.h @@ -5,6 +5,7 @@ class myMenuRecordingsItem:public cOsdItem { private: bool isdvd; + bool isvideodvd; char dvdnr[BUFSIZ]; int level,isdirectory; int totalentries,newentries; @@ -20,6 +21,7 @@ class myMenuRecordingsItem:public cOsdItem bool IsDirectory(){return name!=NULL;} void IncrementCounter(bool IsNew); bool IsDVD(){return isdvd;} + bool IsVideoDVD(){return isvideodvd;} char *DvdNr(){return dvdnr;} const char *ID(){return id;} }; @@ -54,12 +56,15 @@ class myMenuRecordings:public cOsdMenu class myMenuRenameRecording:public cOsdMenu { private: + bool isdir; + char *dirbase,*dirname; char name[MaxFileName]; char path[MaxFileName]; cRecording *recording; myMenuRecordings *menurecordings; public: - myMenuRenameRecording(cRecording *Recording,myMenuRecordings *MenuRecordings); + myMenuRenameRecording(myMenuRecordings *MenuRecordings,cRecording *Recording,const char *DirBase,const char *DirName); + ~myMenuRenameRecording(); virtual eOSState ProcessKey(eKeys Key); }; @@ -69,6 +74,7 @@ class myMenuMoveRecording:public cOsdMenu private: int level; char *base; + char *dirbase,*dirname; cRecording *recording; myMenuRecordings *menurecordings; void Set(); @@ -76,12 +82,12 @@ class myMenuMoveRecording:public cOsdMenu eOSState MoveRec(); eOSState Create(); public: - myMenuMoveRecording(cRecording *Recording,myMenuRecordings *MenuRecordings,const char *Base=NULL,int Level=0); + myMenuMoveRecording(myMenuRecordings *MenuRecordings,cRecording *Recording,const char *DirBase,const char *DirName,const char *Base=NULL,int Level=0); myMenuMoveRecording::~myMenuMoveRecording(); virtual eOSState ProcessKey(eKeys Key); }; -// --- myMenuRenameRecording -------------------------------------------------- +// --- myMenuRecordingDetails ------------------------------------------------- class myMenuRecordingDetails:public cOsdMenu { private: |