|
Batch Metadata Tools This forums is for discussing the user-created Batch Metadata Tools for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Using BMT to move imports to recordings?
I have started over with a new wiz.bin and my existing recordings are stuck in the imported videos folder. I am trying to use BMT to import them as recordings after advanced video recovery failed. I have tried using the batch operations and tagging the check box for "sagetv recording?" on individual files, without success. What do I need to do to get these moved over?
__________________
Windows 10 X64 ASUS Z270 TUF2 MOBO Intel I5 Kaby Lake @3.3 Corsair H65 AIO water cooler 16GB GSkill DRR4 10 SATA hotswap bays in 4U RM case Redundant power supply, dual UPS's, etc Samsung EVO 850 SSD X2 OS drives WD 4TB Purple drive for recordings, various other drives for archives Tuners are a work in progress |
#2
|
|||
|
|||
Quote:
__________________
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 |
#3
|
|||
|
|||
Titles should be in tv format and settings set to import tv formatted videos into Recordings.
|
#4
|
||||
|
||||
Hey Guys,
Maybe this question has been answered elsewhere, but I cant find it. I'm looking for a way to automatically import tv shows, using BMT, into the recordings in SageTV. Would someone be able to point me in the right direction? |
#5
|
|||
|
|||
Quote:
See my answer above. That's all that is necessary. If the title is formatted correctly, it will be in your recordings after the next scan. |
#6
|
||||
|
||||
Enabling the "Import TV as REcording" option in BMT should be enough. That being said, if these are in sagetv default airing format "House-TimeForChang-000123201.ts" and you no longer have the .properties, then finding matches may be challenging. (That's why I never recommend turning of the generation of .properties, since it acts as a Wiz.bin backup for metedata).
YOu can try to do them one at a time in BMT, by checking the "Sage Recording" option in the metadata screen and see if that changes anything.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#7
|
||||
|
||||
Thanks for the responses. What exactly is "TV Format" Would someone provide a sample as to how these files should be named?
|
#8
|
|||
|
|||
Stitches - s01e01 - Pilot.mkv or Stitches - s01e01.mkv
|
#9
|
||||
|
||||
Thanks to all! I've managed to get it working on most of the shows, though some remain elusive. For example:
The Flash (2014) - S01E10.mkv This filename does not import into recordings. Any thoughts? |
#10
|
||||
|
||||
Quote:
Then, you would need to add the following to that file: Code:
<match> <regex>[\\/]The Flash \(2014\)[\\/]</regex> <metadata type="TV" name="tvdb">279121</metadata> </match>
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT Software: SageTV 7 |
#11
|
||||
|
||||
Thanks for the response. I tried adding a matcher as you suggested, but it didn't seem to import properly. What do the '/' symbols do? Are they used to comment out a piece of the title (the year in this case) to make it easier for BMT to match?
If so, why would I comment out the leading bracket, but not the trailing? Shouldn't it be something like this? Code:
<match> <regex>[\\/]The Flash \(2014)\[\\/]</regex> <metadata type="TV" name="tvdb">279121</metadata> </match> Last edited by MilkmanCDN; 08-20-2015 at 06:01 AM. |
#12
|
||||
|
||||
Quote:
So, in a regular expression \ is an escape character, that basically means the next charact that follows the \ is the literal character that I want to match on. so, if you have a Windows path, like, Code:
\Vidoes\TV\The Flash (2014)\s01e01.ts The other problem, is that on windows the directory separator is \ which as I said, is a special character in regex, so if want to match on a directory "\The Flash (2014)\" then we need to escape the \, so they become, "\\The Flash (2014)\\", and we also need to ecape the brackets, so it becomes "\\The Flash \(2014\)\\". That will match "\The Flash (2014)\" in any Windows environment. If all we care about is windows, then you are done. Now, not everyone runs Windows (like myself), and on Linux and Mac, the directory separator is a forward slash, so, on linux the path would be something like Code:
/Videos/TV/The Flash (2014)/s01e01.ts Code:
[\\/]The Flash \(2014\)[\\/] Match a directory separator, either \ or /, followed by the text, The Flash , followed by a literal open bracket, followed by the numbers 2014, followed by the literal close bracket, followed by another directory separator, either \ or /. This maybe more of an explanation than you wanted, but that's what all symboloy is doing here. So, please note, in your regex [\\/]The Flash \(2014)\[\\/] you are missing the \ in front of the ending bracket, and it has a very different meaning, in fact, as is, it would not be a valid regex.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#13
|
||||
|
||||
Got it! Thanks.
One last question. If there are sub-directories (such as for seasons), will the matcher catch all the episodes within that sub-directory? |
#14
|
||||
|
||||
Yes it will, basically it's matching on any part of the directory in which the file resides. So if the actual file is somewhere deeper in a Season folder, it will still match.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#15
|
|||
|
|||
Quote:
__________________
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 |
#16
|
||||
|
||||
Hey Guys,
Still having troubles with this. I've managed to get some of the recordings imported; however, all of the most recent imports are being tagged as 'videos'. BMT doesn't seem to be automatically tagging the shows. Thoughts? Is it still the same show, The Flash? When you view it in BMT does it have any metadata It seems to be all shows now. When I view them in BMT, they don't have metadata. I do have a lot of video files (1000's) and I wonder if this could be a cause for concern. Last edited by MilkmanCDN; 11-25-2015 at 05:41 PM. |
#17
|
||||
|
||||
Hello all,
Strangely a server reboot seems to have fixed the problem. Shows are now importing properly again. Thanks. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Imports not recognized as recordings | Slugger | Batch Metadata Tools | 2 | 11-05-2013 10:56 AM |
Move recordings | heffneil | SageTV Software | 25 | 04-14-2011 12:43 PM |
TV Recordings in Import Directories are: Imports/Recordings Setting | jorton | SageTV Beta Test Software | 4 | 09-04-2010 11:08 AM |
Newbie - Move recordings successful, but not all moved recordings recognized | echang2 | SageTV Software | 2 | 05-13-2010 10:13 PM |
New FAQ for moving recordings, imports, recording dirs, etc. | Opus4 | SageTV Software | 0 | 02-15-2008 03:26 PM |