#1 2013-10-31 17:11

CharlesVelazquez
Member
Registered: 2013-10-31
Posts: 2

Copy File Names in order to new ordered set

Background: I had Music that's in .m4a format, they play find in media go and itunes, but when itunes sync the songs to my iPhone they would never work. After searching for days on a fix I ended up just having to reconvert them in itunes into the same .m4a format, which fixed the problem.

Now my dilemma is I want to make the replacement of the old .m4a files with the new ones as hassle free as possible, when itunes converts the music it changes the name a bit (Numbers the songs, even replaces some characters). What I've been trying to do is take the original album, put all it's songs on the list, Highlight them all and hit the export new names to clipboard function.

Step 1

Then I would remove that list and load the new converted songs into the list, which are arranged exactly like the originals. So then I highlight all of them and hit the Import new names from clip board function. But it would add the names for the wrong files.

Step 2

Like it can't sort right or something when copying or pasting. I think it could be a sorting bug or something. I would have thought it was a simple process. Can anybody help me with this? Whatever is the easiest way to accomplish what I want which is to just make an exact copy of filenames to another set of files that are sorted the same (Otherwise Music x will be renamed to Music Y but really be x).

Offline

#2 2013-10-31 22:00

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: Copy File Names in order to new ordered set

Hello, and welcome to the forum!

Windows has a small quirk when it comes to adding files from Windows Explorer to other applications. This is to do with the order in which files are actually passed to the application. There is a Wiki article that describes this issue and how to remedy it: ReNamer:Sorting_files#Preserving_the_original_order.

So you have two options, either:

  1. A workaround described in the article (above)

  2. Or simply re-sort files in ReNamer by clicking on the column headers of the files table.

Let us know how it goes.

Offline

#3 2013-11-06 23:07

CharlesVelazquez
Member
Registered: 2013-10-31
Posts: 2

Re: Copy File Names in order to new ordered set

Hi, thank you for the reply, unfortunately it doesn't work. With regards to the link you provided in preserving the file order by manually selecting the items sequentially doesn't work, and column doesn't work as well. I do want to make sure that there is no confusion as to what I'm asking:

The files sort properly when added to the program, when you click the column it sorts the list as expected, my dilemma is when you select the import file names from clipboard function action after exporting an identical list's name to the clipboard, it is not maintaining that order.

in the first picture, under the new names section, you see a certain order the files will be renamed to. Since the new names are coming from the file list it is obvious why the order is in sequence. So when i hit the export new names to clipboard function I am assuming the list of new names are in sequence from top to bottom or exactly as it was exported.

So now in the second picture, where i change the list to the other set of music which is just the converted files so it has the same amount of items in the same exact order as the previous list. I hit the import new names from clipboard and it assigns the wrong names to the song even though they were sorted exactly as the previous list was copied. Hope that makes sense and to aid I tried to make an example below

Initial list and copy function to clipboard

File1 - Copied new names to clipboard list - File1 
File2 - Copied new names to clipboard list - File2 
File3 - Copied new names to clipboard list - File3 
File4 - Copied new names to clipboard list - File4

order should be something like this: File1, File2, File3, File4

New list with import function

File 1 - import new names from clipboard list - File2
File 2 - import new names from clipboard list - File3
File 3 - import new names from clipboard list - File4
File 4 - import new names from clipboard list - File1

It assigns the wrong name to the files even though it was in the same order as the previous list, like the list in the clipboard was really: File2, File3, File4, File 1 instead of the entry order.

Offline

#4 2013-11-07 14:45

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,479

Re: Copy File Names in order to new ordered set

Apologies, I didn't understand your problem correctly at first. It is clearer now...

It turns out that you have found a very peculiar problem, which is not always reproducible, however I was able isolate it and fix it. This problem would have surfaced only when the source or target list of files had been re-ordered either manually or via built-in sorting without executing a Preview after that.

Internally, the list of files and their properties is stored independently to the visual representation in the table, so the order of rows in the table is not always the same as internal list of files. Two lists are re-synced only on Preview and Rename, but not on importing or exporting of new names. This has caused the mysterious re-ordering.

The problem has been fixed in the latest development version which you can try from here:
http://www.den4b.com/?x=get&product=renamer&type=beta

Offline

Board footer

Powered by FluxBB