Problem with the record button
#1
Hi,

I use XBMC PVR with VDR and VNSI. When I try to record something with the record button, the timer is erased by VDR :
Code:
vdr: [25083] VNSI: Timer 5 (5 0059-1825 'Dangers dans le ciel') added
vdr: [31674] VNSI: Timers state changed (3)
vdr: [31674] VNSI: Requesting clients to reload timers
vdr: [31646] deleting timer 5 (5 0059-1825 'Dangers dans le ciel')
vdr: [31674] VNSI: Timers state changed (4)
vdr: [31674] VNSI: Requesting clients to reload timers
If I watch the timer with the VDR softdevice client, the timer is set to start at 1970/01/01 00:59 !

Is there something I miss in the configuration ?

Thanks.
Reply
#2
I think i've found the problem, the start time of the instant timer is not initialized. Below a patch :
Code:
--- xbmc/pvr/timers/PVRTimers.cpp    2011-08-13 19:33:35.000000000 +0200
+++ xbmc/pvr/timers/PVRTimers.cpp.new    2011-08-13 19:34:00.000000000 +0200
@@ -446,7 +446,7 @@
         newTimer->EndAsLocalTime().GetAsLocalizedTime("", false));
   }

-  CDateTime startTime;
+  CDateTime startTime = CDateTime::GetCurrentDateTime().GetAsUTCDateTime();
   newTimer->SetStartFromUTC(startTime);
   newTimer->m_iMarginStart = 0; /* set the start margin to 0 for instant timers */
Where can I post it ?

edit: This patch works with the current pvr-ppa version, vdr-1.7.19 and the current vnsi version.
Reply
#3
The best option is to send a git pull request to:
https://github.com/opdenkamp/xbmc
Reply
#4
Done, thanks.
Reply
#5
Hey guys,

I have another problem with the record button.

When I look into the global remote.xml

Code:
/usr/share/xbmc/system/keymaps/remote.xml

I cann see the the following:

Code:
<record>Screenshot</record>

Why is it set to Screenshot by default? What is the right command to record tv shows with the record-button? For screenshots I use another Button on my remote.

Greetings
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
Reply
#6
See http://forum.xbmc.org/showthread.php?p=870517
Reply
#7
ok, it's a feature request:

bablefish Wrote:Ticket #11905 (new Feature Requests) created.
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with the record button0