Feature Requests and Response Status

Bradj@mira.net

New member
Sure. The trim script as I use it is attached. Its modified form what I originally download it.
As you can see I edit the vbs script when I need to adjust the trim parameters.
 

Attachments

dlflannery

Moderator
Thanks. My idea will require you to still edit the vbs script as you do now, although other than that operation will be automatic, having the same effect as if you had the preprocessing step you desired. Is that of interest to you?
 

Epic

New member
Click the "Advanced Configuraton" button.
On the "MetaData Templates" tab, look in the "MetaData-based output file and title renaming" section
See the template entries for TV Series and for Movies.
What you enter is a path with metadata substitution tags in {} inserted. Here is an example for TV series: c:\temp\mgmoves\{title}\{title}_{eptitle}
The template portion before the last '\' defines the folder naming, while the rest defines the file renaming.
The Tag Grabber at upper right makes it easy to select and insert the substitution tags.
Of course for this to work you have to have metadata for the video. VAP6 attempts to look up metadata from theTVDB or TMDb. If the input file is .TiVo or .mp4 or .wtv it will read metadata from it. And you can parse metadata from the input file name --- see the lower section "Templates for parsing metadata from input file names".

There are many further details about how the metadata stuff works but at this point I would need to know more detail about your file types and naming conventions. I'll be glad to help if you give it a try.

Well this was working great, but now it stopped using the renaming rules. Everything in going into my main output folder again. Even state output file was not meta renamed. It does not seem to do the tvdb look up anymore for meta-data.
 

dlflannery

Moderator
Well this was working great, but now it stopped using the renaming rules. Everything in going into my main output folder again. Even state output file was not meta renamed. It does not seem to do the tvdb look up anymore for meta-data.
I will look into this. Meanwhile can you verify you are using the latest VAP6 version (1.04)?
 

Epic

New member
Thanks!
Yes I have a fresh install of v1.04.
I use plex to record and VAP6 to process. I recorded and few samples to use for testing by changing meta options in configurations page. Even trying to get the input file name parsing to use as a backup. Here are some sample file names from plex.
Ask This Old House (2002) - S13E14 - Remove Shrubs; Siding.ts
New Amsterdam (2018) - S04E13 - Family.ts
I even checked themovedb.org to make sure it knows about the shows.
My rename template: F:\{title}\{title} - S{seasonnum}E{epnum} - {eptitle} which would strip the (year).
 

Epic

New member
Thanks!
Yes I have a fresh install of v1.04.
I use plex to record and VAP6 to process. I recorded and few samples to use for testing by changing meta options in configurations page. Even trying to get the input file name parsing to use as a backup. Here are some sample file names from plex.
Ask This Old House (2002) - S13E14 - Remove Shrubs; Siding.ts
New Amsterdam (2018) - S04E13 - Family.ts
I even checked themovedb.org to make sure it knows about the shows.
My rename template: F:\{title}\{title} - S{seasonnum}E{epnum} - {eptitle} which would strip the (year).
In case this helps. Here is the log info after removing and starting with a fresh .xml config file:

1/20/2022 5:29:17 PM Started program -- VideoReDo-AutoProcessor for TVSuite6 Ver. 1.02
1/20/2022 5:29:17 PM Using configuration/data file: C:\Users\xxx\AppData\Roaming\VAP6\VideoFileManager.xml
1/20/2022 5:29:17 PM Comskip files present, so Comskip commercial detection is enabled
1/20/2022 5:29:17 PM VRD install folder: C:\Program Files (x86)\VideoReDoTVSuite6\
1/20/2022 5:29:17 PM Read 0 input filename metadata parsing template(s)
1/20/2022 5:29:17 PM Read 0 title translation data lines
1/20/2022 5:29:18 PM Running VRD version: 6.62.6.833 - Sep 22 2021
1/20/2022 5:29:18 PM Smart QSF is enabled
1/20/2022 5:29:20 PM 24 profiles found
1/20/2022 5:29:20 PM Read 0 profile match list items
1/20/2022 5:30:00 PM MediaInfo failed on: "Ask This Old House (2002) - S13E14 - Remove Shrubs; Siding.ts"
1/20/2022 5:30:00 PM MPEG2 is encoding for: Ask This Old House (2002) - S13E14 - Remove Shrubs; Siding.ts
1/20/2022 5:30:20 PM MediaInfo failed on: "New Amsterdam (2018) - S04E13 - Family.ts"
1/20/2022 5:30:20 PM MPEG2 is encoding for: New Amsterdam (2018) - S04E13 - Family.ts
1/20/2022 5:31:06 PM New output profile selected: Transport Stream (TS)
 

dlflannery

Moderator
@Epic
According to your log data, you are running VAP Ver. 1.02 rather than the latest (1.04).

Use Windows Apps & Features to uninstall any old versions before installing the new version.

I created two video files named as the two you mentioned. For these files, to obtain metadata from TMDb you need a Template for parsing metadata from input file names as follows
Code:
{title} ({year}) - S{seasonnum}E{epnum} - {eptitle}
(with .ts as the extension)
With that the search and folder/file meta-based renaming using your template works fine.

To find a series episode, TMDb (as previously theTVDB) requires the series title and at least one of the following:
1. Season and Episode numbers.
2. Air Date
3. Episode title

For your Ask This Old House episode the episode title in the file name doesn't match the one in TMDb, so the search succeeded using the S and E numbers.

Tip: Whenever you want to copy exact text into a post, enclose it as CODE. In your file names. for example, it wasn't obvious whether the dashes ('-') had spaces before and after them. Sometimes when you copy text not enclosed as code from a post you don't get the right spaces. Even entering it as QUOTE doesn't preserve the text unaltered.
 
Last edited:

Epic

New member
The v1.02 was just a test case because I saw in the release notes that it was changed from TVdb to tmdb in v1.04, but I get the same results in v1.04.
In my initials tests, I started with that exact same code you posted above and it didn't work (it treats it as a movie and fails) . It seemed self explanatory but I couldn't figure out why the pattern didn't work. I did finally find something that does work.

Code:
{title} ({wildcard}) - S{seasonnum}E{epnum} - {eptitle}
Everything had working fine with v1.04 for months. With a fresh install of v1.02 or v1.04 and no other changes, I would have no problems with VAP finding metadata and this is the first time I have put anything in the "Templates for parsing metadata from input file names." Could this be something to do with tmdb changes and not related to VAP6?

I don't mean to be a pain, I love the product. I just wanted to bring this sudden change to light.

All the info I need is part of the Plex file name, so now that I have a working input parser I am not dependent on the meta search, but others might be.

Thanks Again!!!
 

dlflannery

Moderator
@Epic
I could have used the {wildcard} tag instead of the {year} tag. That matched value isn't being used for the TMDb search anyway. If it fails when you use the {year} tag instead, I am puzzled. I used exactly the two file names you provided. One possible explanation would be if you have another .ts filename parsing template above this one in the list. (?). It uses the first file name parsing template that matches. Or maybe it's failing for other filenames than the two examples you gave?

I'm glad you have something that works for your purposes but I am curious to determine what is going on here. It may be something related to changing from theTVDB to TMDb for series episode searches that might need fixing. I appreciate your concern.

The file name parsing hasn't changed. You said you finally found a template that works. Could you provide the previous template that stopped working?

Just FYI, the logic for determining whether a file is a series episode or a movie isn't bullet proof. There are checkboxes on the Other tab of Advanced Configuration that will disable either type search. If you don't need any more info than what the file name parsing provides you might want to check both boxes.
 

Epic

New member
Thanks @dlflannery

Previously I did not have a template for input file names at all. The only rule I had was the TV series renaming rule we worked on last time. The only advance option I have set is the run post-processing scripts by default. Everything else is default as installed.

Code:
F:\{title}\{title} - S{seasonnum}E{epnum} - {eptitle}
 

Epic

New member
@Epic
Could you provide the previous template that stopped working?
I stand corrected!! I pulled a backup of my vap6 temporary folder from December I also looked at the temp folder from the old VAP5 install. Both of them have the input parsing filter in it.
Code:
.ts :: {title} ({year}) - S{seasonnum}E{epnum} - {eptitle}
No need to pull your hair out...
VAP had been used many years and continually updated. I do not recall ever putting this input template in (maybe many years ago), but that is the issue. The recent VAP6 did not have this settings (possibly the temp folder got wiped). I am glad backups were able to clear up the mystery. Sorry for all of the drama..
 

dlflannery

Moderator
I stand corrected!! I pulled a backup of my vap6 temporary folder from December I also looked at the temp folder from the old VAP5 install. Both of them have the input parsing filter in it.
Code:
.ts :: {title} ({year}) - S{seasonnum}E{epnum} - {eptitle}
No need to pull your hair out...
VAP had been used many years and continually updated. I do not recall ever putting this input template in (maybe many years ago), but that is the issue. The recent VAP6 did not have this settings (possibly the temp folder got wiped). I am glad backups were able to clear up the mystery. Sorry for all of the drama..
Good to know, thanks.

FYI: The configuration data for VAP is kept in an appdata subfolder of the Users folder. It isn’t touched when you uninstall and install/upgrade VAP and new versions are designed to successfully use the previous version’s configuration data, even if some configuration items have been added, removed or changed.
 
Top Bottom