Copy from Custom Column

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Kesa
Posts: 3
Joined: 18 May 2020 06:59

Copy from Custom Column

Post by Kesa »

Hello,

I have created custom Column having metadata for "Album Artist".
I want to copy content of all these data from Custom Column to Extra column 1 as it is i.e. raw wise.

Any Help Please

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy from Custom Column

Post by highend »

Use a script

Code: Select all

$ccData = report("{fullname}|{<caption of the album artist custom column>}<crlf>");
    foreach($item, $ccData, <crlf>, "e") {
        $file   = gettoken($item, 1, "|");
        $artist = gettoken($item, 2, "|");
        if ($artist) { tagitems("ex1", $artist, $file); }
    }
One of my scripts helped you out? Please donate via Paypal

Kesa
Posts: 3
Joined: 18 May 2020 06:59

Re: Copy from Custom Column

Post by Kesa »

Hello highend,
Thanks for reply.
In all rows of my "Extra Column 2", only insert Text " {<title of the album artist custom column>}". Not row wise content of custom Column.
I need raw wise content from custom column should be pasted to extra column

Regards

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Copy from Custom Column

Post by highend »

You need to replace <title of the album artist custom column> with the name (caption) or your custom column
One of my scripts helped you out? Please donate via Paypal

Kesa
Posts: 3
Joined: 18 May 2020 06:59

Re: Copy from Custom Column

Post by Kesa »

:shock: Oh no...
Thanks highend. Done.
Mr. Moderator, You may mark this poat as "Solved".

Regards

Post Reply