NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 65 66 67 68 69 … 93 Next »
skinHelper.getNamedImage - test image exists...

 
  • 0 Vote(s) - 0 Average
skinHelper.getNamedImage - test image exists...
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2005-11-09, 08:33 AM
Hi

Is there any way of testing that an image exists, before trying to call it??

So i could go call something else if it wasn't there. i suppose i could do it by reading the xml directly, or a big try catch section...but wondering if there's anything "nice" already to do it for me.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2005-11-09, 03:44 PM
In the next release, there is a SkinHelper.checkCompositeImageDefined() method. I should note, that I havnt done the same for fonts etc. I just did this one because I needed it.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2005-11-09, 06:53 PM
Cool, now I need it as well.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Test/Development environment for npvr.db3 scJohn 10 4,283 2020-09-04, 09:14 PM
Last Post: scJohn
  Coverart / fanart image sizes??? bgowland 3 2,209 2014-02-16, 11:50 PM
Last Post: bgowland
  Where does this image come from? bgowland 4 2,354 2013-02-13, 07:26 PM
Last Post: bgowland
  Problem with preview image for Pending Recordings Northpole 2 1,981 2012-08-14, 02:56 AM
Last Post: Northpole
  FanArt & displaying a background image Jaggy 2 1,699 2012-01-31, 11:39 PM
Last Post: sub
  Which channel logo image formats does npvr support? bgowland 2 2,066 2011-03-06, 05:43 AM
Last Post: bgowland
  Image Caching imilne 6 2,520 2011-01-01, 11:45 PM
Last Post: sub
  SkinHelper fall back to Default ACTCMS 4 1,960 2010-10-31, 03:03 PM
Last Post: ACTCMS
  draw image border herrmannj 8 2,599 2010-01-13, 09:46 PM
Last Post: herrmannj
  OSD Image Ommina 2 1,837 2009-10-31, 07:01 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode