INTERACT FORUM

More => Old Versions => JRiver Media Center 22 for Windows => Topic started by: moordred on November 05, 2016, 05:18:43 pm

Title: Auto import and existing "name" tag.
Post by: moordred on November 05, 2016, 05:18:43 pm
Hi there guys.
My entire library for movies is sorted so that a scraper will easily find the movie info: X:\name (year)\name (year).ext.
The problem in jriver is that sometimes the movie has some "weird" value ( like original 300 character filename) embedded in the field  "name".
This messes up the auto import, forcing me to first fill properties from filename and then load all metadata again.

I have played around with the custom tag "filename (, 0) But since that will also include the (year), It's sub optimal.

All this would be solved with the option to auto fill properties from file name during import, but that's not an option as I have understood it.

So is there some other good way of ignoring the embedded "name" field and just fetch the tmdb data from the filename while getting the correct title without the (year) ?
Title: Re: Auto import and existing "name" tag.
Post by: JimH on November 05, 2016, 05:27:23 pm
Welcome to Interact.  Please take a look at Carnac (http://wiki.jriver.com/index.php/Carnac).
Title: Re: Auto import and existing "name" tag.
Post by: moordred on November 06, 2016, 01:51:08 am
Thank you, I'm very happy with JRiver so far.
It's the scraping and "subtitle download tool" that I really miss from my transition from Kodi/ds-player. Otherwise, brilliant.

I believe I have understood the concept of Carnac, and also its approach to scraping. But the custom "tag on import" got my hopes up on getting around the issue with embedded tags in the file.

But I take it from your answer, that I won't. Or do you have some other good idea how to manipulate the auto import to do a "fill properties from filename" ?

thanks again.
Title: Re: Auto import and existing "name" tag.
Post by: ferday on November 06, 2016, 04:17:54 pm
You can alter the filename tag so it doesn't display year.  Depending on how you've named files it might be easy
Title: Re: Auto import and existing "name" tag.
Post by: moordred on November 06, 2016, 04:27:25 pm
That sounds great!
They are all passed through the same filter so <name> (<year>).<ext>. If you got the tag formula in your head I would love to get it  ;D.
Title: Re: Auto import and existing "name" tag.
Post by: ferday on November 07, 2016, 06:18:50 am
Well since year is probably always (XXXX) you could try

Removeright((filename(,0),7))

Which should leave you with just the name.  If it's more complex than that you'll have to try a regex
Title: Re: Auto import and existing "name" tag.
Post by: moordred on November 07, 2016, 03:12:00 pm
Minus one () and it worked like a charm. Thank you so much for the help!