summaryrefslogtreecommitdiff
path: root/mymenusetup.c
diff options
context:
space:
mode:
authorMartin Prochnow <nordlicht@martins-kabuff.de>2007-02-04 23:31:11 +0100
committerAndreas Mair <andreas@vdr-developer.org>2007-02-04 23:31:11 +0100
commit8adfaaf81b104b8e981026da593e40f9d780c251 (patch)
tree0a72c71d85e1d5bbac8729cefa9e41ec9e58758b /mymenusetup.c
parent074a396ce9f5c5239dd790c6566e0f19dff45f59 (diff)
downloadvdr-plugin-extrecmenu-8adfaaf81b104b8e981026da593e40f9d780c251.tar.gz
vdr-plugin-extrecmenu-8adfaaf81b104b8e981026da593e40f9d780c251.tar.bz2
Version 0.13v0.13
- added two setup option to adjust the plugin behaviour to whose of VDR's recording menu (jumping to last replayed recording, call plugin after replay ends) - only editing of cutting recordings is prevented now - moving recordings between filesystems is now possible; includes: * check for enough free disk space on target filesystem * switch to limit bandwith (a.t.m. 2MBytes/sec) * prevent editing of recordings that are moved * marker for recordings, that are moved - added marker for cutting and moving recording entries - added marker to title bar for cutting and moving recordings - recording info menu shows additional informations (name, path, channel, size, lifetime, priority) - added setup option to select between plugin's and VDR's recording info menu - dvd.vdr is ignored, as long as a 001.vdr is present - fixed following issue (again): if there are more then one recording with the same name, only one of it is shown if all recording details are hidden
Diffstat (limited to 'mymenusetup.c')
-rw-r--r--mymenusetup.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/mymenusetup.c b/mymenusetup.c
index f6cf128..40442e8 100644
--- a/mymenusetup.c
+++ b/mymenusetup.c
@@ -15,6 +15,10 @@ mySetup::mySetup()
mysetup.ShowRecLength=0;
mysetup.ShowNewRecs=1;
mysetup.DescendSorting=0;
+ mysetup.GoLastReplayed=0;
+ mysetup.ReturnToPlugin=1;
+ mysetup.LimitBandwidth=0;
+ mysetup.UseVDRsRecInfoMenu=0;
}
mySetup mysetup;
@@ -29,6 +33,10 @@ myMenuSetup::myMenuSetup()
showreclength=mysetup.ShowRecLength;
shownewrecs=mysetup.ShowNewRecs;
descendsorting=mysetup.DescendSorting;
+ golastreplayed=mysetup.GoLastReplayed;
+ returntoplugin=mysetup.ReturnToPlugin;
+ limitbandwidth=mysetup.LimitBandwidth;
+ usevdrsrecinfomenu=mysetup.UseVDRsRecInfoMenu;
sortingtypetexts[0]=tr("ascending");
sortingtypetexts[1]=tr("descending");
@@ -41,6 +49,10 @@ myMenuSetup::myMenuSetup()
Add(new cMenuEditBoolItem(tr("Show recording length"),&showreclength));
Add(new cMenuEditBoolItem(tr("Show nr. of new recordings in a directory"),&shownewrecs));
Add(new cMenuEditBoolItem(tr("Show alternative to new marker"),&patchnew));
+ Add(new cMenuEditBoolItem(tr("Jump to last replayed recording"),&golastreplayed));
+ Add(new cMenuEditBoolItem(tr("Call plugin after playback"),&returntoplugin));
+ Add(new cMenuEditBoolItem(tr("Limit bandwidth for move recordings"),&limitbandwidth));
+ Add(new cMenuEditBoolItem(tr("Use VDR's recording info menu"),&usevdrsrecinfomenu));
}
void myMenuSetup::Store()
@@ -53,4 +65,8 @@ void myMenuSetup::Store()
SetupStore("ShowRecLength",mysetup.ShowRecLength=showreclength);
SetupStore("ShowNewRecs",mysetup.ShowNewRecs=shownewrecs);
SetupStore("DescendSorting",mysetup.DescendSorting=descendsorting);
+ SetupStore("GoLastReplayed",mysetup.GoLastReplayed=golastreplayed);
+ SetupStore("ReturnToPlugin",mysetup.ReturnToPlugin=returntoplugin);
+ SetupStore("LimitBandwidth",mysetup.LimitBandwidth=limitbandwidth);
+ SetupStore("UseVDRsRecInfoMenu",mysetup.UseVDRsRecInfoMenu=usevdrsrecinfomenu);
}