Permalink
Browse files

Version 1.7.13

- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Changed the position of Sirius 4 to S4.8E in sources.conf (thanks to Alexander Gross).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Moved the declaration of cMenuCommands to menu.h, so that plugins can use it.
- Added a note to the MANUAL, saying that adding new transponders only works if the
  "EPG scan" is active (suggested by Halim Sahim).
- Improved handling frames at the beginning and end of a recording in cDvbPlayer for
  devices with large buffers (thanks to Reinhard Nissl).
- Implemented cDeviceHook to allow plugins more control over which device can
  provide which transponder (thanks to Reinhard Nissl).
- Implemented cDevice::GetCurrentlyTunedTransponder() (thanks to Reinhard Nissl).
- Moved strictly necessary Makefile options into Make.global, which is included
  by all plugins (thanks to Paul Menzel). The Makefiles of existing plugins should be
  modified like this:

  ------------------------------------------------------------
  --- PLUGINS/src/hello/Makefile  2009/10/18 14:00:07      2.1
  +++ PLUGINS/src/hello/Makefile  2010/02/06 14:50:03      2.2
  @@ -18,7 +18,7 @@
   ### The C++ compiler and options:

   CXX      ?= g++
  -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
  +CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses

   ### The directory environment:

  @@ -26,6 +26,10 @@
   LIBDIR = ../../lib
   TMPDIR = /tmp

  +### Make sure that necessary options are included:
  +
  +include $(VDRDIR)/Make.global
  +
   ### Allow user defined options to overwrite defaults:

   -include $(VDRDIR)/Make.config
  ------------------------------------------------------------
- Added device definitions to the diseqc.conf file format, so that certain satellite
  positions can be limited to a given list of devices.
  This obsoletes the SOURCECAPS patch.
- Keeping subtitles visible when pausing replay (thanks to Rolf Ahrenberg).
- Fixed adding new transponders in case there is only a single channel in the
  channel list (reported by Halim Sahin).
- The file name in the "Timers" menu now shows only the base name of the recording
  without the folder path (if any). Otherwise with long folder paths the actual
  recording name was not visible at all.
- Updated the Romanian OSD texts (thanks to Lucian Muresan).
- Exported some libsi functions (thanks to Lucian Muresan).
- Improved scalability of the default skins.
- Fixed the German translation of "Folder name must not contain '%c'!" (thanks to
  Frank Schmirler).
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Plugins can now define new sources. In order to implement this, the following
  changes were made:
  + The transponder parameter string is no longer interpreted by cChannel, but rather
    stored as is and used only by the respective device. That way plugins can use a
    channel's parameter string to store arbitrary data (see vdr.5).
  + The new class cSourceParam can be used by plugins to define new sources, and to
    implement OSD items that will be used in the channel editor for editing the source
    specific parameters of a channel (see dvbdevice.c for an example of how this is
    done for the default DVB devices).
  + Purely numerical values are no longer accepted in the 'source' parameter of a
    channel.
  This obsoletes the PLUGINPARAM patch.
- Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras).
- cSafeFile::Close() now flushes the file (suggested by Stephan Austermühle).
- The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital
  tracks appear in the "Audio" menu. Dolby Digital is always recorded.
  This obsoletes the DOLBYINREC patch.
  • Loading branch information...
Klaus Schmidinger Klaus Schmidinger
Klaus Schmidinger authored and Klaus Schmidinger committed Feb 28, 2010
1 parent 09a17d5 commit 5ce592e54a4aa741444afae8eb80dff47bc355fd
Showing with 2,527 additions and 1,986 deletions.
  1. +15 −0 CONTRIBUTORS
  2. +75 −0 HISTORY
  3. +5 −5 MANUAL
  4. +1 −2 Make.config.template
  5. +17 −0 Make.global
  6. +3 −4 Makefile
  7. +40 −0 PLUGINS.html
  8. +6 −4 PLUGINS/src/dvbsddevice/Makefile
  9. +4 −0 PLUGINS/src/hello/HISTORY
  10. +6 −2 PLUGINS/src/hello/Makefile
  11. +2 −2 PLUGINS/src/hello/hello.c
  12. +34 −0 PLUGINS/src/hello/po/lt_LT.po
  13. +6 −2 PLUGINS/src/osddemo/Makefile
  14. +4 −0 PLUGINS/src/pictures/HISTORY
  15. +6 −2 PLUGINS/src/pictures/Makefile
  16. +2 −2 PLUGINS/src/pictures/pictures.c
  17. +32 −0 PLUGINS/src/pictures/po/lt_LT.po
  18. +6 −2 PLUGINS/src/servicedemo/Makefile
  19. +4 −0 PLUGINS/src/skincurses/HISTORY
  20. +6 −2 PLUGINS/src/skincurses/Makefile
  21. +28 −0 PLUGINS/src/skincurses/po/lt_LT.po
  22. +2 −2 PLUGINS/src/skincurses/skincurses.c
  23. +6 −2 PLUGINS/src/status/Makefile
  24. +6 −2 PLUGINS/src/svdrpdemo/Makefile
  25. +26 −290 channels.c
  26. +5 −49 channels.h
  27. +5 −5 config.h
  28. +34 −1 device.c
  29. +21 −1 device.h
  30. +29 −2 diseqc.c
  31. +4 −0 diseqc.conf
  32. +4 −2 diseqc.h
  33. +313 −40 dvbdevice.c
  34. +67 −1 dvbdevice.h
  35. +10 −3 dvbplayer.c
  36. +39 −35 dvbsubtitle.c
  37. +3 −1 dvbsubtitle.h
  38. +2 −2 eitscan.c
  39. +1 −3 epg.c
  40. +8 −7 libsi/si.c
  41. +8 −1 libsi/si.h
  42. +23 −33 menu.c
  43. +17 −1 menu.h
  44. +2 −2 menuitems.c
  45. +4 −3 menuitems.h
  46. +6 −4 newplugin
  47. +30 −26 nit.c
  48. +43 −43 po/ca_ES.po
  49. +43 −43 po/cs_CZ.po
  50. +43 −43 po/da_DK.po
  51. +44 −44 po/de_DE.po
  52. +43 −43 po/el_GR.po
  53. +43 −43 po/es_ES.po
  54. +57 −57 po/et_EE.po
  55. +57 −57 po/fi_FI.po
  56. +43 −43 po/fr_FR.po
  57. +43 −43 po/hr_HR.po
  58. +43 −43 po/hu_HU.po
  59. +55 −55 po/it_IT.po
  60. +140 −140 po/lt_LT.po
  61. +43 −43 po/nl_NL.po
  62. +42 −42 po/nn_NO.po
  63. +43 −43 po/pl_PL.po
  64. +43 −43 po/pt_PT.po
  65. +147 −147 po/ro_RO.po
  66. +43 −43 po/ru_RU.po
  67. +43 −43 po/sk_SK.po
  68. +43 −43 po/sl_SI.po
  69. +43 −43 po/sv_SE.po
  70. +43 −43 po/tr_TR.po
  71. +43 −43 po/uk_UA.po
  72. +43 −43 po/zh_CN.po
  73. +2 −2 receiver.c
  74. +2 −2 remux.c
  75. +1 −1 runvdr.template
  76. +14 −12 skinclassic.c
  77. +41 −39 skinsttng.c
  78. +43 −0 sourceparams.c
  79. +53 −0 sourceparams.h
  80. +45 −48 sources.c
  81. +3 −3 sources.conf
  82. +8 −8 sources.h
  83. +3 −1 tools.c
  84. +16 −6 vdr.5
  85. +3 −1 vdr.c
View
@@ -1091,6 +1091,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for a patch that was used to implement handling the "component descriptor" ("genre")
for a patch that was used to implement handling the "parental rating descriptor"
suggesting to add plain text error messages to log entries from cOsd::SetAreas()
for keeping subtitles visible when pausing replay
Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark
@@ -1244,6 +1245,10 @@ Reinhard Nissl <rnissl@gmx.de>
for reporting a bug in storing the current OSD size in case the
device has changed it in its setup menu
for increasing the value of MAXFRAMESIZE to better suit HD recordings
for improving handling frames at the beginning and end of a recording in cDvbPlayer
for devices with large buffers
for implementing cDeviceHook
for implementing cDevice::GetCurrentlyTunedTransponder()
Richard Robson <richard_robson@beeb.net>
for reporting freezing replay if a timer starts while in Transfer Mode from the
@@ -1678,6 +1683,7 @@ Lucian Muresan <lucianm@users.sourceforge.net>
for suggesting to make the function ExchangeChars()
for reporting duplicate texts in i18n.c
for suggesting to use 'gettext' for internationalization
for exporting some libsi functions
Mattias Gr�nlund <Mattias@Gronlund.net>
for pointing out a missing cleanup at program exit in case there is a problem
@@ -2292,6 +2298,7 @@ Frank Schmirler <vdr@schmirler.de>
for suggesting to use an "instance id" instead of the "resume id" to distinguish
recordings of the same broadcast made by different instances of VDR
for fixing EntriesOnSameFileSystem() to avoid using f_fsid, which may be 0
for fixing the German translation of "Folder name must not contain '%c'!"
J�rn Reder <joern@zyn.de>
for reporting that a recording may unnecessarily block a device with a CAM, while
@@ -2377,6 +2384,10 @@ Matthias Becker <becker.matthias@gmail.com>
Halim Sahin <halim.sahin@t-online.de>
for reporting that the channels.conf file was not written when stopping VDR after
deleting or moving a channel in the Channels menu
for suggesting to add a note to the MANUAL, saying that adding new transponders only
works if the "EPG scan" is active
for reporting a problem with adding new transponders in case there is only a single
channel in the channel list
Denis Knauf <denis.knauf@gmail.com>
for reporting a missing '-' at the next to last line of SVDRP help texts
@@ -2459,6 +2470,7 @@ Magnus Andersson <svankan@bahnhof.se>
Alexander Gross <Bikalexander@gmail.com>
for adding Russian translations to the 'skincurses' and 'pictures' plugins
for changing the position of Sirius 4 to S4.8E in sources.conf
Adrian Caval <anrxc@sysphere.org>
for translating OSD texts to the Croatian language
@@ -2553,3 +2565,6 @@ Francesco Saverio Schiavarelli <fschiava@libero.it>
Matti Lehtim�ki <matti.lehtimaki@gmail.com>
for implementing the setup option "Miscellaneous/Channels wrap"
Stephan Austerm�hle <au@hcsd.de>
for suggesting to flush the file in cSafeFile::Close()
View
75 HISTORY
@@ -6308,3 +6308,78 @@ Video Disk Recorder Revision History
When replaying such a recording, the PCR packets are sent to PlayTsVideo()
- The files "commands.conf" and "reccmd.conf" can now contain nested lists of
commands. See vdr.5 for information about the new file format.
This obsoletes the CMDSUBMENU patch.
2010-02-28: Version 1.7.13
- Updated the Italian OSD texts (thanks to Diego Pierotto).
- Changed the position of Sirius 4 to S4.8E in sources.conf (thanks to Alexander Gross).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Moved the declaration of cMenuCommands to menu.h, so that plugins can use it.
- Added a note to the MANUAL, saying that adding new transponders only works if the
"EPG scan" is active (suggested by Halim Sahim).
- Improved handling frames at the beginning and end of a recording in cDvbPlayer for
devices with large buffers (thanks to Reinhard Nissl).
- Implemented cDeviceHook to allow plugins more control over which device can
provide which transponder (thanks to Reinhard Nissl).
- Implemented cDevice::GetCurrentlyTunedTransponder() (thanks to Reinhard Nissl).
- Moved strictly necessary Makefile options into Make.global, which is included
by all plugins (thanks to Paul Menzel). The Makefiles of existing plugins should be
modified like this:
------------------------------------------------------------
--- PLUGINS/src/hello/Makefile 2009/10/18 14:00:07 2.1
+++ PLUGINS/src/hello/Makefile 2010/02/06 14:50:03 2.2
@@ -18,7 +18,7 @@
### The C++ compiler and options:
CXX ?= g++
-CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
+CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
### The directory environment:
@@ -26,6 +26,10 @@
LIBDIR = ../../lib
TMPDIR = /tmp
+### Make sure that necessary options are included:
+
+include $(VDRDIR)/Make.global
+
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
------------------------------------------------------------
- Added device definitions to the diseqc.conf file format, so that certain satellite
positions can be limited to a given list of devices.
This obsoletes the SOURCECAPS patch.
- Keeping subtitles visible when pausing replay (thanks to Rolf Ahrenberg).
- Fixed adding new transponders in case there is only a single channel in the
channel list (reported by Halim Sahin).
- The file name in the "Timers" menu now shows only the base name of the recording
without the folder path (if any). Otherwise with long folder paths the actual
recording name was not visible at all.
- Updated the Romanian OSD texts (thanks to Lucian Muresan).
- Exported some libsi functions (thanks to Lucian Muresan).
- Improved scalability of the default skins.
- Fixed the German translation of "Folder name must not contain '%c'!" (thanks to
Frank Schmirler).
- Updated the Estonian OSD texts (thanks to Arthur Konovalov).
- Plugins can now define new sources. In order to implement this, the following
changes were made:
+ The transponder parameter string is no longer interpreted by cChannel, but rather
stored as is and used only by the respective device. That way plugins can use a
channel's parameter string to store arbitrary data (see vdr.5).
+ The new class cSourceParam can be used by plugins to define new sources, and to
implement OSD items that will be used in the channel editor for editing the source
specific parameters of a channel (see dvbdevice.c for an example of how this is
done for the default DVB devices).
+ Purely numerical values are no longer accepted in the 'source' parameter of a
channel.
This obsoletes the PLUGINPARAM patch.
- Updated the Lithuanian OSD texts (thanks to Valdemaras Pipiras).
- cSafeFile::Close() now flushes the file (suggested by Stephan Austerm�hle).
- The option "Setup/DVB/Use Dolby Digital" now only controls whether Dolby Digital
tracks appear in the "Audio" menu. Dolby Digital is always recorded.
This obsoletes the DOLBYINREC patch.
View
10 MANUAL
@@ -675,17 +675,17 @@ Version 1.6
4:3.
Use Dolby Digital = yes
Turns recording of the Dolby Digital audio channels on
or off. This may be useful if you don't have the equipment
to replay Dolby Digital audio and want to save disk space.
If turned off, Dolby Digital tracks also don't appear in the
"Audio" menu.
Controls whether Dolby Digital tracks appear in the "Audio"
menu. This is useful if you don't have the equipment to
replay Dolby Digital audio.
Update channels = 5 Controls the automatic channel update function. '0' means
no update, '1' will only update channel names, '2' will
only update PIDs, '3' will update channel names and PIDs,
'4' will perform all updates and also add newly found channels,
and '5' will also add newly found transponders.
Note that adding new transponders only works if the "EPG scan"
is active.
Audio languages = 0 Some tv stations broadcast various audio tracks in different
languages. This option allows you to define which language(s)
View
@@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.config.template 2.1 2009/01/18 10:46:13 kls Exp $
# $Id: Make.config.template 2.2 2010/02/06 14:50:03 kls Exp $
### The C compiler and options:
@@ -19,7 +19,6 @@ CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
ifdef PLUGIN
CFLAGS += -fPIC
CXXFLAGS += -fPIC
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
endif
### The directory environment:
View
@@ -0,0 +1,17 @@
#
# Strictly necessary Makefile options for the Video Disk Recorder
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Make.global 1.1 2010/02/06 14:54:12 kls Exp $
# Plugins need to be compiled with position independent code, otherwise linking
# VDR against it will fail.
ifdef PLUGIN
CFLAGS += -fPIC
CXXFLAGS += -fPIC
endif
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
View
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: Makefile 2.6 2010/01/17 12:32:18 kls Exp $
# $Id: Makefile 2.8 2010/02/21 11:44:38 kls Exp $
.DELETE_ON_ERROR:
@@ -32,6 +32,7 @@ CONFDIR = $(VIDEODIR)
DOXYGEN = /usr/bin/doxygen
DOXYFILE = Doxyfile
include Make.global
-include Make.config
SILIB = $(LSIDIR)/libsi.a
@@ -40,7 +41,7 @@ OBJS = audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o d
dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o\
lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o rcu.o\
receiver.o recorder.o recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o\
skinclassic.o skins.o skinsttng.o sources.o spu.o status.o svdrp.o themes.o thread.o\
skinclassic.o skins.o skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o\
timers.o tools.o transfer.o vdr.o videodir.o
ifndef NO_KBD
@@ -60,8 +61,6 @@ DEFINES += -DLIRC_DEVICE=\"$(LIRC_DEVICE)\" -DRCU_DEVICE=\"$(RCU_DEVICE)\"
DEFINES += -D_GNU_SOURCE
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
DEFINES += -DVIDEODIR=\"$(VIDEODIR)\"
DEFINES += -DCONFDIR=\"$(CONFDIR)\"
DEFINES += -DPLUGINDIR=\"$(PLUGINLIBDIR)\"
View
@@ -1970,6 +1970,46 @@ <h1>Table Of Contents</h1>
important that the devices are created on the heap, using the <tt>new</tt>
operator!
<div class="modified">
<p>
<b>Device hooks</b>
<p>
VDR has builtin facilities that select which device is able to provide a given
transponder. However, there may be situations where the setup is so special
that it requires considerations that exceed the scope of the core VDR code.
This is where <i>device hooks</i> can be used.
<p><table><tr><td class="code"><pre>
class cMyDeviceHook : public cDeviceHook {
public:
cMyDeviceHook(void);
virtual bool DeviceProvidesTransponder(const cDevice *Device, const cChannel *Channel) const;
};
</pre></td></tr></table><p>
In its <tt>DeviceProvidesTransponder()</tt> function the device hook can take
whatever actions are necessary to determine whether the given Device can
provide the given Channel's transponder, as in
<p><table><tr><td class="code"><pre>
void cMyDeviceHook::DeviceProvidesTransponder(const cDevice *Device, const cChannel *Channel) const
{
if (<i>condition where Device can't provide Channel</i>)
return false;
return true;
}
</pre></td></tr></table><p>
A plugin that creates a derived cDeviceHook shall do so in its <tt>Initialize()</tt>
function, as in
<p><table><tr><td class="code"><pre>
new cMyDeviceHook;
</pre></td></tr></table><p>
and shall not delete this object. It will be automatically deleted when the program ends.
</div modified>
<hr><h2><a name="Audio">Audio</a></h2>
<div class="blurb">"The stereo effect may only be experienced if stereo equipment is used!"</div><p>
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
# $Id: Makefile 1.1 2009/12/29 11:53:18 kls Exp $
# $Id: Makefile 1.2 2010/02/06 14:50:03 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -18,14 +18,18 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The C++ compiler and options:
CXX ?= g++
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
### The directory environment:
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
### Make sure that necessary options are included:
include $(VDRDIR)/Make.global
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
@@ -45,8 +49,6 @@ INCLUDES += -I$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
### The object files (add further files here):
OBJS = $(PLUGIN).o dvbsdffdevice.o dvbsdffosd.o
@@ -70,3 +70,7 @@ VDR Plugin 'hello' Revision History
2009-12-06: Version 0.2.4
- Several code modifications to avoid compiler warnings (thanks to Winfried K�hler).
2010-02-28: Version 0.2.5
- Added Lithuanian language translations (thanks to Valdemaras Pipiras).
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
# $Id: Makefile 2.1 2009/10/18 14:00:07 kls Exp $
# $Id: Makefile 2.2 2010/02/06 14:50:03 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -18,14 +18,18 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri
### The C++ compiler and options:
CXX ?= g++
CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
### The directory environment:
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
### Make sure that necessary options are included:
include $(VDRDIR)/Make.global
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: hello.c 2.2 2009/12/06 12:30:15 kls Exp $
* $Id: hello.c 2.3 2010/02/28 12:49:28 kls Exp $
*/
#include <getopt.h>
@@ -12,7 +12,7 @@
#include <vdr/interface.h>
#include <vdr/plugin.h>
static const char *VERSION = "0.2.4";
static const char *VERSION = "0.2.5";
static const char *DESCRIPTION = trNOOP("A friendly greeting");
static const char *MAINMENUENTRY = trNOOP("Hello");
Oops, something went wrong.

0 comments on commit 5ce592e

Please sign in to comment.