SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2007, 10:03 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
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:
Is there a resource that outlines all possible fields in a .properties file?
The currently valid properties are listed here. Each property must be on a single line, just like sage.properties. That post also shows a file naming example.

Quote:
How do you set SageTV to create .properties files for your imported or recorded TV? Where does this file get stored?
SageTV does not create the metadata properties files; they are user-created files for use with imported media & are put in the same place where the media file is located.

Quote:
Do you need to use the Default STV to use the .properties files?
The STV does not use the metadata properties files at all. The files are read when its associated media file is imported. And, it is only read when the media file is imported. If the metadata in the properties file changes, you'll need to update the time stamp on its media file so SageTV sees that the media file is newer & reimports it during the next library import directory scan.

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.
Reply With Quote
  #2  
Old 07-17-2007, 07:29 PM
Armondole's Avatar
Armondole Armondole is offline
Sage User
 
Join Date: Mar 2006
Location: Ottawa, Canada
Posts: 67
Thanks Opus4.
Reply With Quote
  #3  
Old 07-17-2007, 11:37 PM
JREkiwi's Avatar
JREkiwi JREkiwi is offline
Sage Icon
 
Join Date: Jan 2005
Location: Auckland, New Zealand
Posts: 2,059
Quote:
Originally Posted by Opus4 View Post
SageTV does not create the metadata properties files; they are user-created files for use with imported media & are put in the same place where the media file is located.
<shameless plug>And of course you can create metadata properties files using this import for the Default STV.</shameless plug>

John
Reply With Quote
  #4  
Old 07-21-2008, 12:01 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
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
Reply With Quote
  #5  
Old 07-21-2008, 12:59 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
I asked the same question in another thread.... I was told to use / instead of ;
Reply With Quote
  #6  
Old 07-21-2008, 02:42 PM
jusjoken jusjoken is offline
Sage Icon
 
Join Date: Dec 2005
Location: Minneapolis MN
Posts: 2,170
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).
Reply With Quote
  #7  
Old 07-22-2008, 04:17 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 1,806
Quote:
Originally Posted by jusjoken View Post
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).
I filed a bug report on this last September (see my post above here), but never got a response. I haven't noticed any rev notes in the Beta's to indicate that they have done anything to improve the MetaData handling in more recent versions...

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: Athlon II X4 630 CPU, Gigabyte MA770T-UD3P (AM3) Motherboard, VisionTek Radeon HD4670 PCIe w/ Component output to 50" CRT Rear-Projection HDTV (Mitsubishi), Win7-64Bit (Home Premium), 4GB RAM
Capture Devices (8 tuners): Colossus (x1), HD-PVR (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250
Reply With Quote
  #8  
Old 07-22-2008, 07:08 PM
jusjoken jusjoken is offline
Sage Icon
 
Join Date: Dec 2005
Location: Minneapolis MN
Posts: 2,170
Quote:
Originally Posted by Tiki View Post
I filed a bug report on this last September (see my post above here), but never got a response. I haven't noticed any rev notes in the Beta's to indicate that they have done anything to improve the MetaData handling in more recent versions...

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.
I have also filed a bug report for this.
Reply With Quote
  #9  
Old 07-23-2008, 02:33 PM
jusjoken jusjoken is offline
Sage Icon
 
Join Date: Dec 2005
Location: Minneapolis MN
Posts: 2,170
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.
Reply With Quote
  #10  
Old 01-02-2009, 10:21 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Question Explaination of Specific Video Properties

As per the this post, it lists the following properties for music and videos.
Quote:
* Title
* Album
* Artist
* AlbumArtist
* Composer
* Track
* TotalTracks
* Year
* Comment
* Genre
* GenreID
* Language
* Rated
* RunningTime
* Duration
* Description
I'm wondering if someone could explain the following properties as it relates to Videos.
  • Album
  • Artist
  • AlbumArtist
  • Composer
  • Track
  • TotalTracks
  • RunningTime
  • Duration

Thanks.
Reply With Quote
  #11  
Old 07-22-2008, 04:26 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,595
Quote:
Originally Posted by nielm View Post
And what is the GenreID field for?
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.
Reply With Quote
Reply

Tags
metadata


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:02 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.