Problem with the record button

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
EkASs Offline
Member
Posts: 82
Joined: Feb 2011
Reputation: 0
Location: France
Post: #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.
find quote
EkASs Offline
Member
Posts: 82
Joined: Feb 2011
Reputation: 0
Location: France
Post: #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.
(This post was last modified: 2011-08-13 19:41 by EkASs.)
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,622
Joined: Jul 2010
Reputation: 34
Location: Munich
Post: #3
The best option is to send a git pull request to:
https://github.com/opdenkamp/xbmc
find quote
EkASs Offline
Member
Posts: 82
Joined: Feb 2011
Reputation: 0
Location: France
Post: #4
Done, thanks.
find quote
hoppel118 Offline
Member
Posts: 53
Joined: Jul 2011
Reputation: 0
Location: Germany - Hamburg
Post: #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

hfx mini - COMPLETELY PASSIVE COOLING
asus - rampage II gene, q8400s, 2x2gb
ssd: 120gb ocz v2, hdd: 2tb wd20ears, blu-ray-odd: optiarc bc 5600s
geforce engt220, dd cines2 [18c3:dd00], imon vfd + pad
os1: ubuntu 11.04 x86_64, xbmc pre11.0 opdenkamp-git:20110818-b2a5a4c, etobis vdr-1.7.18-2, pipelka-xvdr-server 0.9.0 (Prot:3), pipelka-xvdr-client 1.0.0
os2: win7 ult. x86, media browser, powerdvd 11
find quote
EkASs Offline
Member
Posts: 82
Joined: Feb 2011
Reputation: 0
Location: France
Post: #6
See http://forum.xbmc.org/showthread.php?p=870517
find quote
hoppel118 Offline
Member
Posts: 53
Joined: Jul 2011
Reputation: 0
Location: Germany - Hamburg
Post: #7
ok, it's a feature request:

bablefish Wrote:Ticket #11905 (new Feature Requests) created.

hfx mini - COMPLETELY PASSIVE COOLING
asus - rampage II gene, q8400s, 2x2gb
ssd: 120gb ocz v2, hdd: 2tb wd20ears, blu-ray-odd: optiarc bc 5600s
geforce engt220, dd cines2 [18c3:dd00], imon vfd + pad
os1: ubuntu 11.04 x86_64, xbmc pre11.0 opdenkamp-git:20110818-b2a5a4c, etobis vdr-1.7.18-2, pipelka-xvdr-server 0.9.0 (Prot:3), pipelka-xvdr-client 1.0.0
os2: win7 ult. x86, media browser, powerdvd 11
find quote