SageTV Community  

Go Back   SageTV Community > SageTV Customizations > SageTV Studio

SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-17-2006, 09:36 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
Is MediaFile Required?

I have some JPEG images that I want to show thumbnails of in a menu. The only way I have been able to get them to show is to do something similar to the following:

Code:
+ currFile = new_java_io_File(filename)
  + if GetMediaFileForFilePath(currfile) == null
    + true
      + AddMediaFile(currfile, "")
        + Refresh()
          + GetThumbnail(GetMediaFileForFilePath(currfile))
    + false
      + GetThumbnail(GetMediaFileForFilePath(currfile))
        -pic- Untitled
My question is, do I really need to do the "AddMediaFile" or is there another way of pulling in the image? Is there really a problem doing the AddMediaFile, or am I worrying for nothing?

Thanks for any help!

Last edited by aperry; 04-17-2006 at 10:22 PM.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 04:43 AM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.