|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#141
|
|||
|
|||
Quote:
Now onto another subject I know we have touched on time and time again the overlay call I think I finally have it write here is the log entry Code:
{name:overlay,image: 'C:\SageTV\SageTV\STVs\SageTV3\SageMCE\PLuckyhdSMWScreens\Themes\Joker\joker card.png',opacity:.5,x:100,y:100} to id: C:\FANART\Movies\Transformers\Posters\Transformers.jpg; tag:f9957d961c05d5de187e349a11be8883 Code:
image = "name:overlay,image: '" + GetPathParentDirectory( GetDefaultSTVFile() ) +"\\SageMCE\\PLuckyhdSMWScreens\\Themes\\Joker\\joker card.png',opacity:.5,x:100,y:100" Code:
phoenix_api_CreateImage(GetElement(WallPosters,0)," {" + image + "}",true) O am sure I am wrong somewhere again |
#142
|
|||
|
|||
Let me rephrase this question. It appears from the phoenix documention that it should be logging the images it is caching from LoadImages. Is there a way to enable phoenix logging that I am missing because it doesn't appear to be logging it. I am just trying to verify it is working.
Last edited by PLUCKYHD; 07-21-2009 at 05:56 AM. |
#143
|
||||
|
||||
Sorry Plucky... been a busy couple of nights (non sage related)
Your first post about the overlay not working.... It looks correct, as far as I can tell, so the only thing that I can think is perhaps the file is not valid. Actually 1 little thing that I did notice is that you have space before the opening bracket (" {") and I don't think that should matter, but it may?? As for the loadimages, it takes an array of images, either File objects, String paths, or Sage MetaImage object.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#144
|
|||
|
|||
Quote:
I will check the space I don't think it should matter ether I now the filepath is valid but maybe it is the fact I am trying to overlay a png of a jpeg?? Yeah I am passing it an array of images is there a way to turn logging on for it or should it log automatically and if it is not I am not doing something right? I know the arrays I pass to createimages log accordingly but I don't seem to get anything in the log for loadimages. thanks again |
#145
|
|||
|
|||
Quote:
|
#146
|
|||
|
|||
Stuckless before you go on a month dissapearance (well deserved)
What does added support for sage metaimage mean in the latest release? I still don't think loadimages is working because it isn't logging out. If I call sages default loadimage(loadimage(img)) they seem too load into cache as expected cheers and enjoy your time away. |
#147
|
||||
|
||||
It was a quick fix where if createimage was called with a sage metaimage and a transform, then the cache would always return the same cached image, no matter if the sage image changed.
I never looked at load images, but all load images does is call sage LoadImage on a bunch of images. It's purpose is to load a bunch of images into the sage UI cache. It does not read from the image transform cache and it does not use any transforms, etc.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#148
|
|||
|
|||
Quote:
As for the loadimages yes I am building an array posterarray = newarray hasfanart = true getimage(path,"tag") != null true addtoarray(getimage(path,"tag") else addtoarray(creatimage() ) then loadimages on that array. I notice if I change the addtoarray and just call sage default loadimage it doesn't work either but if I call it twice as suggested by sage loadimage(loadimage(GetImage(path,"tag")) it will load it into cache and log it. cheers. |
#149
|
||||
|
||||
Sean,
A couple of questions: There is no phoenix_api_HasFanartActor() listed in the documentation (first post in this thread). Is that an error in the docs or does the API not exist? How do the Genre APIs work? The first post lists them as: Code:
phoenix_api_GetFanartGenre(Object mediaObject, String genre) : String phoenix_api_GetFanartGenres(Object mediaObject, String genre) : String[] - Does the call return Backgrounds, Banners, or something else? - Are the Genre images automatically downloaded by BMT and where are the images stored? (Or where should they be stored if BMT doesn't download them?) Thanks, Tom
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#150
|
||||
|
||||
Another question. If I'm using the phoenix APIs on a client, will the APIs fetch the fanart from the server or the local client?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#151
|
|||
|
|||
Quote:
First on the hasfanart actor is doesn't exist I do a null check on it ( I pretty sure it returns a null if nothing is found) so code is Code:
If phoenix_api_GetFanartActor(null,"Mel Gibson") != null As for the genre call the second string is the genre you want to pull I don't use these but it would go something like Code:
phoenix_api_GetFanartGenre(null,"Horror") Last edited by PLUCKYHD; 08-02-2009 at 06:56 AM. |
#152
|
|||
|
|||
Depends on where you fanart directory is for the client. I use a unc path so all my fanart stays in one place regardless of client/extender. It will download to the path of the machine client/sever. you are on. I suggest using one unc path for server/client/extender that way your fanart is only stored once.
|
#153
|
||||
|
||||
Thanks Plucky.
So to clarify one more thing, Genre Fanart only supports backgrounds? There are no Banner-related Genre APIs?
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#154
|
|||
|
|||
Correct there was talk back a couple of pages I think stuckless was/is going to add banners and posters for genres but hasn't been done yet.
|
#155
|
|||
|
|||
There appears to be Incompatibility between BMT and the latest Phoenix Api 36. I updated to the latest Phoenix api and getting an error.
Error Below. You Have an incompatible version (null) of phoenix.jar installed Please update to version null or higher!. Is there any way I can get the previous jar of phoenix? Fan Art is working but If I hit back etc... The error pops up.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 08-03-2009 at 09:53 AM. |
#156
|
|||
|
|||
Quote:
|
#157
|
|||
|
|||
PluckyHD,
The problem is that if I install BMT then the Phoenix API fanart displays but it will not download new fanart at all. If I install the Phoenix API first then the BMT... fanart will display and download but if I hit home or back I get that error. The jar that comes with Phoenix APi is dated 7/04/2009 That phoenix jar that comes with BMT is dated 4/30/2009. Using the New Phoenix api I get this error when I try to download fanart. Mon 8/3 9:39:09.047 [AWT-EventQueue-0@1fee6fc] EXCEPTION in getValueAsObject:sage.a.e: Error in method reflection of phoenix_api_UpdateMediaFileMetadata of java.lang.reflect.InvocationTargetException forhoenix_api_UpdateMediaFileMetadata(Airing, Result)
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 08-03-2009 at 10:40 AM. |
#158
|
||||
|
||||
Grab the full Phoenix api v1.36 download and install it. I didn't have all of the necessary supporting files in the SageMC download. I updated the download last night.
Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#159
|
|||
|
|||
Mike,
I have installed the full api Have you tried downloading fanart for something New or even deleted fanart for an existing series and try to download again... you will see it will not download at all.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#160
|
||||
|
||||
Phoenix doesn't currently support different types of Genre fanart. It doesn't know if it is a banner, background, poster, or something else. Stuckless didn't really understand how some of us wanted to use the Genre fanart when he added this. I think he will change it in the next release to support Banner, Background, and Poster Genre art.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2),USBUIRT (multi-zone) Source: Comcast/Xfinity X1 Cable Primary Client: Server Other Clients: (1) HD200, (1) HD300 Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE, HDHR, HVR-2250, HD-PVR |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Phoenix card reader | gravis12 | Hardware Support | 0 | 03-30-2008 01:38 PM |
Missing API? | GKusnick | SageTV Studio | 0 | 01-16-2007 08:48 PM |
API Changes in 5.0 ? | dflachbart | SageTV Studio | 11 | 05-09-2006 03:21 PM |