NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 30 31 32 33 34 … 125 Next »
v0.99.12 @IsRecording object

 
  • 0 Vote(s) - 0 Average
v0.99.12 @IsRecording object
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#1
2007-02-27, 05:49 PM
Quote:- added ability to show some object in the 'next recording' panel when a recording is currently occurring. (via visible="@IsRecording" composite image element)
Can someone show an example of how this is added to the NextRecording.xml panel to show an object? :confused:

TIA Big Grin
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2007-02-27, 06:53 PM
example:

Code:
<settings>
    <!-- text style -->
    <TextStyles>
        <TextStyle name="NextRecording" color="LightGray" typeFace="Arial" size="13" style="bold"/>
        <TextStyle name="NextRecordingTitle" color="LightGray" typeFace="Arial" size="14" style="bold"/>
        [i]<TextStyle name="RecordingStyle" color="Red" typeFace="Arial" size="14" style="bold"/>[/i]
    </TextStyles>
    <!-- Composite Images -->    
    <CompositeImages>
    <!-- Next Recording -->
    <CompositeImage name="NextRecording" size="490,70">                        
        <DrawText text="@Status" loc="15,5" size="200,25" textStyle="NextRecordingTitle" align="Left"/>                    
        <DrawText text="@NextRecordingName" loc="30,30" size="320,20" textStyle="NextRecording" align="Left"/>            
        <DrawText text="@NextRecordingTime" loc="30,50" size="320,20" textStyle="NextRecording" align="Left"/>
        [i]<DrawText text="(Recording)" visible="@IsRecording" loc="15,5" size="320,25" textStyle="RecordingStyle" align="Right"/>[/i]
    </CompositeImage>                                        
    </CompositeImages>                
    <!-- special elements -->
    <SpecialElements>
        <SpecialElement name="NextRecording" size="490,70"/>
    </SpecialElements>    
</settings>
I've added the two lines shown in italics. The key is the visible="@IsRecording" part of the <DrawText>. It could be applied to image or whatever you want.
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#3
2007-02-27, 07:15 PM
Thanks! Cool
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Object reference not set to an instance of an object when using music player ryanmc 6 1,639 2006-10-28, 03:32 PM
Last Post: spyder40
  VolumeOSD issue - getting the object reference error skoodog 1 1,078 2006-09-22, 08:04 AM
Last Post: McBainUK
  Video Archive Object error jam_zhou 3 1,778 2006-08-13, 01:25 PM
Last Post: jam_zhou
  MyMusic v2.1.0.2 Object reference error xinl 4 1,968 2006-07-02, 04:12 PM
Last Post: Decadent Fool
  My Pictures Object Ref Error mtags 3 1,370 2006-01-12, 09:22 PM
Last Post: reven
  UKCinemaListings - Error:Object reference.. grazbo 1 1,130 2005-11-20, 04:24 PM
Last Post: McBainUK
  My Pictures -- Invalid object reference BobAtTorrey 7 2,208 2005-10-27, 06:24 PM
Last Post: reven
  MY Music - Object In Use Elsewhere tkgafs 6 2,533 2005-09-24, 04:03 PM
Last Post: reven
  Xrecord 0.35 - object ref not set to an instance of an object jonmck 8 2,002 2005-08-24, 06:06 PM
Last Post: jorm

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode