Script idea part 2

I wrote a program in C++ that saves artists from my MP3s to a TXT file.

I have over 4,000 artists on 14,000 songs.

Next time, check out foobar2000’s foo_texttools or Mp3tag’s export and/or copy features. :wink:

Nein. :wink:

I need to remember programming.

@jesus2099

How many artists are there in the MB database?

A lot:
Source: https://musicbrainz.org/statistics

In all seriousness, about 2.5 million

1 Like

One life is not enough. :wink:

2 Likes

Could you tell us the reason for that?
Just to “to remember programming” or what do you do with this TXT file containing 4k artists and 14k songs?

1 Like

[quote="Lioncat6, post:5, topic:734779”]
In all seriousness, about 2.5 million
[/quote]

Though not all are ‘artists’ in the way people might think.

For example for a lot of bands their members are additional entities due to the requirement to list individual writers for songs. Also included as artists are engineers, producers, visual artists, photographers, etc. who contribute to the process of creating music and/or a release.

PS. sorry no idea why the quore isn’t displaying correctly

@InvisibleMan78

  1. Export 14000 unsorted rows containing only the Artist from Mp3Tag.
  2. Alphabetical sorting in Libre Office.
  3. My EXE program finds 4000 unique names (skips duplicate ones).

Thanks for this information.

I would do that in Notepad++ with the built-in
Edit → Line Operations →
a) Sort Lines ascending
b) Remove Duplicate Lines

But never mind if your EXE solves it faster/easier.

BTW:
If you export the Artist from Mp3tag already sorted, then you can skip the sort step.

1 Like

Though not all are ‘artists’ in the way people might think.

True… especially considering the amount of things considered an artist in the MB database