INTERACT FORUM

More => Old Versions => JRiver Media Center 29 for Windows => Topic started by: nathanchavez on August 25, 2022, 09:42:40 am

Title: Copy Genre Tags on Video Import
Post by: nathanchavez 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.
Title: Re: Copy Genre Tags on Video Import
Post by: JimH 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.
Title: Re: Copy Genre Tags on Video Import
Post by: nathanchavez 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.
Title: Re: Copy Genre Tags on Video Import
Post by: zybex 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