|
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 |
#201
|
|||
|
|||
Quote:
|
#202
|
||||
|
||||
Actually sage can use 3d apis and I think they even include opengl libs with the application. The phoenix apis doesn't use the opengl apis, and I'm not sure if the opengl apis have the image apis that would be needed to create a 3d transform. Phoenix could bring in other 3rd party libs (java3d), but we just opted not to do so at this this point.
__________________
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 |
#203
|
||||
|
||||
Sean,
First time really messing with your API (or studio at all for that matter). My question is this. Is there a way to grab fanart based strictly off a title? Currently, it seems phoenix_api_GetFanartBanner and it's cousins require a MediaObject, then it seems it pulls the title from that. Is there a way to just pass it the title? I'm trying to work from a list of plain titles, and draw the banners, but am unable to do it through phoenix. (I suppose I could build the paths myself, but that's hardly as robust as sticking with the API). Thanks Chris
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 09-29-2009 at 06:19 PM. |
#204
|
|||
|
|||
Quote:
You can string it together yourself as you already said by using GetFanartCentralFolder() not ideal but I have done it this way in the past. That said if you have the title you should be able to have the object to pass? |
#205
|
||||
|
||||
Quote:
not really... this is part of the malore menus, and the grouping is done separately from the display. The grouping creates basically a text array of the display names for the left pane. To use the3 original object, I will have to create my own array that stores the paths, associated with the display names, back when the groups are created, and reference that array when drawing the display. Since phoenix just uses the title that it gets from the object anyways to get the fanart, I figured it would make more sense to just call phoenix at display time with the title.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#206
|
|||
|
|||
Quote:
|
#207
|
||||
|
||||
Quote:
sagex.phoenix.fanart.FanartUtil.getCentralFanartArtifact(MediaType mediaType, MediaArtifactType artifactType, String title, String centralFolder, Map<String,String> metadata) : File mediaType is an enum in, sagex.phoenix.fanart.MediaType, and artifactType is an enum in sagex.phoenix.fanart.MediaArtifactType. So, if you wanted the poster file for a given title, for a tv show, you'd use something like. Code:
FanartUtil.getCentraFanartArtifact(MediaType.TV, MediaArtifactType.POSTER, title, centralFolder, null) hte Map in the last parameter can hold, "SeasonNumber", if you know the specific season, and then it will attempt to get the fanart for a specific season.
__________________
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 |
#208
|
||||
|
||||
Excellent. Thanks sean, I had figured as much, just didn't know if it'd be exposed or not. This should work for what I'm trying to do.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#209
|
|||
|
|||
Noticed a little oddity but not sure that it needs to be fixed because not sure many import their directories as such and I think it is the intended way for it to work.
GetRelativePath returns the relative path based of the import directory I am guessing so sometimes same name folders get grouped together example you have two directories \\servershare\house\season 1\ \\servershare\friends\season 1\ when you add the import libraries to sage you map to season 1 instead of the base of "servershare or the base of "house". It will then group the season 1's together vs under friends and house respectively. Now again I don't know many people that would map their directories like this but just wanted to point it out incase any with sagemc or phoenix does and notices this behavior. Hopefully I explained that okay. |
#210
|
||||
|
||||
I don't understand and is this a phoenix api issue?
__________________
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 |
#211
|
|||
|
|||
I am actually not sure need to check more not sure if it is a phoenix api issue or the way sagemc is using the call phoenix_api_GetReletivePath.
|
#212
|
||||
|
||||
If you have the same directory structure in multiple library import directories, they will be grouped together. This is by design.
So if your import path is \\servershare\, then your structure in SageMC will be house\season1\ friends\season1\ If your import directories are \\servershare\friends\ \\servershare\house\ then your structure in SageMC will be season1\ containing all of the season1 episodes of Friends and House. Is this what you are seeing? Obviously the first example is the recommended configuration. Aloha, Mike
__________________
"Everything doesn't exist. I'm thirsty." ...later... "No, it's real!!! I'm full." - Nikolaus (4yrs old) Last edited by MeInMaui; 10-06-2009 at 12:44 PM. |
#213
|
|||
|
|||
Quote:
|
#214
|
|||
|
|||
I was getting ready to install PluckyHD's Sage Movie Wall and noticed that it requires Phoenix API 1.44 or greater. I have BMT 3.1 and it comes with 1.43 and the download link for the Phoenix API is build 1.42. Can anyone tell me where to find 1.44?
Thanks, Dan |
#215
|
|||
|
|||
Hello,
Check out the bottom of this post, it has the 1.44 zip file... http://forums.sagetv.com/forums/showthread.php?t=38221 Thanks, Jeff |
#216
|
|||
|
|||
I like to put all my TV content in 1 folder. So it would be
\\share\videos\TV\Friends\* where * is all the episodes, regardless of season. All episodes are under the Friends folder, can I get fanart to show up like this, or do I have to create the season folders? I'm using BMT so the season fanart folders were created, with posters, backgrounds, and banners in the central fanart folder, but they don't show up in SageMC. I'm not sure what version of phoenix I'm using, the manifest says 1.0, so i'm not sure if this has changed in later versions or not. |
#217
|
|||
|
|||
Quote:
You shouldn't have to make individual season folders or at least I don't with TVE |
#218
|
|||
|
|||
So SageMC can't use a central fanart location for TV shows?
|
#219
|
||||
|
||||
SageMC can handle the central fanart location. It just can't handle season specific fanart.
|
#220
|
||||
|
||||
Not sure on that... I think the new versions of the Phoenix API return season specific fanart if they are available, so if SageMC is simply calling the phoenix API, it SHOULD work to get season art... really only one way to find out. Put in the newest Phoenix jar file, and give it a shot.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
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 |