INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Auto import and existing "name" tag.  (Read 3102 times)

moordred

  • Recent member
  • *
  • Posts: 6
Auto import and existing "name" tag.
« 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) ?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: Auto import and existing "name" tag.
« Reply #1 on: November 05, 2016, 05:27:23 pm »

Welcome to Interact.  Please take a look at Carnac.
Logged

moordred

  • Recent member
  • *
  • Posts: 6
Re: Auto import and existing "name" tag.
« Reply #2 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.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Auto import and existing "name" tag.
« Reply #3 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
Logged

moordred

  • Recent member
  • *
  • Posts: 6
Re: Auto import and existing "name" tag.
« Reply #4 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.
Logged

ferday

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1732
Re: Auto import and existing "name" tag.
« Reply #5 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
Logged

moordred

  • Recent member
  • *
  • Posts: 6
Re: Auto import and existing "name" tag.
« Reply #6 on: November 07, 2016, 03:12:00 pm »

Minus one () and it worked like a charm. Thank you so much for the help!
Logged
Pages: [1]   Go Up