More > JRiver Media Center 29 for Windows
expression help please
zybex:
You can use a smartlist or Search expression to find same Artist in different folders:
--- Code: ---~nodup=[Artist],[Filename (path)] ~dup=[Artist] ~sort=[Artist],[Filename (path)]
--- End code ---
That one shows duplicate artists in different folders (picks one of each artist+folder duplicate).
If you want to restrict it to a given pair of folders just add to the filter:
--- Code: ---([Filename (path)]="folder1" or [Filename (path)]="folder2") ~nodup=[Artist],[Filename (path)] ~dup=[Artist] ~sort=[Artist],[Filename (path)]
--- End code ---
"folder1" and "folder2" can be a partial folder name (contains operator), no need to enter the full path.
You can import these into a smartlist.
comox:
--- Quote from: marko on March 15, 2022, 12:39:37 pm ---What's inside "Folder 1" and "Folder 2"
If it's just a bunch of files, things get more complex, maybe impossible, but, if you have Folder 1\Artist\Album and Folder 2\Artist\Album then a compare might be possible...
--- End quote ---
Albums are stored in FolderX as subfolders named [Artist] - [Year] - [Album].
comox:
Thank you lepa and zybex for excellent ideas. I will try them
lepa:
Just use zybex's solution as it is ready-made. Mine was just concept which would require some adjustments to be workable. Didn't have time to create anything ready
comox:
The roots of my 2 collections are:
E:\$Media\Music\
E:\$Media\Music (culls)\
After studying the example from zybex and reading the MC documentation, I think the following should give me one file by every artist in each of the two collections:
~nodup=[Artist],Extract(6,[Filename (path)], E:\$Media\, \)
But it doesn't work.
I get one file by each artist, even if that artist is in both collections.
I'm thinking I've done something wrong with the Extract function.
Or perhaps Extract does not work with ~nodup.
Can anyone spot the problem?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version