|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Renaming folders and files
I am assuming if I rename a file that it will lose its metadata since the metadata resides in wiz.bin and is keyed to the file name. Is that correct?
What about if I rename a folder above where the file resides - ie I change from: \\server\videos\Dora\Boo!.avi to \\server\videos\Dora the Explorer\Boo!.avi I want to change all of my folder names to be consistent with the Show Title to facilitate moving files automatically via the Sage Transcoder and SJQ. Will that also hose the metadata? Can I resolve this problem by creating .properties files before doing the change - will the metadata (including Fanart - assuming that the Fanart is saved under a TV Show called Dora the Explorer rather than as a movie linked to the file name) then be reimported from the .properties files? Obviously if I rename the files then I will have to rename the .properties files so that they remain consistent. But this is easy to do with a batch file renamer.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#2
|
||||
|
||||
Without renaming the file itself, sage SHOULD recognize it ant re-associate the wiz.bin metadata with it. That said, a .properties file will also work well or this. Also, if a program is recorded in v7, it will contain the metadata in the file itself, and sage will read that embedded data back in on re-import.
__________________
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 |
#3
|
|||
|
|||
These files are not necessarily from Sage7. Some are from Sage6, some are from MCE, others from Tivo. The files do not have the show ID in the title any more.
So you are saying that if I move Boo!.avi from one folder to another that Sage will still keep the metadata and Fanart?
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#4
|
|||
|
|||
I am not 100% sure if this is how Sage7 and BMT works, but it what I believe based on my fiddling with metadata and fanart.
1 - On a recorded TV show, Sage gets basic metadata and a screenshot of the show. I believe the metadata comes from the Zap2It guide information. The screenshot appears from a frame of the show. 2 - If BMT is installed, and set to automatically scrape, it will search the appropriate website, eg. TVDB, and fill in any missing metadata (and possibly overwrite some like descriptions). It then updates the Sage metadata with the revisions. BMT then checks whether a fanart directory for that particular show exists, and if not, will create it, and appropriate sub-directories. It will then download available fanart images to this directory if they are not already there. 3 - When various screens in Sage display the recorded TV show, if fanart is available (and the screen supports it), it will look in the fanart directory (in this case \\fanart\TV\showname) and if fanart exists, use what is there - otherwise it will use the a .jpg that exists in the same directory as the recording (with the same filename), then finally the screenshot as a last resort. I constantly move recordings for my daughter from the original recording directory to another computer for archiving. I simply copy the original .mpg, the .jpg, and the mpg.properties files to an imported directory path. All show up properly. In my case, I am moving from a no folder situation to a folder (eg. \\TVShows\Hannah Montana) so I would think there should be no issues at all. Anytime I have had a problem with fanart (which is rarely), the BMT WebUI will display the path it believes the fanart should be in. Simply changing the actual folder name in my fanart directory has resolved this. Grant I also have been adding my collection of TV episodes that have no recording information. As long as the displayed fanart path in the BMT WebUI matches one in the fanart directory, I simply add or remove fanart I download to customize what is displayed. Last edited by OneOfMany; 12-31-2010 at 03:57 PM. Reason: addition |
#5
|
|||
|
|||
just use a file renamer and add the prefix
"Dora the Explorer -- " to all file names and BMT will get all the metadata and fanart. |
#6
|
|||
|
|||
Quote:
I also want to change the folder names to use the exact show name to facilitate automatic archiving into folders.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#7
|
||||
|
||||
Yet another reason to put episodic content (tv shows) in the recording library - use the Malore menus instead of folder view.. ;-)
__________________
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 |
#8
|
|||
|
|||
I actually use SageMC which sorts by filename but displays the episode name in the folder view. The problem is if you just try to use these files from Windows Explorer - the filenames can becamse too long and it is just a waste of space to have the show name in the folder structure and in the filename.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
max number of files/folders? | walter scott | SageTV HD Theater - Media Player | 7 | 09-09-2009 12:55 PM |
Video files in the same folders as VIDEO_TS not visible | bastafidli | SageTV Software | 5 | 12-15-2007 02:14 AM |
Renaming TS files back to a .TS extention | JasonJoel | SageTV Software | 5 | 05-03-2006 03:48 PM |
What is the best way to move files to other folders. | trevorst | SageTV Software | 9 | 08-27-2004 01:32 PM |
Renaming Files | Cabalsan | SageTV Customizations | 2 | 05-16-2004 10:25 PM |