|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
|||
|
|||
Feature Request for CMT
For a lot of views in Sage, especially in Gemstone and Phoenix, you need Posters and Backgrounds. But some content, especially home movies, has no Fanart. Therefore is it possible to add a create Fanart functionality to CMT?
I can think of two easy ways to do this: 1 - Create a poster and/or background from the Sage generated thumbnail. It looks like the thumbnail files are all in one folder and named with the full file name, including server, path, and filename but without slashes or dots. So file \\server\folder1\folder2\filename.avi has a thumbnail of serverfolder1folder2filenameavi.jpg. So I guess this would entail copying this file to your Fanart folder to Movies\filename\Backgrounds\whatever.jpg and/or Movies\filename\Posters\whatever.jpg 2- Use a program that can create a jpg file with a video frame that is x seconds into the file. The jpg could be stored as either a poster or background. What do you think? p.s. I have also asked that this be added to BMT to do for a batch of files but it might be nice to be able to do from within the Sage UI.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#62
|
||||
|
||||
Wayner, I also would like to find an easy way to add fanart for home movies and video clips. It would be great to have an automated solution; or, at least a quick way to do this.
Can you post the full path to the image folder you're talking about in your first suggestion? I have a feeling it might not be that simple though. I've manually added fanart to a home movie before; but vaguely remember it being a painfully tedious process; which also included defining a category of home movie for the media file.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#63
|
|||
|
|||
Quote:
But presumably there are programs out there that can generate a thumbnail X seconds into a video file. Playback software like MPC-HC or VRD can all do this. A quick Google also brings up Thumbnail Me but I am not sure it this will work from a CLI, and movie thumbnailer (mtn). Browsing through the SageTV7 manual it looks like there is a ui/thumbnail_folder setting in the sage.properties file.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#64
|
||||
|
||||
No worries. Whenever you get home; and, have time, please post if you find a solution...
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#65
|
|||
|
|||
Quote:
Option in SageTV during playback: Option in Detailed Settings that turns it on: Or do you need something that does this for files listed as recordings?
__________________
"Keep your goals away from the trolls" |
#66
|
||||
|
||||
I didn't even know there was that option all this time I've used SageTV with the secret extras enabled! I wonder if that has any affect on Phoenix fanart. I just enabled it now.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#67
|
|||
|
|||
That is what I was looking for except I would like it to also generate a Poster and a Background, not just a thumb.
By the way the folder is: C:\Program Files\SageTV\SageTV\GeneratedThumbnails And here is an example of a filename: carnoustievideosHomeVideosMOV07911MPG.jpg This is a thumbnail for a file that is: \\carnoustie\videos\HomeVideos\MOV07911.MPG I ain't no regex expert but I have to think that it isn't too hard to take a full filename, including path, and strip out the "." and "\" and add on ".jpg" to get the Thumbnail name and then copy that to the relevant Fanart folder.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#68
|
||||
|
||||
Wayner, I knew that's exactly what you wanted (and what I want too); but didn't want to speak for you.
I have a feeling it's going to take more than just adding files/directories to the Phoenix central fanart repository though. I think BMT does something to associate default fanart poster/background/banner image files with an imported video. If someone made a plugin that automatically added a "Home Movies" Category and created respective phoenix fanart for it (when the user drops a media file in a predefined HomeMovies folder), the movie poster may look kind of bad due to incompatible aspect ratios. So, an option to just use a generic Home Movies poster might be needed. Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#69
|
|||
|
|||
Quote:
For my example above as long as there is an image file in %fanart%\Movies\MOV07911\Backgrounds then that will be used as the background and as long as there is an image in fanart%\Movies\MOV07911\Posters then that will be used as a poster. I think I can write the Groovy code to do this in SJQ, but it would be nice to (1) have a better hook in the UI to do this - hence CMT, or (2) have BMT do this on a scan of folders that are pre-defined as Home Movies. FYI - here is Stuckless' post on the Home Video functionality in BMT: Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#70
|
||||
|
||||
Quote:
MediaType = Movie MediaTitle = MOV07911 They can be set in either BMT, CMT, or the API SetMediaFileMetadata() John |
#71
|
||||
|
||||
I didn't know about the home videos support in BMT. So, at least that will take care of auto-assigning the category; which is what BMT's support does.
What I was trying to say earlier... the name of the video title is what's used for the fanart subdirectory; not, file name. So, just because a media file is called "MOV07911.mp4", doesn't mean "%fanart%\Movies\MOV07911\Backgrounds\background.jpg" will automatically display the background. At least, not for Phoenix "Movies" My "Home Movies" category doesnt even show up under any of the Gemstone Movie flows. However, it does show up under "Categories" standard SageTV Video imports menu with a thumbnail image (using the new secrets setting to create the thumbnail). For the sake of just trying, I did create a fanart folder with the name of my media file and respective background/poster subdir's and image files. I already have Phoenix "BG Fanart = ON" for "Category" menu. I didn't see a background image I had added; only for real movies. No surprise, unfortunately. We may be able to convince Stuckless from the forums to auto-assign Home Videos as Phoenix "Movies" under BMT. Currently there are three main Phoenix categories: Movies, TV, and Music. That way, we can see Home Movies under the Gemstone Movie Flows. Also, we could ask him to automatically assign Home Movies "Movie" title using the media file name (so, we can create a fanart folder for it and respective images). Edit: John basically summed it up in 3 lines. It needs to be assigned as phoenix media type "movie" and a media title name (from filename). This can be done programmatically/automatically in BMT. Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** Last edited by mkanet; 01-10-2014 at 12:36 PM. |
#72
|
|||
|
|||
@mkanet - I think as you were posting that John clarified some of these issues.
My Home Videos do show up as movies - but some, or perhaps all, of these videos were in my SageTV video library before I noticed the Home Videos categorization in BMT and setup my "\\server\videos\Home Movies" folder as a "Home Videos" folder in BMT. I will try adding some new files and see it they have any settings for MediaTitle and MediaType.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#73
|
||||
|
||||
Cool.. I'll try asking Stuckless if he wouldn't mind adding these enhancements. It could at least save us from having to define mediatitle/mediatype for every single home video.
Quote:
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming ***RIP SageTV*** |
#74
|
|||
|
|||
I did post this in the BMT forum a few days ago but haven't got a response. Perhaps stuckless is just busy with other stuff and doesn't have too much time to support BMT these days which is totally understandable.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#75
|
|||
|
|||
@BobPhoenix - that looks great but it only creates Thumbnails. I am thinking that we need to create at least Backgrounds that can be used in some views to see what videos you have.
Towards that end I have written some Groovy code that can run in SJQ to do this. If anyone wants I can post my code - it is kind of rough and doesn't work on all types of files.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#76
|
|||
|
|||
This plugin cannot be installed because sageex-api download fail.
http://forums.sagetv.com/forums/show...518#post561518
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#77
|
|||
|
|||
As of the most recent 9.0.x STVi's, the CMT plugin is now causing double-vision to occur on cast/crew lists. The CMT cast list show up first, and then the STV cast list follows a little bit further down the screen.
Edit: On further reflection this is probably a Sage v9+ situation where CMT should now be comparing its cast list to the one that Sage v9 has, and augmenting/replacing as needed, since Sage is tracking characters now. Last edited by Monedeath; 10-09-2015 at 04:54 PM. |
#78
|
||||
|
||||
Quote:
John |
#79
|
|||
|
|||
From memory, yes that was turned on. Will check later to see what happens when turned off.
|
#80
|
|||
|
|||
Creation was in fact on, could turn off the ALWAYS read .my file option, couldn't get it to not try to read the .my files in general. As such, double cast lists happen when it finds a .my file.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Read, Write and Edit Metadata | JREkiwi | SageTV v7 Customizations | 16 | 10-17-2011 12:15 PM |
Which fanart tool do I want | bialio | SageMC Custom Interface | 3 | 04-12-2009 03:25 PM |
Clean out old metadata created by My Movies before creating new metadata for SageTV? | Texas-Hansen | SageTV Customizations | 0 | 02-12-2009 10:31 AM |
DVD Collection Tool | deadend5001 | SageTV Customizations | 1 | 05-24-2008 11:26 PM |
translation tool | banjo | SageTV Studio | 0 | 04-23-2007 10:55 AM |