NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 51 52 53 54 55 … 93 Next »
@time and @date not updating

 
  • 0 Vote(s) - 0 Average
@time and @date not updating
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#1
2006-08-22, 09:02 PM
In another thread:

sub Wrote:This is really something you need to manage yourself. If you use the @time variable in a cached image, then it wont be updated. If you expect the user to use this variable, then you need to make sure that composite image is non-cached.

How do you make sure the image it not cached? I'm trying to use @time and @date but it never updates on the main menu or the built in plugins.

Can I add:

<DrawText text="@date" loc="25,6" size="150,34" textStyle="TitleDate" align="Left"/>
<DrawText text="@time" loc="585,6" size="120,34" textStyle="TitleTime" align="Left"/>

Somewhere outside <CompositeImage name="Background"...> and have it up date?

I'm trying to keep the time and date in the upper right and left corners on every screen/plugin. So the header is always the same except the Screenname/Title. It really helps give more feeling of uniformity.

Like this:
[ATTACHMENT NOT FOUND]

[ATTACHMENT NOT FOUND]

Another advantage is I (we) can simply copy and paste the Title stuff from one XML to another and have it work, rather than mess around with the clock in VA on the main menu, builtin cock in the TVGuide etc..

Sorry to be a pest, the more I skin the more I wan't to tweek. Big Grin

Thanks

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,723
Threads: 767
Joined: Nov 2003
#2
2006-08-22, 09:12 PM
Sorry, but this isnt going to work. Its not something you can just change in the skin files. Plugins need to have been explicitly coded to use SkinHelper.getNamedImageNonCached() instead of SkinHelper.getNamedImage() for the background for this to work, and would also need to return true to needsRendering() to force a screen update. Unfortunately that is not true for the majority of plugins.

It'll only really work with screens that are built to behave that way, like the TV Guide.
Digital712
Offline

Member

Posts: 67
Threads: 16
Joined: Dec 2005
#3
2006-08-22, 10:37 PM
Well, your no fun. Smile

I'll work around it the best I can then.

Thanks,

Tony
[COLOR="Navy"][SIZE="1"]AMD Athlon 64 X2 3800+, 1GB PC3200
ASUS A8N5X - nForce4 chipset
Geforce 6200TC 128MB PCIE
WinTV-PVR 500 MCE (With FM)
2 250GB SATA Seagate Barracuda's
Windows XP Pro SP2

Client: Wired Media MVP, Comcast Cable
[/SIZE][/COLOR]
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#4
2006-08-23, 02:06 AM
Digital712 Wrote:I'll work around it the best I can then.

Welcome to the world of skinning.....Wink
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Extending end time. mvallevand 5 4,096 2018-10-17, 01:21 PM
Last Post: jcole998
  Web Client: Slow with separate thread and date not obscured cncb 32 15,949 2016-10-10, 02:01 PM
Last Post: mvallevand
  Extending recording time mvallevand 2 2,458 2014-09-14, 01:04 AM
Last Post: sub
  Time to make Touch web Service less experimental fred250 106 28,308 2014-06-15, 09:13 PM
Last Post: fred250
  <StartTime> and <EndTime> time formats? spinnaker 3 2,489 2013-10-25, 01:48 AM
Last Post: spinnaker
  updating EPG reven 3 2,011 2012-11-30, 09:05 PM
Last Post: reven
  SQL SELECT DISTINCT (and not distinct at the same time) bgowland 2 3,998 2012-01-22, 10:19 PM
Last Post: bgowland
  Date Time display Northpole 0 1,452 2011-08-01, 04:28 PM
Last Post: Northpole
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,101 2011-03-12, 05:26 AM
Last Post: bgowland
  Suppressing the Date/Time field from global.xml ACTCMS 7 3,188 2010-11-18, 01:36 AM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode