Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Plugin request: "Copy files to..." (Read 11332 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Plugin request: "Copy files to..."

From time to time I make a CD with mp3s for my portable mp3 player. As I want to leave the originals alone I make a copy of each track in a new directory before I start to prepare them (retag, mp3gain, rename...). This can take quite a lot of time if a large amount of the files are from different albums as I have to find every single file (using "Open direcory" in the context menu most of the time).

A plugin that could make a copy of each file in a playlist or selection at a desired destination, would make this alot easier. This would be very similar to the diskwriter, except that it would not do anything to the files.

Any thoughts or possible workarounds would be appreciated. Keep in mind that I want to prepare them before I burn them...

Plugin request: "Copy files to..."

Reply #1
Very good idea, i think it can be add directly in the diskwriter plug-in...

Plugin request: "Copy files to..."

Reply #2
Masstagger can already do this.


[edit]Oops - Seems like it can't. The files I've used for trying this are removed from their original position, so it can't copy, just move. Anyway my question remains ...:[/edit]

I have a related question:

How can I add fb2k's playlist number (%_playlist_number%) in front of filenames using masstagger?

Explanation: I create mp3CDs for portable use. To apply replaygain etc. I need to copy all files to a seperate directory. Because my portable + car mp3 player sort by filename I need to rename the files as well to get the playback order I want, adding 001, 002, 003 etc in front of the filename.

I've tried Output file format = "$num(%_playlist_number%,3) %_filename%" but it doesn't work. Obviously %tracknumber% doesn't return what I want either.
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #3
Can you make an example of original filename and what you want?

Plugin request: "Copy files to..."

Reply #4
Sure ...

Original filenames (fb2k playlist order = order I want them on CD):

"02 - Before You Accuse Me.mp3"
"07 - Layla.mp3"
"01 - La Ultima Noche.mp3"
"02 - Amazing Grace.mp3"
(obviously taken from different albums)


Burned like this the playback order would be:

"01 - La Ultima Noche.mp3"
"02 - Amazing Grace.mp3"
"02 - Before You Accuse Me.mp3"
"07 - Layla.mp3"


What I want:

"001 02 - Before You Accuse Me.mp3"
"002 07 - Layla.mp3"
"003 01 - La Ultima Noche.mp3"
"004 02 - Amazing Grace.mp3"
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #5
@tigre

Load the files from your temp directory.
Sort them the way you want.
Run masstagger - auto track number.
Rename your files beginning with $num(%tracknumber%,3).

Voila.

Plugin request: "Copy files to..."

Reply #6
Yeah.. that seems to be the only way since playlist number doesn't work outside the playlist.

Plugin request: "Copy files to..."

Reply #7
Quote
@tigre

Load the files from your temp directory.
Sort them the way you want.
Run masstagger - auto track number.
Rename your files beginning with $num(%tracknumber%,3).

Voila.

Thanks. I didn't know "auto track number". Using this function even the original track numbers can be kept:

Load the files from your temp directory.
Sort them the way you want.
Run masstagger - copy value - TRACKNUMBER -> e.g. TEMP
Run masstagger - auto track number.
Rename your files beginning with $num(%tracknumber%,3).
Run masstagger - copy value - TEMP -> TRACKNUMBER
Run masstagger - remove field -> TEMP

Only thing that still misses: "Copy files to..." as Topic title says.
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #8
Quote
Load the files from your temp directory.
Sort them the way you want.
Run masstagger - copy value - TRACKNUMBER -> e.g. TEMP
Run masstagger - auto track number.
Rename your files beginning with $num(%tracknumber%,3).
Run masstagger - copy value - TEMP -> TRACKNUMBER
Run masstagger - remove field -> TEMP

There might be some problems I'm not aware of, but this sounds like a really simple Diskwriter plugin. Simply pass the files through with the appropriate "Output filenaming formatting". That would reduce six of the above steps to one.

I'm sure Case has enough to do already, but if he or someone else could make something like this some time in the future, it would be appreciated.

Plugin request: "Copy files to..."

Reply #9
I don't know, if I understand you correctly but I always use the copy command with this formatting
Code: [Select]
copy "%_path%" "$char(37)TMP$char(37)\$num(%_playlist_number%,2) %_filename_ext%"
and paste this in a batch file.

This will copy all selected files to your temp folder and prefix the filename with the playlist index.

Regards,
~ Florian

Plugin request: "Copy files to..."

Reply #10
Did everyone forget the default diskwriter output filename formatting?

Quote
$num(%_diskwriter_index%,3) %_filename%

Plugin request: "Copy files to..."

Reply #11
Quote
Did everyone forget the default diskwriter output filename formatting?

Quote
$num(%_diskwriter_index%,3) %_filename%

Using diskwriter would decode to .wav (or convert to some compressed format), wouldn't it?

What's needed here is just copying mp3 all mp3 files from a playlist to a separate directory. Have I missed something?
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #12
Quote
I don't know, if I understand you correctly but I always use the copy command with this formatting
Code: [Select]
copy "%_path%" "$char(37)TMP$char(37)\$num(%_playlist_number%,2) %_filename_ext%"
and paste this in a batch file.

This will copy all selected files to your temp folder and prefix the filename with the playlist index.

Regards,
~ Florian

I'm sorry - I don't understand how this works. Could you expain in a more detailed way, please? What kind of batch file are you talking about? And how do you use it?
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #13
Quote
Quote
I don't know, if I understand you correctly but I always use the copy command with this formatting
Code: [Select]
copy "%_path%" "$char(37)TMP$char(37)\$num(%_playlist_number%,2) %_filename_ext%"
and paste this in a batch file.

This will copy all selected files to your temp folder and prefix the filename with the playlist index.

Regards,
~ Florian

I'm sorry - I don't understand how this works. Could you expain in a more detailed way, please? What kind of batch file are you talking about? And how do you use it?

To copy all selected files in my playlist to a certain destination folder, I've changed the Copy command at Preferences, Display, Title formatting to the string above.

When pressing the Ctrl+C hotkey combination, fb2k will copy the file information of the selected files to the clipboard using the above formatting string.

After that, I'm pasting the text from the clipboard to a file called temp.bat using the Ctrl+V hotkey combination. This file is a so called batch-file (because it has the bat-extension and is executable by windows). When double-clicking this file, windows will run the commands in this file.

In my special case, there are only some copy commands with different source- and target-filenames. It will copy all selected files to your temp-directory while prefixing the source-filename with the playlist index.
But I can also think of a total new filename scheme (using the other meta-data placeholders) which can easily be used at Guess values from filename....

Regards,
~ Florian

Plugin request: "Copy files to..."

Reply #14
Quote
To copy all selected files in my playlist to a certain destination folder, I've changed the Copy command at Preferences, Display, Title formatting to the string above.

Aaah ... this is the 'secret'  I didn't know. Thanks.
Let's suppose that rain washes out a picnic. Who is feeling negative? The rain? Or YOU? What's causing the negative feeling? The rain or your reaction? - Anthony De Mello

Plugin request: "Copy files to..."

Reply #15
cool, works great. i'm just using
Code: [Select]
copy "%_path%" "G:\temp\%_filename_ext%"

Plugin request: "Copy files to..."

Reply #16
Quote
Quote
I always use the copy command with this formatting
Code: [Select]
copy "%_path%" "$char(37)TMP$char(37)\$num(%_playlist_number%,2) %_filename_ext%"
and paste this in a batch file.

This will copy all selected files to your temp folder and prefix the filename with the playlist index.

Regards,
~ Florian

I'm sorry - I don't understand how this works. Could you expain in a more detailed way, please? What kind of batch file are you talking about? And how do you use it?

To copy all selected files in my playlist to a certain destination folder, I've changed the Copy command at Preferences, Display, Title formatting to the string above.



I've been using this for a few years, but recently upgraded to fb2k v1.0.3 and can't figure out how to modify the copy command as I did in older versions.  Any help is appreciated.


Re: Plugin request: "Copy files to..."

Reply #18
8 year bump:
I open the "file operation setup" box on playlist view, select output folder and put this
> $num(%_playlist_number%,2) %_filename_ext%
on the 'filename pattern' box. Then i end up with every file prefix 00 (not numbered according to the playlist order). What am i doing wrong?

Re: Plugin request: "Copy files to..."

Reply #19
So, I solved it, here is the correct syntax for anyone facing the same issue:
Quote
$num(%list_index%,2) %_filename%

Re: Plugin request: "Copy files to..."

Reply #20
So, I solved it, here is the correct syntax for anyone facing the same issue:
Quote
$num(%list_index%,2) %_filename%

Thanks!  :)