|
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 |
#241
|
||||
|
||||
Wow, looks like you've been busy...
This should be cool. I'll try to give it a look in the next couple of days. One question: Quote:
If we don't manually set a default image, will the API still return the first file from the appropriate fan art folder (Alphabetically)?
__________________
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 |
#242
|
||||
|
||||
Quote:
__________________
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 |
#243
|
||||
|
||||
Sean,
Thanks for the update! I took a quick look at the changes and I think this will make things easier for sure. I do have a question. I think themoviedb and thetvdb support genres and actors. Is there a way to interface to that so we can automatically fetch genre and actor images as well as images based on the title? Do we use one of the GetMetadataSearchResults methods? I'm going to start to update my "Phoenix Fanart for Default" STVi and will let you know if I find any problems. 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. |
#244
|
|||
|
|||
Quote:
|
#245
|
||||
|
||||
Quote:
Quote:
__________________
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 |
#246
|
||||
|
||||
GetRandomElement
Sean,
Have you changed the GetRandomElement method? In the previous builds I've used GetRandomElement(GetFanartBackgrounds()) to generate a random background, but in this latest build I always get the first image. 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. |
#247
|
||||
|
||||
Tom, I didn't change any of the utility methods. Are you sure GetFanartBackgrounds() is returning more than 1 item?
__________________
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 |
#248
|
||||
|
||||
Sean,
It is working. User error was causing the problem. 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. |
#249
|
|||
|
|||
Hey Sean,
I just tried out phoenix build 1.57 with TVE and am having issues. Build 56 works fine. Build 57 causes lots of exceptions. I dont use the Genre and Actor apis so i figured it should work without problems... It looks like its failing when trying to apply the transform... Snippet from the log (also attached the full log ... ): Code:
Sun 1/24 15:01:49.523 [AWT-EventQueue-0@1a8c4e7] Caused by: java.lang.NullPointerException Sun 1/24 15:01:49.524 [AWT-EventQueue-0@1a8c4e7] at sagex.phoenix.image.RoundedCornersTransform.transform(RoundedCornersTransform.java:23) Sun 1/24 15:01:49.524 [AWT-EventQueue-0@1a8c4e7] at sagex.phoenix.image.TransformFactory.applyTransform(TransformFactory.java:70) Sun 1/24 15:01:49.525 [AWT-EventQueue-0@1a8c4e7] at phoenix.ImageAPI.cacheImageTransform(ImageAPI.java:440) Sun 1/24 15:01:49.526 [AWT-EventQueue-0@1a8c4e7] ... 66 more Sun 1/24 15:01:49.526 [AWT-EventQueue-0@1a8c4e7] java.lang.RuntimeException: Failed while applying transform: name:rounded,arcSize:40} to id: \\svr1\sage\Fanart\Movies\Expelled No Intelligence Allowed\Banners\Expelled No Intelligence Allowed.jpg; tag:TVExplorerBanners Sun 1/24 15:01:49.526 [AWT-EventQueue-0@1a8c4e7] at phoenix.ImageAPI.cacheImageTransform(ImageAPI.java:442) Sun 1/24 15:01:49.527 [AWT-EventQueue-0@1a8c4e7] at phoenix.ImageAPI.CreateImage(ImageAPI.java:343) Sun 1/24 15:01:49.528 [AWT-EventQueue-0@1a8c4e7] at phoenix.api.CreateImage(api.java:608) EDIT 2: Just changed the code slighty to use HasFanartPoster to test for the presence of backgrounds.... same result... also attached the code thats its running so you can see exactly whats in the stv.
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer Last edited by razrsharpe; 01-24-2010 at 02:25 PM. |
#250
|
||||
|
||||
@razrsharpe - It's likely that with the extensive changes in builg 57, I did break the HasFarnart APIs. I'll see if I have a unit test for those, and if not, then I all one and test this out. Hopefully it shouldn't be too much of an issue to track down.
__________________
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 |
#251
|
|||
|
|||
thanks ... while you're at it check the GetFanart APIs too because they were displaying the same results (when i was using them to test if fanart exists or not (ie != null)
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#252
|
||||
|
||||
Quote:
I need more info on the GetFanart issue. I currently run the apis through a battery of tests, and I haven't uncovered any issue with GetFanart. It turns out that I didn't have a test case for HasFanart... but I do now
__________________
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 |
#253
|
||||
|
||||
Sean,
Build 58 fixes the TVE problem problem. Thanks to you and razr. 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. |
#254
|
|||
|
|||
Quote:
Quote:
Quote:
EDIT: Was able to login remotely and test. Build 58 fixes all my issues. HasFanart and GetFanart are both working as i expect them to be... thanks again for the quick fix
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer Last edited by razrsharpe; 01-24-2010 at 07:12 PM. |
#255
|
||||
|
||||
Glad it's all working Now I can get back to bmt work
__________________
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 |
#256
|
|||
|
|||
SageTV v7.02?
@stuckless - was just clicking around on the Phoenix API google site, and I was surprised to see the latest build is called "SageTV v7.02 + Phoenix 7.zip"
Cat is out of the bag... is there some sort of collaboration going on with SageTV here? Is SageTV 7.0.2 imminent? Or is this some naming convention that you're using that isn't SageTV 7 related? Hmm.... http://code.google.com/p/sagephoenix/updates/list
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings) Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos) Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin) Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on) |
#257
|
||||
|
||||
Don't read too much in the numbering... It's nothing like that.... While sage is great in helping with the plugin community, it's not like we have any special treatment or influence when it comes to SageTV I think the general consensus with Phoenix is that it's not a short term project, and as such, it won't be released until probably SageTV provides a 7.x release (whenever that may be, is anyone's guess).
__________________
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 |
#258
|
||||
|
||||
That's what I get for typing too fast and not checking it afterward.
This is an internal build of phoenix (read nowhere near ready for public consumption) and it should have read "SageTV + Phoenix v7.02 7.zip". The version number refers to the phoenix build. Sorry for the confusion. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) |
#259
|
|||
|
|||
Get Fanart for TV Series
I can see how to use the api calls to get the fanart related to a TV episode but I am wondering how to use the api to specifically get the Series poster.
I assume if I request the fanart for a specific episode in Season 2 of a TV Series I will get the fanart from the following location... Fanart\TV\SeriesName\Season 2\Posters - is that a correct assumption? But how do I get the fanart for the Series itself which is stored in.... Fanart\TV\SeriesName\Posters ?? |
#260
|
||||
|
||||
Quote:
phoenix_fanart_GetFanartArtifact(MediFile, "TV", SeriesName, "Poster", null, null) All GetFanartXXX api calls ulitmately call this api... but with the last parameter blank, it will not attempt to local season specific fanart.
__________________
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 |
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 |