SageTV Community  

Go Back   SageTV Community > SageTV Customizations > SageTV Customizations

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
Prev Previous Post   Next Post Next
  #11  
Old 03-22-2010, 12:05 PM
rtrski rtrski is offline
Sage User
 
Join Date: Mar 2010
Location: Texas
Posts: 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
Reply With Quote
 

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 09:37 AM
6.1.4 Metadata Properties Parsing JREkiwi SageTV Beta Test Software 35 03-10-2007 07:39 PM
Problem with importing ASF files JBurgin SageTV Software 7 02-22-2006 09:10 AM


All times are GMT -6. The time now is 12:27 AM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.