INTERACT FORUM

More => Old Versions => JRiver Media Center 30 for Windows => Topic started by: Bigguy49 on May 05, 2023, 02:05:30 pm

Title: Changing Filename Path
Post by: Bigguy49 on May 05, 2023, 02:05:30 pm
I have album folders in my library...some with Drive X in the filename path and others with Drive Y.
At some point both drives were active and some folders were inadvertently imported from Drive Y (which is no longer) active and consequently will not play due to incorrect path.
However the album folders DO now exist on Drive X.
Is there a way to edit the tags of the full library replacing Y with X in filename paths so that MC can see these folders?
Title: Re: Changing Filename Path
Post by: Richard Martin on May 05, 2023, 02:37:27 pm
You could use the replace function https://wiki.jriver.com/index.php/String_Manipulation_Functions#Replace
Title: Re: Changing Filename Path
Post by: Bigguy49 on May 06, 2023, 06:54:33 am
I have read the referenced REPLACE how-to but have questions...

Would this process need to be done filename path by filename path which would literally dozens of repetitions OR could it done en masse?

With that in mind is there a way to identify which folders are Drive X and which Drive Y?
Title: Re: Changing Filename Path
Post by: Richard Martin on May 06, 2023, 07:48:57 am
You can update them all in one go.
1) Create a smart list to show the items you want.
e.g(https://i.postimg.cc/TKwTgB7h/2023-05-06-13-26-16.jpg) (https://postimg.cc/TKwTgB7h)

2) Select all the items returned*
3) Right click and select Tag
4) In the filename tag enter =Replace([Filename],Y:,X:) and then press return

 *May be just select one file to try it on first, then when you are happy it is doing what you want select all the remaining files.
Don't forget that there is Edit>Undo if it goes wrong, or better stillmake a back up of your library before you start.
Title: Re: Changing Filename Path
Post by: Bigguy49 on May 06, 2023, 09:02:01 am
Searched on SMART LIST and did not have any hits.

Where is this tool?
Title: Re: Changing Filename Path
Post by: Richard Martin on May 06, 2023, 09:17:02 am
Assuming you have the standard view open then Smartlists are within in the Playlists section in the lefthand panel

(https://i.postimg.cc/n9YSt8jx/2023-05-06-15-15-57.jpg) (https://postimg.cc/n9YSt8jx)
Title: Re: Changing Filename Path
Post by: Bigguy49 on May 06, 2023, 10:30:13 am
There it be ...but doing a SEARCH on either SMART LIST or SMARTLIST yield results?! 
Title: Re: Changing Filename Path
Post by: JimH on May 06, 2023, 11:06:20 am
https://wiki.jriver.com/index.php/Create_a_Smartlist
Title: Re: Changing Filename Path
Post by: Bigguy49 on May 06, 2023, 11:15:45 am
https://wiki.jriver.com/index.php/Create_a_Smartlist

I just tried a SEARCH for "create a smartlist" and error message said all search terms need to be at least 2 characters?!   ?
Dropping the "a" does yield results.   ;D