[arch-general] [OT] changing ripped music metadata from freeDB to MusicBrainz
Hi ! I have several ripped music CDs, and I just realized part of the metadata (I haven't looked at all of it) has the wrong track titles. I think the issue came from using freeDB for getting the metadata information, and I'm wondering if there's a way to repopulate all of it (and more, like composer information) with MusicBrainz gathered metadata instead. Is there a tool which would allow me to do the conversion? I ripped the CDs into ogg vorbis, in case that helps identify the right tool... Of course hopefully tools found on Arch, and it'd be better if they are command line ones, though a GUI one might do it as well if there's no other option... Of course doing things recursively is a must, going ogg by ogg would take like forever, :) Re-ripping would take way too long BTW, hopefully that's not the only option. I'm sorry for the "off thread" question, but I really have no clue, neither have an idea where to ask... Thanks a lot ! -- Javier
Hi Javier,
I'm wondering if there's a way to repopulate all of it (and more, like composer information) with MusicBrainz gathered metadata instead.
It may be listed at https://wiki.archlinux.org/title/List_of_applications/Multimedia#Audio_tag_e... but I've no suggestion as to which, sorry. -- Cheers, Ralph.
On 6/12/21 23:44, Javier via arch-general wrote:
Hi !
Howdy!
I'm wondering if there's a way to repopulate all of it (and more, like composer information) with MusicBrainz gathered metadata instead. Is there a tool which would allow me to do the conversion?
For ogg? I don't think there is. There is picard[0], which seems to do *almost* everything you want to do, but I'm not sure if it supports ogg or not. FWIW, picard is in the [community] repo but I've never used it so YMMV. I'd imagine it wouldn't be too hard to script something up in Python or write something in Golang; Musicbrainz does apparently have an API[1]. I'm not sure that they would let you look a track up by length via the API, though. [0] https://github.com/metabrainz/picard [1] https://musicbrainz.org/doc/MusicBrainz_API -- brent saner https://square-r00t.net/ GPG info: https://square-r00t.net/gpg-info
On 6/13/21 02:13, brent s. via arch-general wrote:
Is there a tool which would allow me to do the conversion?
For ogg? I don't think there is. There is picard[0], which seems to do *almost* everything you want to do, but I'm not sure if it supports ogg or not. FWIW, picard is in the [community] repo but I've never used it so YMMV.
Follow-up, Picard does indeed support ogg per [0]! So I'd probably start there and see if that gets you where you want to be. [0] https://picard.musicbrainz.org/ -- brent saner https://square-r00t.net/ GPG info: https://square-r00t.net/gpg-info
On 6/13/21 12:17 AM, brent s. via arch-general wrote:
On 6/13/21 02:13, brent s. via arch-general wrote:
Is there a tool which would allow me to do the conversion?
For ogg? I don't think there is. There is picard[0], which seems to do *almost* everything you want to do, but I'm not sure if it supports ogg or not. FWIW, picard is in the [community] repo but I've never used it so YMMV.
Follow-up, Picard does indeed support ogg per [0]! So I'd probably start there and see if that gets you where you want to be.
Thanks, I'll take a look ! -- Javier
On Sun, Jun 13, 2021, 05:44 Javier via arch-general < arch-general@lists.archlinux.org> wrote:
Hi !
Hey,
I have several ripped music CDs, and I just realized part of the metadata (I haven't looked at all of it) has the wrong track titles. I think the issue came from using freeDB for getting the metadata information, and I'm wondering if there's a way to repopulate all of it (and more, like composer information) with MusicBrainz gathered metadata instead. Is there a tool which would allow me to do the conversion? I ripped the CDs into ogg vorbis, in case that helps identify the right tool... Of course hopefully tools found on Arch, and it'd be better if they are command line ones, though a GUI one might do it as well if there's no other option... Of course doing things recursively is a must, going ogg by ogg would take like forever, :)
For all things related to tagging and sorting, you want to use beets. It's in the repo and it has good documentation on its site. I've used it recently to tag and sort about 8TB of music and it's just awesome.
On 6/13/21 12:40 AM, Magnus Woldrich wrote:
On Sun, Jun 13, 2021, 05:44 Javier via arch-general <arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>> wrote:
Hi !
Hey,
I have several ripped music CDs, and I just realized part of the metadata (I haven't looked at all of it) has the wrong track titles. I think the issue came from using freeDB for getting the metadata information, and I'm wondering if there's a way to repopulate all of it (and more, like composer information) with MusicBrainz gathered metadata instead. Is there a tool which would allow me to do the conversion? I ripped the CDs into ogg vorbis, in case that helps identify the right tool... Of course hopefully tools found on Arch, and it'd be better if they are command line ones, though a GUI one might do it as well if there's no other option... Of course doing things recursively is a must, going ogg by ogg would take like forever, :)
For all things related to tagging and sorting, you want to use beets. It's in the repo and it has good documentation on its site. I've used it recently to tag and sort about 8TB of music and it's just awesome.
Thanks ! I'll also take a look. -- Javier
El dom, 13 jun 2021 a las 10:30, Javier via arch-general (< arch-general@lists.archlinux.org>) escribió:
On 6/13/21 12:40 AM, Magnus Woldrich wrote:
On Sun, Jun 13, 2021, 05:44 Javier via arch-general <
arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>> wrote:
Hi !
Hey,
I have several [...]
For all things related to tagging and sorting, you want to use beets.
It's in the repo and it has good documentation on its site. I've used it recently to tag and sort about 8TB of music and it's just awesome.
Thanks ! I'll also take a look.
-- Javier
+1 beets[1][2] is the best thing for working with music files, from tagging to renaming, querying, etc. As beets config can be tedious, you can use mine, it works by importing your music files from anywhere and copy them to `~/Music` folder. So this leaves the original files untouched. ``` directory: ~/Music import: write: yes copy: yes from_scratch: yes id3v23: yes per_disc_numbering: yes paths: disctotal:2..: $albumartist/$album%aunique{}/%right{$disc,1}-$track $title plugins: fetchart embedart lyrics lastgenre scrub web zero embedart: auto: yes fetchart: minwidth: 600 maxwidth: 1000 enforce_ratio: yes sources: coverart itunes * lyrics: sources: lyricwiki musixmatch genius scrub: auto: yes zero: fields: day comments encoder month bpm bpm: [ "0" ] ``` Greetings [1]: https://beets.io/ [2]: https://beets.readthedocs.io/en/stable/ -- Óscar García Amor | ogarcia at moire.org | http://ogarcia.me
On 6/13/21 2:50 AM, Óscar García Amor wrote:
El dom, 13 jun 2021 a las 10:30, Javier via arch-general (<arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>>) escribió:
On 6/13/21 12:40 AM, Magnus Woldrich wrote:
On Sun, Jun 13, 2021, 05:44 Javier via arch-general <arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org> <mailto:arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>>> wrote:
Hi !
Hey,
I have several [...]
For all things related to tagging and sorting, you want to use beets. It's in the repo and it has good documentation on its site. I've used it recently to tag and sort about 8TB of music and it's just awesome.
Thanks ! I'll also take a look.
-- Javier
+1 beets[1][2] is the best thing for working with music files, from tagging to renaming, querying, etc.
As beets config can be tedious, you can use mine, it works by importing your music files from anywhere and copy them to `~/Music` folder. So this leaves the original files untouched. ``` directory: ~/Music import: write: yes copy: yes from_scratch: yes id3v23: yes
per_disc_numbering: yes paths: disctotal:2..: $albumartist/$album%aunique{}/%right{$disc,1}-$track $title
plugins: fetchart embedart lyrics lastgenre scrub web zero embedart: auto: yes fetchart: minwidth: 600 maxwidth: 1000 enforce_ratio: yes sources: coverart itunes * lyrics: sources: lyricwiki musixmatch genius scrub: auto: yes zero: fields: day comments encoder month bpm bpm: [ "0" ] ```
Greetings
[1]: https://beets.io/ <https://beets.io/> [2]: https://beets.readthedocs.io/en/stable/ <https://beets.readthedocs.io/en/stable/>
-- Óscar García Amor | ogarcia at moire.org <http://moire.org> | http://ogarcia.me <http://ogarcia.me/>
Thanks ! -- Javier
Sent from my Galaxy -------- Original message --------From: Javier via arch-general <arch-general@lists.archlinux.org> Date: 13/06/2021 11:16 pm (GMT+01:00) To: General Discussion about Arch Linux <arch-general@lists.archlinux.org> Cc: Javier <je-vv@e.email> Subject: Re: [arch-general] [OT] changing ripped music metadata from freeDB to MusicBrainz On 6/13/21 2:50 AM, Óscar García Amor wrote:> El dom, 13 jun 2021 a las 10:30, Javier via arch-general (<arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>>) escribió:> >> > On 6/13/21 12:40 AM, Magnus Woldrich wrote:> > >> > >> > > On Sun, Jun 13, 2021, 05:44 Javier via arch-general <arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org> <mailto:arch-general@lists.archlinux.org <mailto:arch-general@lists.archlinux.org>>> wrote:> > >> > > Hi !> > >> > > Hey,> > >> > >> > > I have several [...]> > >> > >> > > For all things related to tagging and sorting, you want to use beets. It's in the repo and it has good documentation on its site. I've used it recently to tag and sort about 8TB of music and it's just awesome.> >> > Thanks ! I'll also take a look.> >> > --> > Javier> >> > +1 beets[1][2] is the best thing for working with music files, from tagging to renaming, querying, etc.> > As beets config can be tedious, you can use mine, it works by importing your music files from anywhere and copy them to `~/Music` folder. So this leaves the original files untouched.> ```> directory: ~/Music> import:> write: yes> copy: yes> from_scratch: yes> id3v23: yes> > per_disc_numbering: yes> paths:> disctotal:2..: $albumartist/$album%aunique{}/%right{$disc,1}-$track $title> > plugins: fetchart embedart lyrics lastgenre scrub web zero> embedart:> auto: yes> fetchart:> minwidth: 600> maxwidth: 1000> enforce_ratio: yes> sources: coverart itunes *> lyrics:> sources: lyricwiki musixmatch genius> scrub:> auto: yes> zero:> fields: day comments encoder month bpm> bpm: [ "0" ]> ```> > Greetings> > [1]: https://beets.io/ <https://beets.io/>> [2]: https://beets.readthedocs.io/en/stable/ <https://beets.readthedocs.io/en/stable/>> > -- > Óscar García Amor | ogarcia at moire.org <http://moire.org> | http://ogarcia.me <http://ogarcia.me/>Thanks !-- Javier
participants (6)
-
brent s.
-
Javier
-
Magnus Woldrich
-
mjk
-
Ralph Corderoy
-
Óscar García Amor