1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

3768 Commits

Author SHA1 Message Date
Klaus Schmidinger
9c3ce0048a When remote timers are fetched from a peer VDR, we no longer blindly delete and re-add them, but rather compare them and make only the minimum necessary changes 2018-02-28 10:06:47 +01:00
Klaus Schmidinger
3a3a233994 Updated the Polish OSD texts 2018-02-27 09:48:28 +01:00
Klaus Schmidinger
e4af94d3f9 Combined Start/StopSVDRPServer/ClientHandler() into Start/StopSVDRPHandler() 2018-02-25 13:57:21 +01:00
Klaus Schmidinger
6600478675 Moved handling remote timers into cSVDRPClientHandler::ProcessConnections() 2018-02-25 13:26:17 +01:00
Klaus Schmidinger
361d642660 Initiating the client side of a peer-to-peer SVDRP connection is now done with the new SVDRP command CONN instead of using the UDP port with the server's address 2018-02-20 13:28:04 +01:00
Klaus Schmidinger
a72806a0ba Added a section about the '.sort' file to vdr.5 2018-02-15 16:02:04 +01:00
Klaus Schmidinger
a4343bdfd9 Fixed case inconsistency with SVDRPDefaultHost 2018-02-15 14:41:14 +01:00
Klaus Schmidinger
940e4a7c4d Fixed handling SVDRP peering for more than one instance of VDR on the same machine, and improved logging and debug output 2018-02-15 14:30:14 +01:00
Klaus Schmidinger
3090d8146f Implemented storing timer id in .timer 2018-02-13 09:33:41 +01:00
Klaus Schmidinger
78831a72d5 Improved calculating signal strength and quality 2018-02-12 14:05:22 +01:00
Klaus Schmidinger
68f0f24670 Fixed getting the info of a newly edited recording 2018-02-10 13:31:31 +01:00
Klaus Schmidinger
6b9c5aa1ac When a timer is newly created in the Timers menu, it now immediately appears at the correct position in the list 2018-02-10 12:51:19 +01:00
Klaus Schmidinger
902c83ece3 Fixed keeping the cursor position in the Recordings menu in case a timer starts recording while the menu is open 2018-02-10 12:34:10 +01:00
Klaus Schmidinger
30650b9c13 Fixed updating the Timers menu after turning a local timer on/off with the Red button 2018-02-10 10:54:33 +01:00
Klaus Schmidinger
5976079fd3 Added a note about the fixed UDP port for SVDRP discovery to vdr.1 2018-02-09 15:21:06 +01:00
Klaus Schmidinger
1e3f146707 Replaced the warning regarding the open SVDRP port in the INSTALL file with a remarkabout using svdrphosts.conf to completely disable SVDRP access 2018-02-09 15:19:59 +01:00
Klaus Schmidinger
015b269c21 Making sure cSVDRPClient::Process() reads the entire reply once it started reading, even if no Response parameter is given 2018-02-05 15:18:19 +01:00
Klaus Schmidinger
802544662d Added the UPDATE-2.4.0 file 2018-02-04 10:07:42 +01:00
Klaus Schmidinger
b2d3c92da9 Fixed typos 2018-02-03 13:42:11 +01:00
Klaus Schmidinger
bc295040d0 Added a note about the 'peerdemo' script 2018-02-03 13:12:04 +01:00
Klaus Schmidinger
c441a634a5 Limited some CAM related log messages to the actual master CAM, if any 2018-02-03 12:59:56 +01:00
Klaus Schmidinger
c71c3115cc Fixed handling editing marks in the replay progress display, in case the marks are deleted via the Info/Edit menu of the currently played recording 2018-02-01 16:08:15 +01:00
Klaus Schmidinger
5ae8d1a7a3 Implemented cStatus::MarksModified() 2018-01-29 14:09:59 +01:00
Klaus Schmidinger
0055eeeeb8 Fixed a possible deadlock when quickly zapping through encrypted channels 2018-01-28 11:21:28 +01:00
Klaus Schmidinger
a343b375df Now unlocking the Recordings list before displaying an error message in cMenuPathEdit::ApplyChanges() and cReplayControl::Stop() 2018-01-17 10:27:37 +01:00
Klaus Schmidinger
28b6ee47e3 Now using the 'example' macro in vdr.5 2018-01-16 15:27:17 +01:00
Klaus Schmidinger
ae41be85c8 Moved any locking from cutter.c into recording.c 2018-01-16 14:11:40 +01:00
Klaus Schmidinger
5467bc4f24 Fixed a possible deadlock when detaching a receiver from a device 2017-12-16 13:13:13 +01:00
Klaus Schmidinger
477fb7dc20 When selecting a folder for a recording or timer, it is now possible to open a folder even if it doesn't contain any subfolders 2017-12-15 13:43:00 +01:00
Klaus Schmidinger
05bfa4b476 Changed the log message ""ERROR: copying directory %s to %s ended prematurely" from "error" to "info" 2017-12-14 15:18:05 +01:00
Klaus Schmidinger
630cc496ea Moved adding the name of the edited recording into the cutting thread, to avoid a problem with locking the Recordings list 2017-12-14 14:17:35 +01:00
Klaus Schmidinger
c3af5a69da Now staying in the source folder when moving a recording or a folder to a different folder 2017-12-14 10:45:02 +01:00
Klaus Schmidinger
7455fbd2ad Fixed canceling moving a folder with several recordings between volumes 2017-12-11 13:55:38 +01:00
Klaus Schmidinger
ea217de338 Now displaying recordings in move as non-selectable 2017-12-10 13:04:38 +01:00
Klaus Schmidinger
1492f6dbc4 Implemented 'OSD/Sorting direction for recordings' 2017-12-09 18:58:25 +01:00
Klaus Schmidinger
e757f10e44 If TS packets are not accepted by the output device in Transfer Mode, this is now reported only once per minute in the log file 2017-12-07 15:05:48 +01:00
Klaus Schmidinger
c868265397 Fixed a lengthy write lock on the Recordings list in case of moving a folder with more than one recording 2017-12-05 16:44:21 +01:00
Klaus Schmidinger
e5e0315d34 The CAM menu is now automatically closed when the current channel is switched 2017-12-04 15:33:41 +01:00
Klaus Schmidinger
0224fc5210 Fixed positioning to the current item when changing the sort mode in the Recordings menu, in case there is a LastReplayed recording 2017-12-04 14:55:13 +01:00
Klaus Schmidinger
b96277e28a Fixed a deadlock when moving a folder containing several recordings between different volumes 2017-12-04 13:07:39 +01:00
Klaus Schmidinger
26a40bc174 Added a note to PLUGINS.html about writing log messages in English 2017-11-29 10:03:13 +01:00
Klaus Schmidinger
990bc6a11f Fixed positioning the cursor in the Recordings menu when moving a recording between different volumes 2017-11-27 15:19:43 +01:00
Klaus Schmidinger
91774cf074 Fixed a possible crash when moving a recording between different volumes 2017-11-27 14:09:04 +01:00
Klaus Schmidinger
9d5ce204aa Now calling Hide() and cStatus::MsgReplaying(..., false) from cReplayControl::Stop() 2017-11-26 15:07:00 +01:00
Klaus Schmidinger
a9d82331e6 Fixed a possible crash with plugins that retrieve player information after a replay has been stopped, but before the replay control has been destroyed 2017-11-26 15:02:54 +01:00
Klaus Schmidinger
8dcff164fa Fixed handling timers during the change from DST to winter time 2017-11-12 13:13:06 +01:00
Klaus Schmidinger
54b721ebde Added some comments regarding font height 2017-11-11 14:05:53 +01:00
Klaus Schmidinger
d19a3fc3b8 The new SVDRP commands 'LSTD' and 'PRIM' can be used to list all available devices and to switch the primary device 2017-11-11 12:04:17 +01:00
Klaus Schmidinger
950b248220 Switching the primary device is no longer done via osSwitchDvb, but rather by the main program loop reacting to changes in Setup.PrimaryDVB 2017-11-09 16:23:15 +01:00
Klaus Schmidinger
bc3b6ed601 Local timers are now preferred over remote timers in the Schedules menu 2017-11-09 12:22:20 +01:00
Klaus Schmidinger
33bbff2aa5 The LCARS skin's main menu now reacts to changes of the current channel's name 2017-11-08 10:37:57 +01:00
Klaus Schmidinger
5c94900026 OSD menus now try to keep the offset of the list cursor at a constant position on the screen, even if the list is modified while being displayed 2017-11-07 15:42:47 +01:00
Klaus Schmidinger
e02a0a8c88 The timeout for the channel display is now reset whenever the channel or EPG data changes 2017-11-02 15:36:24 +01:00
Klaus Schmidinger
d8523b0db8 The macros used to control deprecated code or functions have been changed to hold numeric values; the default for DEPRECATED_VDR_CHARSET_OVERRIDE has been set to 0 2017-11-02 15:04:56 +01:00
Klaus Schmidinger
d74dd7a60a The function cDevice::GetVideoSystem() has been finally removed 2017-11-02 14:38:49 +01:00
Klaus Schmidinger
c08ed3ce44 The MTD mapper now avoids immediately reusing unique PIDs when switching channels 2017-10-31 12:20:56 +01:00
Klaus Schmidinger
19275aa8bb Fixed an invalid lock sequence when trying to remove a deleted recording in case of low disk space; now making sure that AssertFreeDiskSpace() is called with the maximum timer priority in case there are several timers recording with different priorities 2017-10-31 09:47:14 +01:00
Klaus Schmidinger
7bbbfb0dee Fixed handling VPS events outside the LingerLimit, which could cause recordings to stop prematurely 2017-10-11 09:22:24 +02:00
Klaus Schmidinger
f2a2c67152 Fixed a possible crash when stopping VDR 2017-08-31 11:46:16 +02:00
Klaus Schmidinger
9719766007 Updated the Finnish OSD texts 2017-07-24 09:02:12 +02:00
Klaus Schmidinger
32fb2e8a3e Updated the Italian OSD texts 2017-07-24 08:59:28 +02:00
Klaus Schmidinger
363dee6846 SVDRP peering can now be limited to the default SVDRP host 2017-06-30 09:50:44 +02:00
Klaus Schmidinger
a28d92d049 Whenever a change is made to the recordings in the video directory, the SVDRP command UPDR is now sent to all peer VDRs 2017-06-25 12:43:09 +02:00
Klaus Schmidinger
39294e0147 Added a note to the log, indicating that no further invalid lock sequences will be reported until VDR is restarted 2017-06-25 12:10:19 +02:00
Klaus Schmidinger
027ae738a8 Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used 2017-06-25 11:54:32 +02:00
Klaus Schmidinger
ce5e23f209 Timers are now linked to EPG events even if they are inactive 2017-06-25 10:03:19 +02:00
Klaus Schmidinger
139a93156b Fixed drawing very long menu titles in the LCARS skin 2017-06-23 16:03:51 +02:00
Klaus Schmidinger
9cf7328452 Now skipping a leading '/' in AddDirectory(), to avoid double slashes 2017-06-23 09:44:25 +02:00
Klaus Schmidinger
0bccf29254 Updated the Italian OSD texts 2017-06-23 09:14:13 +02:00
Klaus Schmidinger
56117751a8 Fixed a possible crash in cStateLockLog 2017-06-23 09:03:19 +02:00
Klaus Schmidinger
1bce499383 Added some missing locks when calling functions from cStatus or cSkin* 2017-06-21 09:40:39 +02:00
Klaus Schmidinger
95947a29d5 Fixed detecting whether a CAM replies to queries 2017-06-19 12:16:40 +02:00
Klaus Schmidinger
70f48e6ca3 Updated links in the INSTALL file 2017-06-12 08:58:26 +02:00
Klaus Schmidinger
0a2c88c288 Introduced the new macro DISABLE_TEMPLATES_COLLIDING_WITH_STL 2017-06-11 10:05:34 +02:00
Klaus Schmidinger
c70d62aeb4 Changed ##Lock to ##_Lock in the DEF_LIST_LOCK and USE_LIST_LOCK macros defined in tools.h 2017-06-11 09:01:47 +02:00
Klaus Schmidinger
a98f6ca354 The "Channels" menu now indicates whether a channel is encrypted or a radio channel 2017-06-10 15:57:33 +02:00
Klaus Schmidinger
deb96b372e The option "Setup/Miscellaneous/Show channel names with source" can now be set to "type" or "full" 2017-06-10 15:34:23 +02:00
Klaus Schmidinger
360d8fe6b1 Implemented CAM auto responses 2017-06-10 11:53:39 +02:00
Klaus Schmidinger
93102b45e0 Fixed a typo in CAMMENURETYTIMEOUT and added logging CAM enquiries 2017-06-10 11:52:47 +02:00
Klaus Schmidinger
79314ab98f Increased SLL_LENGTH in thread.c to better handle long caller lines, and enclosed logCaller with DEBUG_LOCKCALL to preserve memory in normal operation 2017-06-08 08:29:45 +02:00
Klaus Schmidinger
38fed8c901 Fixed L(ock) and U(nlock) indicators in cStateLockLog 2017-06-08 08:24:30 +02:00
Klaus Schmidinger
081e9eb45f Fixed the locking sequence when starting an instant recording 2017-06-07 15:41:12 +02:00
Klaus Schmidinger
210df9d835 Fixed uninitialized variable SdWatchdog in vdr.c 2017-06-06 10:55:12 +02:00
Klaus Schmidinger
dc775bc5f8 Fixed false positives when checking the locking sequence, in case of nested locks within the same thread 2017-06-06 09:25:48 +02:00
Klaus Schmidinger
ec47c4f932 Fixed the locking sequence when switching between 'Now', 'Next' and 'Schedule' in the Schedules menu 2017-06-04 09:35:18 +02:00
Klaus Schmidinger
25d28e7421 Fixed the locking sequence when creating a new timer from the Schedules menu 2017-06-03 12:51:22 +02:00
Klaus Schmidinger
2c74a31afe Added backtrace functions for debugging 2017-06-03 12:43:22 +02:00
Klaus Schmidinger
bae02358a3 Fixed a possible crash in case the SVDRP connection to a peer VDR is terminated while getting remote timers 2017-05-31 14:06:07 +02:00
Klaus Schmidinger
f97a59597f Now using a separate mutex to fix the race between SVDRP CHAN and cDevice::HasProgramme() 2017-05-30 11:06:55 +02:00
Klaus Schmidinger
6edfcda43a Fixed generating k_Release key events for LIRC remote controls 2017-05-30 11:05:00 +02:00
Klaus Schmidinger
c9c15a727d Fixed a double channel switch when pressing the Channel+/- keys while no menu or channel display is open 2017-05-29 11:37:06 +02:00
Klaus Schmidinger
5324809a91 Added clearing CiResourceHandlers before shutting down the plugin manager 2017-05-29 11:14:43 +02:00
Klaus Schmidinger
f69b920dbc The Makefiles now use the macro $(Q) instead of a plain '@' in front of their commands, so that verbosity can be controlled by the user 2017-05-29 09:12:42 +02:00
Klaus Schmidinger
a4c851f759 Fixed the locking sequence when starting a recording 2017-05-29 08:18:17 +02:00
Klaus Schmidinger
2751e239eb Fixed the locking sequence when dumping EPG data 2017-05-28 13:08:09 +02:00
Klaus Schmidinger
0af3ed548c Added debug output for checking the correct sequence of locking global lists 2017-05-28 12:47:54 +02:00
Klaus Schmidinger
7cdd4877c3 Adjusted release date 2017-05-25 09:08:46 +02:00
Klaus Schmidinger
37acfbd372 Fixed detecting the inclusion of STL header files in tools.h 2017-05-22 20:21:30 +02:00
Klaus Schmidinger
e7cd3f0b33 No longer displaying the actual (lengthy) commands during the build process 2017-05-22 16:29:49 +02:00
Klaus Schmidinger
354910faab If the Channel+/- keys are pressed while in the Schedules menu, the menu is now switched to the EPG of the new current channel 2017-05-21 13:18:26 +02:00
Klaus Schmidinger
0f1f277819 Fixed setting the local machine's SVDRP host name; only saving the SVDRP host name if it differs from the system's host name 2017-05-21 10:28:10 +02:00
Klaus Schmidinger
3b1b5bde68 Removed TsGetContinuityCounter() from remux.h, using TsContinuityCounter() instead 2017-05-21 09:53:27 +02:00
Klaus Schmidinger
82813f48c4 Added the macro VDR_NO_STL_PROTOTYPES to tools.h 2017-05-21 09:37:45 +02:00
Klaus Schmidinger
0b9870959b Fixed handling remote timers 2017-05-20 13:01:34 +02:00
Klaus Schmidinger
4100b47b37 Reduced the time before a CAM is marked as known to decrypt a particular channel to 3 seconds 2017-05-18 09:32:04 +02:00
Klaus Schmidinger
43c828f8ca Fixed a race between SVDRP CHAN and cDevice::HasProgramme() 2017-05-18 09:18:43 +02:00
Klaus Schmidinger
b01a1ee818 Extended the CI API to allow plugins to implement additional CAM resources 2017-05-18 09:05:46 +02:00
Klaus Schmidinger
50211c706a Fixed a crash in case the bottom text of a CAM menu is empty 2017-05-17 09:17:44 +02:00
Klaus Schmidinger
ce42e42ed7 Added handling RI_HOST_CONTROL to the CI protocol 2017-05-12 09:17:39 +02:00
Klaus Schmidinger
34f572f792 Fixed handling line numbers in error messages when reading EPG data 2017-05-09 12:25:32 +02:00
Klaus Schmidinger
44287ca25e Added a Status parameter to the interface of cDevice::SignalStats() and cDvbDevice::SignalStats() 2017-05-09 11:53:41 +02:00
Klaus Schmidinger
6bed5368e6 Changed the legacy delivery system name "DMBTH" to "DTMB", and added names for DVBC_ANNEX_C and DVBC2 2017-05-09 09:46:28 +02:00
Klaus Schmidinger
4591dcad2c Fixed selecting delivery system names in case of undefined indexes 2017-05-09 09:43:25 +02:00
Klaus Schmidinger
dbcea07600 Changed the default return value of cEpgHandler::BeginSegmentTransfer() to true 2017-05-09 09:20:34 +02:00
Klaus Schmidinger
b76601482f When selecting a device/CAM combination for live viewing, CAMs that are known to decrypt the requested channel are now given a higher priority than prefering the primary device 2017-05-09 09:13:36 +02:00
Klaus Schmidinger
8e9d445248 cListObject now implements a private copy constructor and assignment operator, to keep derived objects from calling them implicitly 2017-05-09 08:39:19 +02:00
Klaus Schmidinger
7d1dde01ba The constructor of cHash (via cHashBase) now has an additional parameter (OwnObjects); fixed a memory leak in cSectionSyncerHash 2017-05-09 08:33:37 +02:00
Klaus Schmidinger
79b57feab6 Events in the EIT that end before the EPG linger time are now ignored in the incoming data stream 2017-05-03 09:02:24 +02:00
Klaus Schmidinger
84b8ea8395 Log messages about switching channels now include the channel ID 2017-05-01 13:06:32 +02:00
Klaus Schmidinger
9491948f04 Fixed handling UNC values 2017-05-01 12:50:12 +02:00
Klaus Schmidinger
073268bd45 CAMs are now sent a generated EIT packet that contains a single 'present event' for the current SID, in order to avoid any parental rating dialogs 2017-05-01 09:32:32 +02:00
Klaus Schmidinger
7cfce2fffa Adjusted release date 2017-04-27 08:43:41 +02:00
Klaus Schmidinger
3d63936a36 Fixed a possible crash when pulling the CAM while decrypting a channel with MTD 2017-04-24 09:25:29 +02:00
Klaus Schmidinger
467829af32 The SVDRP command LSTC can now list the channels with channel ids; channel number 0 lists the data of the current channel 2017-04-22 15:02:56 +02:00
Klaus Schmidinger
9cd28b2ded Fixed handling the uncorrected block counter for DVB API 3 devices when calculating signal quality 2017-04-20 14:43:54 +02:00
Klaus Schmidinger
686831caf5 Fixed editing a remote timer immediately after it has been created 2017-04-20 10:08:04 +02:00
Klaus Schmidinger
1efd5e6b7e Fixed displaying remote timers in the main menu of skin LCARS 2017-04-20 08:49:31 +02:00
Klaus Schmidinger
f90edc1e8b Removed logging DVB API 5 signal statistics, because it happened too often if EPG scan is active 2017-04-18 13:11:51 +02:00
Klaus Schmidinger
d1ff365767 Updated the Finnish OSD texts 2017-04-18 12:15:01 +02:00
Klaus Schmidinger
6132a46768 Implemented getting and logging DVB API 5 signal statistics 2017-04-17 15:02:44 +02:00
Klaus Schmidinger
1f541487e0 cTSBuffer::Skip() no longer immediately deletes the given number of bytes from the TS buffer 2017-04-15 09:55:32 +02:00
Klaus Schmidinger
1a160e7afe The function cCamSlot::Decrypt() can now also be called with Data == NULL 2017-04-15 09:39:55 +02:00
Klaus Schmidinger
016e10c1b0 Signal strength and quality (CNR) are now determined via DVB API 5 (if available) 2017-04-06 17:12:59 +02:00
Klaus Schmidinger
63a32ce483 Fixed a deadlock in the SVDRP command PLAY in case there is currently a recording being replayed 2017-04-04 11:05:38 +02:00
Klaus Schmidinger
7e6667f58f Changed 'number' to 'id' in the help texts of SVDRP commands that deal with timers 2017-04-03 14:32:33 +02:00
Klaus Schmidinger
67cb53d587 Recordings now have unique ids 2017-04-03 14:11:41 +02:00
Klaus Schmidinger
e622854789 cOsdMenu::Display() now checks whether the OSD size has changed and if so calls SetDisplayMenu() 2017-04-03 12:49:56 +02:00
Klaus Schmidinger
792b9dc45f Added a note to the "Pausing live video" section of the MANUAL 2017-04-03 08:42:10 +02:00
Klaus Schmidinger
fe535d25e5 Added some guidelines and recommendations to the 'Logging' section of PLUGINS.html 2017-04-02 13:01:34 +02:00
Klaus Schmidinger
c4cc5e613c The cEvent class now has a new member 'aux' 2017-04-02 12:13:15 +02:00
Klaus Schmidinger
0a5a7893a5 Detecting whether a particular CAM actually decrypts a given channel is now done separately for each receiver 2017-04-02 10:08:49 +02:00
Klaus Schmidinger
f39d31631b The file 'cam.data' is no longer written if it is read-only 2017-04-02 10:06:31 +02:00
Klaus Schmidinger
8d3ae53bcd Changed tEventID back to u_int32_t 2017-04-01 12:39:46 +02:00
Klaus Schmidinger
d6f57259fa The function cEpgHandlers::BeginSegmentTransfer() is now boolean 2017-03-31 15:24:35 +02:00
Klaus Schmidinger
112bfa5897 The functionality of HandleRemoteModifications() has been moved to timers.[ch] 2017-03-30 15:25:20 +02:00
Klaus Schmidinger
da105e3bda Added credit for Jasmin Jessich 2017-03-28 08:31:51 +02:00
Klaus Schmidinger
9e808255f8 Now stopping any ongoing recordings before stopping the plugins 2017-03-25 14:32:37 +01:00
Klaus Schmidinger
367557039a The function cRingBufferLinear::Clear() can now be called safely from the reading thread, without additional locking 2017-03-19 13:11:39 +01:00
Klaus Schmidinger
2cc25e65f4 Implemented support for MTD 2017-03-18 16:33:59 +01:00
Klaus Schmidinger
3f9cdea1c1 PIDs can now be added to and deleted from a cReceiver while it is attached to a cDevice 2017-02-21 14:17:07 +01:00