SageTV Community  

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

Notices

Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-01-2013, 12:54 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
BMT writing to DB ?

If the season and episode are missing from the Sage DB. Will BMT write it to the DB once it finds it from TheTVDB. I am testing rebuilding the DB from scratch using the Web Server and the season and episodes #'s are not included in the XML.. I was wondering and hoping the BMT will write it to the DB.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 07-01-2013 at 12:58 PM.
Reply With Quote
  #2  
Old 07-01-2013, 06:13 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by nyplayer View Post
If the season and episode are missing from the Sage DB. Will BMT write it to the DB once it finds it from TheTVDB. I am testing rebuilding the DB from scratch using the Web Server and the season and episodes #'s are not included in the XML.. I was wondering and hoping the BMT will write it to the DB.
If it's a recording an "Preserve Original Metadata" is enabled (it is by default), then it will not, for a recording. For imported media it will. And by "write to database", bmt, since calls the SageTV apis for setting such information, which ends up in the database (and properties files as well).
Reply With Quote
  #3  
Old 07-01-2013, 06:30 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
That means that if it has no season or episode information ... but it retrieves it from the TVDb for a sage recording that it will not make a call to write it to the Sage Db? or will it?

even if I have this checked.

Fill in Missing Metadata for Recordings
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 07-01-2013 at 06:33 PM.
Reply With Quote
  #4  
Old 07-02-2013, 06:41 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by nyplayer View Post
That means that if it has no season or episode information ... but it retrieves it from the TVDb for a sage recording that it will not make a call to write it to the Sage Db? or will it?

even if I have this checked.

Fill in Missing Metadata for Recordings
Fill in Missing Metadata works in conjunction with Preserve Original Metadata, in that Preserver Original Metadata will not attempt to update "original" fields even if they are empty... but with "Fill in Missing" checked, it will still not overwrite an original field, but it will update it, if it is blank... again ONLY for SageTV recordings.

Another option you can use to import/export metadata AND have it retain the existing Season and Episode information is to use the Batch Operation -> Export .properties operation from a BMT view. This will create a .properties file for each video item. Later when you re-import the video files, and the .properties exists, then SageTV will use all that data when adding it to the librarary. It should even retain whether or not it's a recording, and the Watched Status.
Reply With Quote
  #5  
Old 07-02-2013, 07:20 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by stuckless View Post
Fill in Missing Metadata works in conjunction with Preserve Original Metadata, in that Preserver Original Metadata will not attempt to update "original" fields even if they are empty... but with "Fill in Missing" checked, it will still not overwrite an original field, but it will update it, if it is blank... again ONLY for SageTV recordings.

Another option you can use to import/export metadata AND have it retain the existing Season and Episode information is to use the Batch Operation -> Export .properties operation from a BMT view. This will create a .properties file for each video item. Later when you re-import the video files, and the .properties exists, then SageTV will use all that data when adding it to the librarary. It should even retain whether or not it's a recording, and the Watched Status.
Thanks it works exactly how I wanted it to

Thanks a lot!!!!
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
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
Is it too late to start writing to the FCC? tvmaster2 The SageTV Community 31 04-04-2012 05:01 PM
Issues writing to WHS from Win7 madpoet General Discussion 4 09-13-2010 04:00 PM
writing customizations and plugins staubsaugen SageTV Customizations 1 10-18-2006 01:42 PM


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


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