Summary missing when using Text2skin

Message ID 429B85A1.1070300@syphir.sytes.net
State New
Headers

Commit Message

C.Y.M May 30, 2005, 9:29 p.m. UTC
  >>I *think* I have an small understanding now of why the summary of recordings are
>>not displayed.  In particular, I'm referring to the Enigma skin with text2skin 1.0.
>>
> 
> 
> It appears that text2skin now has support for vdr-1.3.25 in cvs.  Thanks!
> 
> 2005-06-xx: Version 1.1
> 
> - fixed a race condition (thanks to Reinhard Nissl for pointing this out)
> - updated finnish translations (thanks to Rolf Ahrenberg)
> - added tokens for Recording Info Display
>   (RecordingName, RecordingDateTime, RecordingTitle, RecordingShortText,
>   RecordingDescription, RecordingLanguageCode, RecordingLanguageDescription)
> 
> 
> My question now is, what do I need to change in the .skin file?  I am assuming
> that now all the .skin files must be fixed to support the new tokens.
> 
> Best Regards,
> 
> 

Attached is a patch for the Enigma.skin that fixes the Info display for recordings.

Best Regards,
  

Comments

Adrian P Challinor May 30, 2005, 10:51 p.m. UTC | #1
I have used VDR for a 18 months now, but in the last 2 months found that
stability has gone completely out of the window. It started when I tried to
get the vdrsync code working to burn dvd's (never successful). 

I have a Pentium P4, 2.4Ghz, 512 MB Ram, 2 x 120 GB IDE disks, with an ASUS
motherboard. Cards are a TT-FF DVB-T and a Nebula DVB budget card. I had so
many problems I reverted to rebuilding the system from scratch. I was
working on linux 2.6.4, but listening to the list I upgraded to 2.6.11 on
the rebuild. 

Things have not got better. 

It is impossible to record anything from the budget card, which is VDR's
preferred card. I get so many errors trying to sync to skip bytes to sync to
a TS packet it is untrue. The recording makes old VCR's look good. Funny
this, because the DVBT enabled television is just fine. 

I tried recording just of the TT-FF card. OK, I can only record one signal
at a time, but at least it will be stable, right? Wrong. It's as unstable as
an unpatched windows box. 

For example: 

May 30 22:50:22 vdr vdr[8931]: timer 1 (1 2240-0045 'Total Recall') set to
event Mon 30.05.2005 22:50-00:35 'Total Recall'
May 30 22:54:11 vdr vdr[8935]: channel 1 (BBC ONE) event 22:50 'Total
Recall' status 4
May 30 23:03:38 vdr vdr[8935]: channel 3 (BBC THREE) event 23:00 'Ideal'
status 4
May 30 23:07:45 vdr vdr[8991]: ERROR: unknown picture type '5'
May 30 23:07:46 vdr vdr[8991]: ERROR: unknown picture type '4'
May 30 23:11:01 vdr vdr[8931]: connect from 127.0.0.1, port 47508 - accepted
May 30 23:11:01 vdr vdr[8931]: closing SVDRP connection
May 30 23:16:50 vdr vdr[8991]: ERROR: unknown picture type '5'
May 30 23:18:30 vdr last message repeated 5 times
May 30 23:18:51 vdr last message repeated 2 times
May 30 23:21:02 vdr vdr[8931]: connect from 127.0.0.1, port 43811 - accepted
May 30 23:21:02 vdr vdr[8931]: closing SVDRP connection
May 30 23:25:15 vdr vdr[8991]: ERROR: unknown picture type '5'
May 30 23:25:15 vdr vdr[8991]: initiating emergency exit
May 30 23:25:15 vdr vdr[8991]: ERROR: unknown picture type '4'
May 30 23:25:15 vdr vdr[8991]: initiating emergency exit
May 30 23:25:15 vdr vdr[8991]: ERROR: unknown picture type '5'
May 30 23:25:15 vdr vdr[8991]: initiating emergency exit
May 30 23:25:16 vdr vdr[8931]: emergency exit requested - shutting down
May 30 23:25:16 vdr vdr[8931]: timer 1 (1 2240-0045 'Total Recall') stop
May 30 23:25:16 vdr vdr[8931]: saved setup to /root/vdr/setup.conf
May 30 23:25:16 vdr vdr[8931]: exiting
May 30 23:25:16 vdr vdr[8931]: emergency exit!


My recording stops in the middle with an unknown picture type. At this
point, nothing I do other than reboot will restore VDRAdmin (probably the
most important feature of VDR IMHO). 

I have tried VDR 1.3.25, I have reverted to 1.3.20. I have taken the latest
versions of firmware, I have reverted to those that came with the card. 

Am I alone in thinking that, for anyone who wants to actually watch TV, the
answer is a SKY+ box. Please, god forbid it should come to that. 

What am I doing wrong here? 


HELP ! 


Adrian P Challinor
  
Stefan Taferner May 31, 2005, 5:26 a.m. UTC | #2
If you want to start a new discussion, please do not use reply.
Start a new message.

Otherwise its a contribution to the previous thread 
(here: Summary missing when using Text2skin), which is
obviously not your intend.

Kind regards,
Stefan
  

Patch

--- Enigma.skin.pre25	2005-05-30 02:03:50.000000000 -0700
+++ Enigma.skin	2005-05-30 14:15:25.000000000 -0700
@@ -661,13 +661,13 @@ 
 		</block>
 		
 		<!-- Menu-text -->
-		<block condition="{MenuText}">
+		<block condition="{RecordingDescription}">
 			<!-- background -->
 			<rectangle x1="0" x2="-95" y1="30" y2="93" color="MenuAltBG"/>
 			<rectangle x1="0" x2="-1" y1="94" y2="-31" color="MenuAltBG"/>
 			
-			<scrolltext condition="equal({MenuTitle:clean},trans('Summary'))" x1="10" x2="-106" y1="35" y2="-36" font="Vera.ttf:22,85" color="MenuTxtFG">{MenuText}</scrolltext>
-			<scrolltext condition="not(equal({MenuTitle:clean},trans('Summary')))" x1="10" x2="-106" y1="35" y2="-36" font="VeraMono.ttf:22,85" color="MenuTxtFG">{MenuText}</scrolltext>
+			<scrolltext condition="equal({MenuTitle:clean},trans('Summary'))" x1="10" x2="-106" y1="35" y2="-36" font="Vera.ttf:22,85" color="MenuTxtFG">{RecordingDescription}</scrolltext>
+			<scrolltext condition="not(equal({MenuTitle:clean},trans('Summary')))" x1="10" x2="-106" y1="35" y2="-36" font="VeraMono.ttf:22,85" color="MenuTxtFG">{RecordingDescription}</scrolltext>
 		</block>
 		
 		<!-- Show recordings (in all menus except 'Extended EPG-info' and 'MenuText') -->