Welcome Guest

Pages: 1 2
Process to move files without breaking links?
rnbPostApril 26, 2025, 11:24
Newbie
Posts: 9
Registered:
April 26, 2025, 14:53
Hot topicProcess to move files without breaking links?

Hi, i'm just looking to confirm Yate can do what I need before buying.... would love some feedback on the best way to accomplish the following:

I have 20,000 songs in an Apple Music library that WAS managed... but I've since disabled Keep Media Folder organized to avoid issues with DJ software. Now i want to rearrange the entire "Media Folder" structure (ie. based on top level genre folders instead of what Apple had created) and am concerned about messing everything up with respect to missing files. I'm reading the Yate documentation and, uh, a wall of text is hard to comprehend for someone who's never used the app.

I see the following linking article:

https://2manyrobots.com/YateResources/InAppHelp/Linking.html

Chatgpt says, "Launch Yate and load all the music files you moved into the new folder structure. Select all the files you want to update. In the Batch Rename window, set the "Find" field to search for the old directory path (e.g., OldFolder), and in the "Replace" field, enter the new directory path (e.g., Genre/Artist/Album)."

I'm not sure this is going to be practical, or if it's the correct action altogether, given that i intend to move 1000's of files. Also i wasn't planning on duplicating the media folder (or creating a 'new' media folder), just rearranging the existing one if possible.

Can anyone give me some pointers on what would be the best approach to rearrange a previously 'managed' Apple Music library?

Cheers!

ps. if anyone knows of good overview videos that show how the app is best used, that would be great. I saw the 2manyrobots youtube channel... it's given me a good overview but there are only a couple of short explainers that are almost 15 years old.

2MR2PostApril 26, 2025, 12:54
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Hot topicProcess to move files without breaking links?

Yah ... the ChatGPT text makes no sense at all.

The most important first step is make sure that every file contains the PID (persistent ID) into the Music database. This will ensure that locating tracks in the library does not require metadata matching.

Do an Actions>Batch Processes>Batch Extract Persistent IDs...

This is a batch process which will store the PID in every file (rewriting the file). This may take a long time to run. The batch processor will produce a log file. This batch process runs with the Music library as source.

Once this is done, you need a conventional batch process action which runs from the file structure as opposed to the Music library. This action will relocate the files however you wish.

When you say Genre/Artist/Album do you mean Album Artist as opposed to Artist? It is possible that an album has variants of Artist on each file as opposed to a consistent tag.

I'm also assuming that you want non audio files to be moved as well?

Let me know the answers to the two questions and I'll put together a simple action for you to relocate the files updating Music to the new locations. Run the Batch Extract Persistent IDs process first.

As far as videos, they're sadly deficient.

rnbPostMay 9, 2025, 18:13
Newbie
Posts: 9
Registered:
April 26, 2025, 14:53
Hot topicProcess to move files without breaking links?

Hey thanks a lot for the detailed reply... i really appreciate it! I'm going to come back to this in a bit and post back here to the thread once i've found time to absorb and follow your instructions properly. Again, thanks for taking the time to post your knowledge, super helpful of you. =]

rnbPostSeptember 17, 2025, 14:34
Newbie
Posts: 9
Registered:
April 26, 2025, 14:53
Hot topicProcess to move files without breaking links?

Hey @2MR2... i've finally gotten around to running the Batch Extract Persistent IDs on about 20k files. Could i ask for your help with that action to move everything into Genre/Artist/Album folders?

You asked about how i'd handle Album Artist... good question. I think i would do a Complilations folder inside each top level genre folder, something like "Genre/Compilations/Album".

Regarding non audio, I only have maybe 20 music video files in the Apple Music library... not too bothered about moving them if it complicates the action too much.

I'd also like to rewrite the filenames to 'artist - title.ext' if possible. I created a rename template with ❨Artist❩ - ❨Title❩❨IfDup❩(❨Dup #❩) but didn't want to run that batch until hearing back about the move action... whether it would be better to do one or the other first.

Thanks for the help

2MR2PostSeptember 17, 2025, 15:09
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Hot topicProcess to move files without breaking links?

Ok. Just for the integrity of your files, let's go over a few things again.

The desired file structure is:

Genre/Artist1/Album/artist2 - title.ext

Where Artist1 is the Album Artist field? artist2 is the Artist field?

As far as compilations go. What criteria define a compilation? I usually use the compilation field in Music and/or the Album Artist name is Various Artists.

The batch processor will be reading one folder at a time and moving those files. Without pointing any fingers at the quality of the tags in your files a number of conditions must be handled. All files initially in a single folder have to end up in the same folder or they will not be moved. This handles different genres, album artists and album names. You can fix and handle the identified errors after the batch run finishes.

If a group of files has different genres, I can files them under Unknown Genre. If a group of files have empty or different Album Artist metadata, I can file them under Unknown Artist. This may be easier to identify and fix that simply errors in a log. Please confirm. I'll tell you how to fix these.

rnbPostSeptember 18, 2025, 09:10
Newbie
Posts: 9
Registered:
April 26, 2025, 14:53
Hot topicProcess to move files without breaking links?

Well, unfortunately my "Album Artist" field is less than 50% populated across my library which would leave a lot of tracks in /Genre/Unknown Artist/ folders..... not sure if it would be a good divisor after genre. However, i do see the benefit of having/using those two fields together properly... especially with DJ music where there are lots of multiple artist songs/albums and collaborations.

I wonder if it's possible to run an action to populate any empty Album Artist field with the current Artist value, thereby reducing the 10,000 tracks in 'Unknown Artist' folders... then i could follow the format you showed going forward. It does make more sense.

Also yes, I use the compilation field in Music too, so that works.

Thanks again for your help!

2MR2PostSeptember 18, 2025, 09:57
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Hot topicProcess to move files without breaking links?

Sorry, a consistent Artist field works as well as a consistent Album Artist field. If the Album Artist field is empty and Artist is consistent, I will populate it. Sometime today.

rnbPostSeptember 18, 2025, 15:28
Newbie
Posts: 9
Registered:
April 26, 2025, 14:53
Hot topicProcess to move files without breaking links?

yep artist is the main field...

thanks a lot for your help!

2MR2PostSeptember 18, 2025, 21:37
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Hot topicProcess to move files without breaking links?

I've written the action to work in both batch and interactive modes. It's probably overkill but you will be able to use it when you get rid of any Unknown folders after making repairs.

I've given the action to someone to test. Sorry for the delay. It should be tomorrow.

2MR2PostSeptember 19, 2025, 17:10
Avatar photo
Administrator
Posts: 2339
Registered:
August 23, 2012, 19:27
Hot topicProcess to move files without breaking links?

You can download the action at:

https://2manyrobots.com/actions/User-RB-Move.zip

You can install it by dragging the downloaded zip file to Yate's main window file list area.

Once the action is installed you can view the documentation by opening the Action Manager (Action>Action Manager). Select the RB: Move action and right click. From the displayed context menu select Resource Documentation.

I guess I could have called it RNB-Move. Sorry, my mistake. You can rename the action to whatever you like in the Action Manager. 🙂

Read the documentation and test.

Pages: 1 2
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.124 seconds.