INTERACT FORUM

Please login or register.

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

Author Topic: Copy Genre Tags on Video Import  (Read 503 times)

nathanchavez

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 292
  • I know nothing except for the fact of my ignorance
Copy Genre Tags on Video Import
« on: August 25, 2022, 09:42:40 am »

How would I go about copying the tags for the genre field for new files I import from one that are already there and have a genre value?   There are ongoing series I watch, and archive after, and it would be nice have the established tags already done.  I got help for this before, but it does not seem to be working with tags that have multiple genre values; shows that are both comedy and drama, for example.  This is what I was using.

listitem(fieldquery(filename /(path/), filepath(), Genre,1,1),0)

Is there a way to achieve what I mentioned above, for all genre values?

Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Re: Copy Genre Tags on Video Import
« Reply #1 on: August 25, 2022, 10:54:49 am »

You can copy and paste tags.  I think it's Ctrl Shift V to paste and you can then choose which tags.
Logged

nathanchavez

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 292
  • I know nothing except for the fact of my ignorance
Re: Copy Genre Tags on Video Import
« Reply #2 on: August 25, 2022, 10:59:04 am »

You can copy and paste tags.  I think it's Ctrl Shift V to paste and you can then choose which tags.

Right.  But that doesn't automate the process like the above does.  I need an expression like that one which works for all genre values automatically.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2619
Re: Copy Genre Tags on Video Import
« Reply #3 on: September 01, 2022, 02:57:12 pm »

I think you just need to replace the ListItem() with a ListClean() :

Code: [Select]
ListClean(fieldquery(filename /(path/), filepath(), Genre,1,1),1)
This grabs all Genres from all files that share the same folder with the one being imported and then cleans up to remove duplicates.

original thread: https://yabb.jriver.com/interact/index.php/topic,131495.msg912081.html#msg912081
Logged
Pages: [1]   Go Up