SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-05-2010, 07:02 AM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
Metadata issue

I have just installed the latest beta(7.0.12) and it created a properties file for an imported video that seems to somewhat repeat information.
Why is this doing this and what can I do to prevent it?
Example:
Rescue Me: Sanctuary

Actor=Denis Leary -- Tommy Gavin

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera;Diane Farr

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera;Diane Farr;Jack McGee -- Chief Jerry Reilly

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera;Diane Farr;Jack McGee -- Chief Jerry Reilly;James McCaffrey -- Jimmy O'Keefe

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera;Diane Farr;Jack McGee -- Chief Jerry Reilly;James McCaffrey -- Jimmy O'Keefe;Mike Lombardi -- Mike Silletti (Probie)

Actor=Denis Leary -- Tommy Gavin;Andrea Roth -- Janet Gavin;John Scurti -- Lt. Kenneth "Lou" Shea;Daniel Sunjata -- Franco Rivera;Diane Farr;Jack McGee -- Chief Jerry Reilly;James McCaffrey -- Jimmy O'Keefe;Mike Lombardi -- Mike Silletti (Probie);Steven Pasquale -- Sean Garrity
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #2  
Old 08-05-2010, 07:10 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
This would be a plugin issue. More than likely BMT and not a SageTV 7 beta issue. Sage won't create .properties files for metadata. It will read them.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 08-05-2010, 08:43 AM
FidgetyRat's Avatar
FidgetyRat FidgetyRat is offline
Sage Aficionado
 
Join Date: Jan 2006
Posts: 492
Indeed that is a BMT issue. I posted something not too long ago about fanart doing the same issue in .properties. Seems some kind of limitation they are aware of, but if I remember, its not something thats a priority to fix.
__________________
Server: 2.6Ghz Pentium Dual Core, 2GB RAM. 3x PVR-150, 1.5TB HDD. Geforce 7300GS, Sage 7.0.15
Client: Jetway ION-Top - Dual core ATOM 1.6 & NVIDIA ION
NAS: QNAP TS-419P 3.7TB Raid-5

Special thanks to tmiranda for making my 24h time format dream a reality. See here for more details.
Reply With Quote
  #4  
Old 08-05-2010, 09:11 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
It's a limitation of the way sage writes the .properties file (it IS sage that creates the file, whenever a 3rd party changes metadata). You can actually turn off .properties file generation, if you don't need them. they aren't really required by the newer versions of .BMT, as it talks to sage directly to change the data.
__________________
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
Reply With Quote
  #5  
Old 08-05-2010, 09:35 AM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
I'd like to keep the properties files without any of the extra junk in them.
Is BMT installed by default in the new beta versions? I have never installed it manually...
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #6  
Old 08-05-2010, 10:19 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
No, it's not installed by default, none of the plugins are.
Reply With Quote
  #7  
Old 08-05-2010, 11:22 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by Fuzzy View Post
It's a limitation of the way sage writes the .properties file (it IS sage that creates the file, whenever a 3rd party changes metadata). You can actually turn off .properties file generation, if you don't need them. they aren't really required by the newer versions of .BMT, as it talks to sage directly to change the data.
The only problem with turning off .properties file generation is that if you do a reindex then you'll lose that information (in Detailed Setup->Advanced). That's the reason the core writes them out.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #8  
Old 08-05-2010, 05:47 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
Narflex,
So by default Sage is creating these properties files?

And if so, the repeating info problem is a known bug?
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #9  
Old 08-05-2010, 06:32 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
sage, by itself, wont create them. it, by default will create them when something calls the setmediafilemetadata api call. the 'problem' is that it apparently doesn't reparse the file to check for an existing tag, but instead just appends the new info to the end. BMT, builds its list as it goes, which is why you see the redundant info.

so, what you are seeing is a combination of a few different quirks in how BMT and sage each work.
__________________
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
Reply With Quote
  #10  
Old 08-05-2010, 07:39 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
So is there a work around to this problem? Or should I disable the plugin?
I have the following installed:
SageTV H2 Database 1.0.7
Pheonix Core Services 2.0.6
IMDB Search 7.1.2 (This is the only plugin I have manually installed)
MBDiamond 1.6.1

What should I disable to stop Sage from appending my properties files?
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #11  
Old 08-05-2010, 08:48 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
no, there's no 'workaround' currently, as it's not functionally a problem. Everything still functions just fine, even when importing files with those redundancy filled .properties files. Sage imports the files, and does the metadata replacements from the top, so the last entry for any given field will be the one that remains in sage.
__________________
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
Reply With Quote
  #12  
Old 08-06-2010, 04:35 AM
can3gxw can3gxw is offline
Sage Advanced User
 
Join Date: Sep 2008
Location: NB, Canada
Posts: 219
Duplicating information in .properties file

Just found this thread in the Sage 7 Beta section, so I though that I would post the link here in case there is a solution or perhaps no one else has reported it.... I am guilty of the latter myself...

http://forums.sagetv.com/forums/showthread.php?t=50014

What they are talking about is the duplication and the constant appending that is going on when BMT (assumption here...) reads and builds the .properties file when pulling the metadata... here is what the .properties file starts to look like:

Quote:
snip
This was taken directly from the above thread, but I have this on all of my latest .properties files....

* merged *
__________________
Gregg
Reply With Quote
  #13  
Old 08-06-2010, 05:48 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
The BMT search logic is now built into the Phoenix core you have installed, and I'm guessing the IMDB search calls that API too.
Reply With Quote
  #14  
Old 08-06-2010, 09:14 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
BTW: In case it wasn't clear from other posts above, the lines people are calling duplicates are from appending the updated metadata any time the SetMediaFileMetadata() API call is used to set metadata. This is done so the changed data is kept up to date even if a reindexing import library scan is done, or else if not for the updated properties file, the metadata could be lost, the metadata could be lost.

Why append the lines instead of rewrite the metadata? That is done to preserve any manual editing changes the user might have done to the file.

- 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


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

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
Metadata is gone? hucker SageTV v7 Customizations 0 05-28-2010 12:48 AM
Music and metadata Petrucci SageMC Custom Interface 0 01-25-2010 10:49 AM
another Metadata issue! theiceman1973 SageMC Custom Interface 3 10-17-2009 03:57 AM
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
Can't get metadata to import.. mage_tiko SageMC Custom Interface 3 01-13-2009 10:31 PM


All times are GMT -6. The time now is 08:08 PM.


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