emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking forward to Emms 6.0


From: Fran Burstall (Gmail)
Subject: Re: looking forward to Emms 6.0
Date: Fri, 1 May 2020 17:38:35 +0100

* Find a suitable replacement for emms-print-metadata as a way to access
  taglib. A current candidate is installing pytaglib.

I am happy to be involved in this.  If pytaglib is to be used, it comes with a small python script called pyprinttags which outputs something like this:

*************************************************************************
TAGS OF '02. Peter Gunn (live) _ Where's Your Head At (Head-a-Pella).mp3'
*************************************************************************
ALBUM                             = As Heard on Radio Soulwax, Part 2
ALBUM ARTIST CREDIT               = 2 Many DJ’s
ALBUMARTIST                       = 2 Many DJ’s
ALBUMARTISTSORT                   = 2 Many DJ’s
ARTIST                            = Emerson, Lake & Palmer / Basement Jaxx
ARTIST CREDIT                     = Emerson, Lake & Palmer / Basement Jaxx
ARTISTSORT                        = Emerson, Lake & Palmer / Basement Jaxx
BPM                               = 0
CATALOGNUMBER                     = 941.0065.020
COMPOSER                          = Henry Mancini
DATE                              = 2003-02-17
DISCNUMBER                        = 1/1
GENRE                             = Electronica/Dance
LABEL                             = [PIAS] Recordings
LANGUAGE                          = mul
LYRICIST                          = Henry Mancini
LYRICS                            =
MEDIA                             = Enhanced CD
MUSICBRAINZ ALBUM COMMENT         = Reissue with new artwork
MUSICBRAINZ ALBUM RELEASE COUNTRY = FR
MUSICBRAINZ ALBUM STATUS          = Official
MUSICBRAINZ ALBUM TYPE            = compilation
MUSICBRAINZ RELEASE TRACK ID      = 13031913-0a36-4045-a7b7-02ddfc6abdae
MUSICBRAINZ_ALBUMARTISTID         = 82dc508a-dbda-4954-aedc-28895edfa42e
MUSICBRAINZ_ALBUMID               = fb3b6470-c0b8-4f45-91f7-238b600be93f
MUSICBRAINZ_ARTISTID              = ad996aef-cc1c-42ac-af5c-619c370f4b8a
MUSICBRAINZ_RELEASEGROUPID        = f818f48f-5266-313d-b70a-df88c522fe3c
MUSICBRAINZ_TRACKID               = 922d82f5-2afa-433f-91ed-02946125d18a
ORIGINALDATE                      = 2002-06-18
SCRIPT                            = Latn
TITLE                             = Peter Gunn (live) / Where's Your Head At (Head-a-Pella)
TRACKNUMBER                       = 2/31
Unsupported tag elements: TCMP; TIPL; TSOC; APIC

Clearly a little parsing would be necessary to get this into a shape that emms could work with.

I see two ways to go with this:

1.  write emms-info-pytaglib.el which does the parsing.

2.  write a python version of emms-print-metadata that is a drop-in replacement for the C version.

Both are easy though option 2 is probably easier.  The downside of option 2 is that we still have a piece of non-elisp to install in the user's path.

Preferences?

---Fran






reply via email to

[Prev in Thread] Current Thread [Next in Thread]