|
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 |
#1
|
||||
|
||||
Details about metadata properties files
I was asked for more info about metadata properties files & since I would rather this be on the forum for everyone to read or comment on, here is the info that I can think of at the moment:
Quote:
Quote:
Quote:
Once the media file is imported & the metadata properties file is read, the metadata is stored inside SageTV's database. The STV then has access to the data in the same way it would for any other info about a media file -- via API calls. Older posts that I found include this post, this post, and this topic: Metadata Properties Parsing. Note: As of v6.4, imported DVDs can use .properties files. To add a metadata properties file for a DVD, place the <DVDName>.properties file in the same folder where the DVD folder is located, so that the <DVDName>.properties file and the <DVDName> folder are in the same parent folder. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#2
|
||||
|
||||
Thanks Opus4.
|
#3
|
||||
|
||||
Quote:
John |
#4
|
||||
|
||||
Quote:
1. Sage only reads the .properties file when something changes with the media file. It does not monitor the .properties file itself for changes and there is no way to force it to update (aside from modifying the media file). 2. The property names are not consistent with the Sage API and STV. For example, the property called "genre" is used to specify the "category" (ie: Action, Sports, etc.). 3. Many properties that are settable through the Sage API and should be settable through the .properties file are not available. For example, there is no property for sub-category or for expanded ratings info. I took a look at JREkiwi's STVi for handling metadata (.my files and .properties files): http://forums.sagetv.com/forums/showthread.php?t=21629 It works pretty well, but it looks like he has to "cheat" to make it work. When he creates a .properties file, he includes fields that are not officially supported to hold the extra data (at least the fields are not listed in this post: http://forums.sagetv.com/forums/show...413#post211413 When you use this import to import or edit metadata from a .properties file, it is the STV that is parsing the data and then making API calls to update the database. If you tried to use one of the properties files generated by this import with the default STV, the data would not import properly. There is nothing wrong with JREkiwi's import. In fact it is quite nice. But since the .properties files cannot be imported correctly natively by the Sage core, there really doesn't seem to be any reason to use them instead of the .my files. I'm thinking I should probably file a bug report with Sage and move this discussion to another thread that is focused on metadata, but just wondering if anyone else has experimented with this and seen similar or different results?
__________________
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 Last edited by Tiki; 09-11-2007 at 01:45 PM. Reason: Noted that these issues are as of version 6.2.7 |
#5
|
||||
|
||||
Quote:
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#6
|
||||
|
||||
Just some extra notes about Sage's metadata properties, that is probably apparent to everyone except me
First, the property file name has to be the same as the filename. I took to this to mean that the property filename should be the same as the filename less the extension, which is NOT the case. Correct Metadata Naming Code:
Movie.avi Movie.avi.properties Incorrect Metadata Naming Code:
Movie.avi Movie.properties The thumbnail has to be the same name as the video file. Which after I got metadata working, I took to mean, filename + extension... which is wrong. It has to be the filename less the extension + the .jpg extension. Correct Thumbnail Naming Code:
Movie.avi Movie.jpg Code:
Movie.avi Movie.avi.jpg Sample for Correct Metadata and Thumbnail Code:
Se7en.avi Se7en.avi.properties Se7en.jpg Code:
Terminator/VIDEO_TS Terminator.properties Terminator.jpg I wrote a command line tool to generate metadata properties and thumbnails from movie file names (using imdb). You can download it here.
__________________
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 Last edited by stuckless; 07-22-2008 at 05:47 AM. |
#7
|
||||
|
||||
Quick question...
How can one assign multiple genres in a property file (like TV's category/subcategory)? as far as I can tell, you can only assign a single Genre: Genre=Action (semicolons don't work) And what is the GenreID field for?
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#8
|
||||
|
||||
I asked the same question in another thread.... I was told to use / instead of ;
__________________
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 |
#9
|
|||
|
|||
Using the Default STVs refresh method to import .properties including genre with either a "/" or a ";", neither seems to import the second genre listed into the SubCategory field in the database. The entire string in the genre= property line is imported into the Category field in the database.
If no one else has had any luck with the import working for multiple categories, then perhaps a bug should be opened with Sage. (PS: I am not sure this is real important to many users as I don't think the default STV used the Subcategory anywhere. I have customized my Video Browser so I could see the SubCategory based on imports I did with SageMC from DVD Profiler, so it would be nice if the genre imported properly). |
#10
|
||||
|
||||
Quote:
I just gave up and used the jrekiwi .my file import, but if someone else would file a bug report, maybe it would get more attention.
__________________
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 |
#11
|
||||
|
||||
I forgot to post this one earlier: GenreID is a number from numeric genres used in old ID3 tagging.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#12
|
|||
|
|||
Quote:
|
#13
|
|||
|
|||
I submitted a bug report regarding the import of the genre field from the .properties file and this was the response I got from Sage...
My example was "genre=comedy;action;drama" "Ken, This has now been updated for the next version. You'll be able to use a ';' or '/' to separate a category/subcategory description in the .properties files for metadata. It'll take everything after the first part and make that the subcategory, so for your example 'action;drama' would end up being the subcategory. Cheers, SageTV Support Team " And of course the Category would be "comedy" Ken Last edited by jusjoken; 07-23-2008 at 04:58 PM. |
#14
|
||||
|
||||
Explaination of Specific Video Properties
As per the this post, it lists the following properties for music and videos.
Quote:
Thanks.
__________________
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 |
#15
|
|||
|
|||
Outside utility for spawning "Properties" from directory structure?
Maybe this is a really ignorant question, but I'm new to this still, so feel free to peform a beat-down if I didn't search well enough before asking (thought I did!). Did find a very similar question HERE so I at least know I'm not alone in doing this (other question was about create-your-own properties, but would benefit from similar automation if filename structure already included some of the required fields).
This post from Opus describes the metadata fields. The BMT will try to populate a .PROPERTIES folder based on folder names (in the case of DVDs) and can be called up on a per-folder basis thru the Sage (or SageMC) interface. Obviously if the starting folder name isn't close enough though, things get wacky in a hurry....and then once a metadata search ends up CHANGING the name as shown in Sage, the IMDB search similarly goes wacky. I come from a digital photography background (well, attempted! ) where all the good organization programs (Lightroom, PhotoMechanic, etc.) allow metadata tagging on your pictures, and you can do it in a quick, automated fashion (select a bunch of pics in a directory-tile like view, enter the tags, and apply to all at once, even with tools to allow sequential numbering and the like). I understand multiselecting things thru the Sage interface isn't the right way to go about this, but if one already has proper directory structure, e.g. Battlestar Galactica --Battlestar Galactica Season One -- --Battlestar Galactica S01E01 -- -- --Video_TS folder (<---or co-named .avi, or .mkv, or whatever) -- --Battlestar Galactica S01E02 ..... ...it shouldn't be hard for someone good with coding (probably would be pretty slow for me, but I think even I could try to script something up that would run using VBscript or something) to parse the folder names, populate each directory name that's appropriate with a corresponding .PROPERTIES file that at least had the show title, season #, and episode # in it from the folder name supplied...after which the metadata tools should be able to "complete" filling the listing in pretty easily? Maybe that VBscript could even 'call' the BMT in a loop to fill out the population outside of Sage? Then you re-import the directory and have it all correct in one swoop? (Of course this is really only necessary when importing large numbers of incoming files...) Or am I missing something entirely here, and BMT already does work in true 'batches' but I'm just the idiot who's been trying to run it a single file at a time? I saw one external utility that imports one PROPERTIES file into another, but don' want to then hand-edit each one either. Is this idea somewhat viable? Does something like it already exist? UMMMM....re-reading Stuckless's description, that's exactly what BMT is supposed to do from a command-line. So, looks like I put my foot in it again. Sorry for the wasted post. Last edited by rtrski; 03-22-2010 at 12:59 PM. Reason: Still more rampant idiocy on display |
#16
|
|||
|
|||
Quote:
Thanks.
__________________
Will OS: Windows 7 Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max) Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6 Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR Players: 5 HD300s, 2 HD200s |
#17
|
|||
|
|||
Quote:
anyone?
__________________
Will OS: Windows 7 Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max) Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6 Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR Players: 5 HD300s, 2 HD200s |
#18
|
||||
|
||||
You don't need to set the duration, SageTV determines the duration when the DVD is imported.
John |
#19
|
|||
|
|||
Quote:
I am using DVDs as a ripped folder.
__________________
Will OS: Windows 7 Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max) Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6 Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR Players: 5 HD300s, 2 HD200s |
#20
|
||||
|
||||
Duration is a readonly field. I think this is a long standing sagetv issue... I don't think sagetv shows duration for DVDs... some plugins will show the Runtime field instead, which I think is populated by bmt/phoenix.
__________________
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 |
Tags |
metadata |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ASF and WMV files will not playback over network | JBurgin | SageTV Software | 8 | 11-08-2007 10:37 AM |
6.1.4 Metadata Properties Parsing | JREkiwi | SageTV Beta Test Software | 35 | 03-10-2007 08:39 PM |
Problem with importing ASF files | JBurgin | SageTV Software | 7 | 02-22-2006 10:10 AM |