ЦитатаПоказать весь код
VDR developer version 1.3.47 is now available at
Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
A 'diff' against the previous version is available at
Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу.
Except for a few version numbers in the man pages etc., this
is pretty much what will become the final version 1.4.
Those who have translated the OSD texts should please check whether
there are any untranslated texts in their language left, and send
me a patch (diff -u) against this version of the i18n.c file.
Please test this version intensively and report bugs as soon as
possible to this list, or directly to me via email.
The changes since version 1.3.46
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Fixed a crash when setting the time transponder in the Setup menu, caused by the
new 'noneString' in cMenuEditChanItem (reported by Thomas Gьnther).
- Added NULL checks to some strdup() calls in menuitems.c (suggested by Darren
Salt).
- Removed the unnecessary 'value' member from cMenuEditItem.
- Fixed the initial setting of the time transponder setup parameter (reported
by Thomas Gьnther).
- Fixed unnecessary Set() calls in cMenuEditIntItem::ProcessKey().
- Allowing a tolerance for symbol rate values that are off by one (thanks to
Richard Lithvall).
- Added VBITeletextDescriptorTag, TeletextDescriptorTag, LocalTimeOffsetDescriptorTag
and PremiereContentTransmissionDescriptor to 'libsi' (thanks to Marco SchlьЯler).
- Using geteuid() to check whether VDR is running as user 'root' (suggested by
Tobias Grimm).
- Added a missing "Key$" in skincurses.c (reported by Darren Salt).
- Reintroduced the log message "deleting plugin: ..." when shutting down VDR (upon
request by Ville Skyttд, as in the initial patch from Christoph Haubrich).
- Fixed the vdr.1 man page (a single DVB card can record and do live tv).
- The preferred audio language is now automatically selected when starting replay.
- Updated the Danish OSD texts (thanks to Mogens Elneff).
- The new function cPlugin::Active() can be used by a plugin to indicate that it
is still busy and the system should not shut down or restart (based on a patch
from Peter Dittmann). See PLUGINS.html for details.
- Fixed setting the 'Delta' parameter when calling the shutdown script with
no active timer (reported by Helge Lenz).
- In order to make sure that plugins are compiled with the same DVB driver header
files as VDR itself, the definition of DVBDIR has been removed from the VDR
Makefile. If you are using a driver version that has its header files at a location
other than /usr/include/linux/dvb, you can define DVBDIR in the Make.config
file (see also INSTALL). Any reference to DVBDIR should be removed from all
plugins' Makefiles, like this:
------------------------------------------------------------
--- PLUGINS/src/hello/Makefile 2005/11/11 13:20:14 1.10
+++ PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11
@@ -20,7 +20,6 @@
### The directory environment:
-DVBDIR = ../../../../DVB
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
@@ -40,7 +39,7 @@
### Includes and Defines (add further entries here):
-INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
+INCLUDES += -I$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
------------------------------------------------------------
Thanks to Marco SchlьЯler for pointing out this problem.
- Implemented kNext and kPrev keys (based on a patch from Peter Juszack).
See MANUAL for details.
- Implemented kChanPrev (from a patch from Darren Salt).
- The "Update channels" parameter in the "Setup/DVB" menu has been extended to
allow updating only the PIDs (see MANUAL for details). When updating to this
version of VDR, please verify that the setting is as you want it to be, because
the values have been shifted.
- The new APIVERSION (see config.h) now allows existing compiled plugins to be
used with newer versions of VDR, as long as there have been no changes to the
VDR header files since the last APIVERSION. Existing plugins' Makefiles should
have all references to VDRVERSION changed to APIVERSION, like this:
------------------------------------------------------------
--- PLUGINS/src/hello/Makefile 2006/04/15 11:58:46 1.11
+++ PLUGINS/src/hello/Makefile 2006/04/16 09:03:50 1.12
@@ -28,9 +28,9 @@
-include $(VDRDIR)/Make.config
-### The version number of VDR (taken from VDR's "config.h"):
+### The version number of VDR's plugin API (taken from VDR's "config.h"):
-VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
### The name of the distribution archive:
@@ -67,7 +67,7 @@
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
- @cp $@ $(LIBDIR)/$@.$(VDRVERSION)
+ @cp $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
------------------------------------------------------------
- If a timer is newly created from within the "Schedule" menu, and its event is
already running or has its start time within the next two minutes, it now goes
directly into the "Edit timer" menu in order to allow the user to make further
changes to timer parameters before the actual recording starts (inspired by
Christian Wieninger's "epgsearch" plugin).
- Added format check to syslog_with_tid().
- Updated the INSTALL file's section about non-VDR files in the video directory
(since version 1.3.38 disk access is done in a separate thread, so the watchdog
timer won't hit).
- Changed the behaviour of the "Use small font" setup option to *always* use the small
font if set to '3' - even if it would have been a fixed font (suggested by Ronny
Kornexl).
- No longer using characters 0x01 and 0x02 for mapping single quote and slash in
recording names (thanks to Patrick Fischer for reporting that this was a problem
with XML). The single quote is not mapped at all, and the slash is interchanged
with the tilde. Existing recordings will be handled like before, so there is
no need to actually rename them.
- The cRemote::CallPlugin() function now has a boolean return value that tells
the caller whether initiating the plugin call was successful (suggested by
Reinhard Nissl). If it returns false, another plugin call is currently pending
and the caller should try again later. This also means that the SVDRP command
PLUG can now return an error code is the call fails.
- The new function cPlugin::MainThreadHook() can be used by plugins to perform
actions in the context of the main program thread. Use this function with great
care and only of you absolutely have to! See also PLUGINS.html.
Have fun!
Klaus
[ANNOUNCE] VDR developer version 1.3.47
- free-x
- Вопрос темы решён
-
-
я наверное опять что-то пропустил (двоешник...)
ЦитатаUsing username "root".
Using keyboard-interactive authentication.
Password:
arvdr:~# vdr -V
vdr (1.3.45) - The Video Disk Recorder
arvdr:~# apt-get update
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/main Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/main Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-free Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-free Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/contrib Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/contrib Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/main Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/main Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/contrib Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/contrib Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/non-free Packages
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/non-US/non-free Release
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. ./ Packages
Ign Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. ./ Release
Get:1 Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/main Packages [21.8kB]
Get:2 Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/main Packages [226kB]
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/main Release
Get:3 Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/main Release [110B]
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/contrib Packages
Get:4 Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/contrib Release [113B]
Hit Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/non-free Packages
Get:5 Пожалуйста зарегистрируйся для просмотра данной ссылки на страницу. sarge/updates/non-free Release [114B]
Fetched 249kB in 1s (202kB/s)
Reading Package Lists... Done
arvdr:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arvdr:~# apt-dist upgrade
-bash: apt-dist: command not found
arvdr:~# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
arvdr:~# -
ты заметь, что эта тема в "Сам себе прораб", а не в "ArVDR"
-
Хм, из пустого в порожнее....одно выправляется, другое загинается...а где же обещанная 1.4 ?
Или обещаного три года ждут... -
так ведь уже почти 3 года и ждём
-
Цитата
Со слов пользователя free-x
ты заметь, что эта тема в "Сам себе прораб", а не в "ArVDR"понял
говорю же двоешник -
Ребят объясните, для чего этот API?
-
Для совместимости с плагинами
-
Цитата
Со слов пользователя Бикалехандер
Ребят объясните, для чего этот АПИ?
Вот теперь с выходом 1.3.48 версия VDR поменялась, но версия API осталась та же ...рекомпиляция PLUGINS]не требуется, и без проблем подгружаются плагины скомпилированные с 1.3.47Исходный код
Показать весь кодlorien:~/tmp/vdr-1.3.48$ ./vdr -V vdr (1.3.48/1.3.47) - The Video Disk Recorder hello (0.1.1) - A friendly greeting osddemo (0.1.1) - Demo of arbitrary OSD setup svccli (0.1.1) - Service demo client svcsvr (0.1.1) - Service demo server skincurses (0.0.6) - A text only skin sky (0.3.5) - Sky Digibox interface status (0.2.0) - Status monitor test svdrpdemo (0.0.2) - How to add SVDRP support to a plugin lorien:~/tmp/vdr-1.3.48$ ls PLUGINS/lib/ libvdr-hello.so.1.3.47 libvdr-status.so.1.3.47 libvdr-osddemo.so.1.3.47 libvdr-svccli.so.1.3.47 libvdr-skincurses.so.1.3.47 libvdr-svcsvr.so.1.3.47 libvdr-sky.so.1.3.47 libvdr-svdrpdemo.so.1.3.47