More > JRiver Media Center 32 for Windows

Filename rule if there are several disks

(1/2) > >>

oct02:
Hi, I want to synchronize a device and I don't know how to do to achieve this: I want JRiver to rename the files simply with "track number, track name", except if the album has multiple discs, in which case I would like it to rename the files with "disc number - track number - track name". Is it possible to do this with JRiver?

Thanks in advance

lepa:
You can use field "total discs" but then of course you'll must to have correct data in that field for rule to be fool proof

You could also use some padding on numbers, 2 here to align tracks more nicely in explorer and such

Rule:

--- Code: ---If(Compare([Total Discs],>,1), [Disc #]/ -/ ,)[Track #] - [Name]

--- End code ---
Rule with padding:

--- Code: ---If(Compare([Total Discs],>,1), PadNumber([Disc #],2)/ -/ ,)PadNumber([Track #],2) - [Name]
--- End code ---

oct02:
Thank you very much. I have corrected it a bit because the script created an empty intermediate folder like this:



So I have left the expression as it is:


--- Code: ---If(Compare([Total Discs],>,1), PadNumber([Disc #],2)-,)PadNumber([Track #],2). [Name]
--- End code ---

And it finally looks like this:



One question, if I may without creating a new post. I'm doing this to share a mac formatted disk from a mac. Is there any way for JRiver to move files present in the original folder like info.txt, booklet.pdf, photo1.jpg, etc? I have googled and it is not clear to me if JRiver can or cannot. Theoretically with the "*" mark it should move all files, but it only moves music files.

And another question. If I change in JRiver the name of the artist of the album, will JRiver delete in the synchronization the folder with the previous name of the artist and create a new one?

Thank you very much for your help.

lepa:
Glad that you got it working

There is a check mark in MC Rename, move and copy tool to move also all not imported files which are under same folder than files that you are actually moving with RMC tool.

MC doesn't move any files if you just update its tag(*). With RMC tool you can rename, move or copy files. Copy makes a new copy as the name suggest others just move/rename file but filekey in the MC's database stays the same so for MC the file is still the same even if the location was changed

WIKI: https://wiki.jriver.com/index.php/Rename,_Move,_and_Copy_Files


*well of course if you change filename field then file will be also moved to that new path

oct02:
Thanks, but that is in the "rename, move and copy" tool. I ask about the device sync tool. That's where I need it to move other files besides music files so I can have them on a disk to share on Soulseek or a DAP.

Thank you in advance.

Navigation

[0] Message Index

[#] Next page

Go to full version