HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: MettaSync on 2024-10-19 19:36:14

Title: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-19 19:36:14
Hi,

I'm using fb2k v2.24 preview 2024-10-18 64-bit on a German Windows 11 Pro Version 10.0.22631 Build 22631 (23H2).

These are my components:
Spoiler (click to show/hide)

I listen to meditative songs when I sleep. Each night I try another song. Those songs that improve sleep/dream quality wander to another playlist. Now I'd like to copy the songs in the filtered playlist into a another folder on my hard drive.

When I select all tracks in the list and try the "Copy to" command the window that shows up doesn't show all songs.

As you can see in the attached picture 225 songs are selected. But the "File Operations Setup" window only shows 212 (The list is scrolled down to the end.).

I don't know if it has something to do with some letters in the filenames as there are some special letters.
But if it has I'd be happy with automaticly replacing them with letters that work.

Please let me know if you need any further info.

Thank you and Best Regards
MettaSync


X
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-19 20:04:38
I think your conclusion that not all files will be copied isn't quite correct. Each chapter or subsong of a file will show up as a separate track in foobar2000, so there can be way more tracks than there are actual files.

And your file names are fine. foobar2000 supports absolutely everything the OS can handle.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-19 20:18:28
Quote
And your file names are fine. foobar2000 supports absolutely everything the OS can handle.

Okay. The filenames are fine then.

But I didn't use chapters or subsongs. Every songs is one track. I added every single song individually and they made a single track.

I made the test. I let it copy the 212 tracks and loaded them into a new playlist and got 212 tracks.

That's the challenge: I put in 225 tracks and get out 212.

How can I solve this?
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-19 20:39:09
Did you actually select all the tracks? You could enable an option in status bar's context menu and it would show the number of selected items. Or if you right click on the selection and hit Properties, the title bar will show the number of selected items.

Anyway, I'd like to verify that your files indeed don't have subsongs. They look like YouTube sourced and those definitely could have chapter info. If you hit Ctrl+F (or select Edit -> Search) and use this search string:
Code: [Select]
%subsong% GREATER 0
you will instantly see any chaptered tracks.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-20 06:54:08
I selected the tracks with Ctrl-A.

Here are the results:

X

X
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-20 07:37:18
Alright, indeed no multichapter files involved. When you now open the 'File Operations' -> 'Copy to' -> '...' dialog, do you get any errors or warnings logged on console? Console can be opened from the main menu, 'View' -> 'Console'.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-20 14:02:31
No errors at all:

X
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-20 15:17:14
There is still one explanation that Copy dialog would leave a file out: if the target file is the same as source file, then it will be excluded from the preview. But you claimed that you ran the copy and the destination directory didn't have the results it should have.

I'm out of further ideas. I hope Peter gives some insight. Even if source files were in archives the File Operations could copy them. And if they were streams they would still be included in the preview, even though they couldn't be copied.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-20 15:22:35
That's the challenge: I put in 225 tracks and get out 212.
Just verifying that this is indeed accurate information, you verified that source had 225 separate files, you didn't just trust the count in the playlist? Because File Operations (like many other tools) first filters away all duplicates.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-20 15:33:50
What do you mean by "if the target file is the same as source file"?
No target file exists. The target directory is empty.

I've counted them manually. The source has - today - 226 separate files.
It is possible that the list contains dublicates.
But I would like to copy them anyway, in order to keep the structure.
Is it possible to turn on copying dublicates?

Thank you.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Case on 2024-10-20 15:53:16
It doesn't matter if you have the same file physically as multiple copies, foobar2000 won't try to detect that.
The duplicate filtering only affects entries that point to the exact same file.
For example if you had a playlist that listed C:\Music\Track.mp3 a thousand times, the Copy files dialog would see that it's just a single file and would show that it copies only one track. This feature can't be disabled.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-20 16:35:08
I see. I've tested it: I've made a playlist with duplicates - exacly the same files - in it. The file operation excluded them.

"So there must be such duplicates in my original list without me to recognize it." I thought.
Then I saved the playlist, uploaded it to ChatGPT and asked it to find the duplicates and removed the duplicates from the list.
Now input & output are the same.
I accept that duplicates can't be copied. Now I work without them.

Thank you, Case, for guiding me through this.
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: Bogozo on 2024-10-20 16:50:09
Then I saved the playlist, uploaded it to ChatGPT and asked it to find the duplicates and removed the duplicates from the list.
You don't need ChatGPT for this. Main menu, Edit->Remove duplicates
Title: Re: "File Operations > Copy to" doesn't grasp all selected files
Post by: MettaSync on 2024-10-20 18:12:21
OK, thank you :)