Page 1 of 2

Copy and Swap Fields 1.0.1

Posted: Mon Mar 14, 2022 4:05 am
by Erwin Hanzl
Hello Drakinites,
https://www.mediamonkey.com/addons/brow ... ap-fields/
"Allows you to:
Copy tracks' fields from one to another, for example copying Artist to Composer or Title to Album
Swap two of the tracks' fields, for example swapping Album Artist and Artist.
Access via Tools > Edit tags > Copy field to field... and Tools > Edit tags > Swap fields...

This addon is awesome. Five stars out of five.

P.S.: And now we would need one more thing: (transfering metadata from track to track)
With the criteria:
1. All properties
OR
2. Selection via listing using CheckBoxes
https://www.mediamonkey.com/forum/viewt ... d95e34851c

Re: Copy and Swap Fields 1.0.1

Posted: Mon Mar 14, 2022 11:36 am
by drakinite
I'm glad you like it 🙂

Copying metadata from track to track is also something I have started to work on, but it is more complex and will take some time.

Re: Copy and Swap Fields 1.0.1

Posted: Tue Mar 29, 2022 8:14 pm
by JohnTangoAuckland
I, too, appreciate this helpful and welcome add-on. Is there a reason it supports only 9 different fields? Can it be modified to copy from or to the "comment" field? Thanks

Re: Copy and Swap Fields 1.0.1

Posted: Tue Mar 29, 2022 10:01 pm
by drakinite
The decision to pick those particular 10 fields were relatively arbitrary, i.e. I picked them based on what I thought would cover everyone's needs.
Though, it'd take a bit of work to do Comment and Lyrics, since the way they're retrieved from tracks is slightly different than the other fields. Not impossible, though. Aside from Comment, what other fields do you think would be useful to copy and swap?

Edit: Tracked as https://www.ventismedia.com/mantis/view.php?id=18954

Re: Copy and Swap Fields 1.0.1

Posted: Wed Mar 30, 2022 12:21 am
by Erwin Hanzl
Hello Drakinites,
I would be interested in all fields from "Classification".

Re: Copy and Swap Fields 1.0.1

Posted: Wed Mar 30, 2022 3:08 pm
by drakinite
The addon wizard has heard your wishes and they have been granted. Version 1.1.0 is up on the site :wink:

Re: Copy and Swap Fields 1.1.0.

Posted: Wed Mar 30, 2022 4:08 pm
by Erwin Hanzl
COPY FIELD TO FIELD:
Sorry, but now nothing is copied to custom fields anymore. Also not everything that is below version 101 worked.
Neither does the Comment field.

Re: Copy and Swap Fields 1.0.1

Posted: Wed Mar 30, 2022 4:55 pm
by drakinite
Whoops. Thanks for the info, I'll try and see what's wrong. Does Swap work for you?
Edit: I've pulled down version 1.1 for now.

Re: Copy and Swap Fields 1.0.1

Posted: Wed Mar 30, 2022 7:44 pm
by JohnTangoAuckland
Thanks for the speed of your reply, Drakinite! I don't use Classifications, but agree adding them would be useful. Two other fields I could suggest would be Date and Genre. Thanks again!

Re: Copy and Swap Fields 1.0.1

Posted: Thu Mar 31, 2022 2:19 am
by Erwin Hanzl
@Drakinite
Good Morning,
YES, SWAP works.

Re: Copy and Swap Fields 1.0.1

Posted: Fri Apr 08, 2022 1:19 pm
by decas30
Hi. I'm trying to move (or swap) information from the grouping field to a custom field. Is there anyway that you could add the grouping field to the list. It would save me a ton of time. thanks

Re: Copy and Swap Fields 1.0.1

Posted: Tue Jul 12, 2022 11:29 pm
by MattTown
Thanks for the script.
I'd just like to add a vote for getting swap happening for the Comment and Custom fields please. In my case it is to move large text strings from the Comment field to a Custom Field (Custom 8) so as to avoid a bug in the in-list field editor which truncates text in the Comment field to 200 characters.
Thanks
Matt

<Update: Fix for the comment field edit bug is targeted for 5.0.4>

Re: Copy and Swap Fields 1.0.1

Posted: Thu Sep 01, 2022 11:04 am
by jamesenorman
Hi there, I would like to copy Lyricist to Genre. Could this be possible please?

Re: Copy and Swap Fields 1.0.1

Posted: Thu Sep 01, 2022 11:55 am
by Erwin Hanzl
Hello Drakinite,

Code: Select all

	var supportedFields = ['title', 'album', 'albumArtist', 'artist', 'actors', 'author', 'conductor', 'composer', 'director', 'genre', 'lyricist'];
I tested: Copy Field to Field: 'genre' and 'lyricist' works correctly.
Properties: Genre=POP - Lyricist=ERWIN
I tested: Swap Fields : 'genre' and 'lyricist' works correctly.

Re: Copy and Swap Fields 1.0.1

Posted: Mon Sep 05, 2022 5:36 am
by jfg001
bonjour
est ce qu'il possible d'ajouter la date par exemple : 2007
au champ album par exemple : The Reminder
ce donnerait le résultat dans le champ album : The Reminder 2007
hello
is it possible to add the date for example: 2007
to the album field for example: The Reminder
this would give the result in the album field: The Reminder 2007