This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Search and replace id tags

Tags: None
(comma "," separated)
steppenwolf
Registered Member
Posts
7
Karma
0
OS

Search and replace id tags

Thu Nov 24, 2011 5:22 am
I'd like to search and replace of all tag data (eg title) in my music collection.

What would be the best way to go about doing this?
valoriez
KDE CWG
Posts
625
Karma
3
OS

Re: Search and replace id tags

Thu Nov 24, 2011 5:38 am
My personal favorite tagger is Picard, which uses Musicbrainz date to create tags, and can even correct your filenames if you want. There are lots of options, so you might start with an album or two at first, before using it on larger chunks of your collection. Great task to do while watching TV, etc.

Very obscure music and some older classical disks aren't in the database, but most of the data is very high quality, and Picard does a superb job on about 99% of my collection.


Image
steppenwolf
Registered Member
Posts
7
Karma
0
OS

Re: Search and replace id tags

Thu Nov 24, 2011 6:06 am
valoriez wrote:My personal favorite tagger is Picard, which uses Musicbrainz date to create tags, and can even correct your filenames if you want. There are lots of options, so you might start with an album or two at first, before using it on larger chunks of your collection. Great task to do while watching TV, etc.

Very obscure music and some older classical disks aren't in the database, but most of the data is very high quality, and Picard does a superb job on about 99% of my collection.


Picard looks good. But what I'm really looking for is a way using the script console to scan the tracks in my collection and do a search and replace and update the tags that way.
valoriez
KDE CWG
Posts
625
Karma
3
OS

Re: Search and replace id tags

Thu Nov 24, 2011 6:47 am
I'm not sure exactly what you want, but Amarok does do some automatic tagging based on your tracknames, and there is a Organize Files function as well. Beyond that, in the track edit or album edit dialog, you can choose Musicbrainz which will do a lookup and tag fix if you choose to.


Image
steppenwolf
Registered Member
Posts
7
Karma
0
OS

Re: Search and replace id tags

Thu Nov 24, 2011 7:20 am
valoriez wrote:I'm not sure exactly what you want, but Amarok does do some automatic tagging based on your tracknames, and there is a Organize Files function as well. Beyond that, in the track edit or album edit dialog, you can choose Musicbrainz which will do a lookup and tag fix if you choose to.


My question isn't about how to let musicbrainz choose my tags.

I want to do something like this:

for each track in collection
do
track.title = concatenate(track.filename.substring(1,2), track.title)
end for

Is this possible using amarok scripting?
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Search and replace id tags

Fri Nov 25, 2011 9:23 am


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient