SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Batch Metadata Tools

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
  #41  
Old 07-25-2016, 07:48 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,585
Quote:
Originally Posted by SomeWhatLost View Post
well, over the weekend I started fresh with a new wiz.bin, Walking dead was a simple MediaTitles.xml now fixed most of my issues...
the last remaining trouble series are:
Crusade
Dr Who (2005)
Dungeons & Dragons
Falling Skies
Firefly
which is odd, they all worked just fine when they were VIDEO_TS, actually, the only one I even needed a 'matcher' for was Dr Who.. but that was a simple fix...
wonder why I am having so much issue trouble MKV?
as it is 2016, I cant be the first person who has gone from VIDEO_TS -> MKV?
as a side note, my VIDEO_TS -> MKV batch process missed a couple of my Falling Skies episodes, and those imported properly, found their metadata, and set them as recordings.... so it really seems to just be an MKV thing?
Things like Dr Who (2005) should work better in the newer changes, since I'm not accounting for Years in the TV show title.

The other ones should have imported fine, especially something like Falling Skies... Could I get a full file/path of a Falling Skies that failed?

Something to note... for season/episode info that has to be in the filename... ie, if you have /Shows/Falling Skies/Season 1/EpisodeTitle e01.mkv that that will not import correctly. It would have to be something like... /Shows/Falling Skies/Season 1/Falling Skies - S01E01 - Episode Title.mkv (ie, Show Name and the Season/Episode has to be in the filename)

Quote:
Originally Posted by SomeWhatLost View Post
as a side note, a feature request for BMT 2.0, a better way to deal with genre's like some sort of batch change or something to take care of sci fi vs science fiction, etc...
That's a good idea as well... actually I thought that existed... but I just checked, and it doesn't
Reply With Quote
  #42  
Old 07-25-2016, 10:06 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by stuckless View Post
Something to note... for season/episode info that has to be in the filename... ie, if you have /Shows/Falling Skies/Season 1/EpisodeTitle e01.mkv that that will not import correctly. It would have to be something like... /Shows/Falling Skies/Season 1/Falling Skies - S01E01 - Episode Title.mkv (ie, Show Name and the Season/Episode has to be in the filename)
Does the parser receive the full path, or just the filename? Just wondering if the Show/Season/Episode.ext would be possible in the future. I personally don't care, as I've always felt a file should be fully described by itself, and not depend on it's location - so I've always got the full Show - s00e00 - episode.ext - but I do know others have done things that way for a long time, typically for cleaner browsing on limited UI's like older media players and such.
__________________
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
  #43  
Old 07-25-2016, 10:33 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,585
Quote:
Originally Posted by Fuzzy View Post
Does the parser receive the full path, or just the filename? Just wondering if the Show/Season/Episode.ext would be possible in the future. I personally don't care, as I've always felt a file should be fully described by itself, and not depend on it's location - so I've always got the full Show - s00e00 - episode.ext - but I do know others have done things that way for a long time, typically for cleaner browsing on limited UI's like older media players and such.
The current scrapers work off the filename part only (to keep it simple).

Here's the current list of regexes that are used to parse tv filenames...
https://github.com/stuckless/sagetv-...ilenames.regex

That being said, new filename scrapers could be added that would account for other variety... I'm not sure it's worth the effort though. I think for the most part, there needs to be some structure, or else we spend all our time simpler writing code for edge cases.
Reply With Quote
  #44  
Old 07-25-2016, 10:41 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 528
full path:
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E01\FALLING_SKIES_S01E01.mkv

I used to put episode titles in at the end like your "Show - s00e00 - episode.ext" example, but at least with VIDEO_TS, BMT did such a good job of looking it up that I got lazy and stopped... just seemed like an unneeded waste of effort, I only watch them through sage, and BMT always came through....
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
  #45  
Old 07-25-2016, 10:50 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 528
quick question,
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E01\FALLING_SKIES_S01E01.mkv
is actually a bit of a hold over from when it used to be:
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E01\VIDEO_TS
is there any reason FALLING_SKIES_S01E01.mkv needs to be in its own folder? ie could I just have all the mkv's in the Falling Skies folder?:
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E01.mkv
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E02.mkv
\\TowerB\TV\Falling Skies\FALLING_SKIES_S02E04.mkv
etc...
is there any advantage to one over the other?
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
  #46  
Old 07-25-2016, 11:11 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
There is no reason for them to be in their own folders - I think most my imported media ends up in a single import folder - rarely do I bother with subfolders. I think the issue you are seeing here is due to the all-caps. a bulk rename of "FALLING_SKIES_" to "Falling Skies - " would probably fix it entirely for you.
__________________
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
  #47  
Old 07-25-2016, 11:14 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by stuckless View Post
That being said, new filename scrapers could be added that would account for other variety... I'm not sure it's worth the effort though. I think for the most part, there needs to be some structure, or else we spend all our time simpler writing code for edge cases.
I think that if Sage can understand the major naming conventions that Kodi supports, that should be good enough for the majority. PluckyHD's renamer was written to do just that and--once my recordings were moved and renamed to Kodi conventions--nearly all of my recordings were still recognized by BMT and reimported back into Sage.

Quote:
Originally Posted by SomeWhatLost View Post
full path:
\\TowerB\TV\Falling Skies\FALLING_SKIES_S01E01\FALLING_SKIES_S01E01.mkv

I used to put episode titles in at the end like your "Show - s00e00 - episode.ext" example, but at least with VIDEO_TS, BMT did such a good job of looking it up that I got lazy and stopped... just seemed like an unneeded waste of effort, I only watch them through sage, and BMT always came through....
I use MKV for everything I rip and, as long as the filenames are in a good format, BMT handles them fine. Almost all of mine are currently of the format:

Show (Year) - S##E## - Episode.mkv

Falling Skies is in the above format (minus year) and BMT has no issue with it. I do still have a handful of entries in MediaTitles.xml, though, but I believe those are mostly shows with multiple entries on thetvdb.
__________________
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
Reply With Quote
  #48  
Old 07-26-2016, 11:00 AM
SomeWhatLost's Avatar
SomeWhatLost SomeWhatLost is offline
Sage Expert
 
Join Date: Jan 2009
Location: earth
Posts: 528
well, Fuzzy's suggestion of not UPPERCASING everything helped a bit... actually, when I checked my backup of the original VIDEO_TS, all my folders had a (mostly) normal Case scheme... somewhere in the bulk conversion Folder names & file names got all upper cased and most spaces replaced by underscores... odd...
so fixing that fixed most of my issues, Dr Who (2005) (dvd rips) still does not want to do the bulk import, although new recordings get metadata just fine... but at this point my MediaTitles.xml is filled with a bunch of different entries for Dr Who with various case/styles/stuff... maybe better to trash the existing MediaTitles and start over....

once I fix the doctor, from a missing metadata point of view, all that is left is validly missing metadata... ie recordings that are missing the episode and season numbers or they didn't show up in EPG to start with... not sure what to do with those... maybe just delete them and hope they air again with better EPG data? or watch them and then delete them? anyway, all is good, or almost mostly good?
either way, thanks for all the help.
__________________
NOTE: As one wise professional something once stated, I am ignorant & childish, with a mindset comparable to 9/11 troofers and wackjob conspiracy theorists. so don't take anything I say as advice...
Reply With Quote
Reply


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
MediaTitles.xml failed, how do I see what went wrong? davidk21770 Batch Metadata Tools 5 09-28-2010 11:47 AM
Quick MediaTitles.xml question davidk21770 Batch Metadata Tools 3 09-24-2010 01:48 PM
Problem with MediaTitles.xml cmaloney Batch Metadata Tools 12 08-17-2010 07:44 PM
Finally Ready to Setup Sage..any hints.. akenis General Discussion 1 10-20-2005 02:29 PM
Building new system... setup hints? davin Hardware Support 4 01-24-2005 09:11 PM


All times are GMT -6. The time now is 01:47 AM.


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