I've spend some effort on a perl script to tag classical flac albums from Discogs. There is a large amount of high quality classical releases on Discogs, often for larger releases.
See this for example
I've tried tagging software on Linux - beets, picard, puddletag - there was always something missing to what I needed. So I've wrote my own script.
Script has the following features:
- uses discogs release number (--get)
- works with album directory, including multi volume (--set)
- defaults to display mode, update needs to be forced (--update yes)
- populates a set of classical tags
- Composer
- Multi Artist
- Work
- Title
- Album
- Track no
- Year
- Label
- Label Catalog No.
- Discogsid
- Genre
- renames files using trackno.work-title
- handles index and headings for composition identification
- handles credits at index or credits section of discogs
- handles multi volume sets when tracks numbers are as per discogs spec, example 1-2, 1-2...5-1,5-2 etc.
- assigns custom roles if required, for example, piano role of Vladimir Ashkenazy is written as Ashkenazy Vladimir (pf)
- formats Artist names as Lastname Firstname, except for some roles as orchestra, chorus, ensemble
There are number of limitations:
- processes only flac
- runs on linux, although should run with some changes on windows
- original tracks require 2 tags : track number and volume
- multi volume files need to be split into sub directories either named "CD number" or "VOL number"
- csv file to translate discogs roles to custom roles
This script is by no means complete, it relies on standardised discogs releases. At times I found myself correctng discogs releases to get my script working, for example adding "composed by" credit (why would anybody miss that for classical music ?).
I still use puddletag to finish the tagging, especially for Genre, Album Name and Opera (discogs standard for Opera is not what I use), but majority of time consuming tags are correct.
Script is not modular as LMS perl is and is far, far from professional coding standards. It's mostly hard coded as I find it easier to adjust to ever changing discogs and my needs.
If there is an interest, I can share the script with LMS community, especially classical users might find it useful, familiarity with perl is pretty much required.
Results 1 to 4 of 4
-
2020-01-11, 13:03 #1
- Join Date
- Dec 2009
- Location
- Oakville,Ontario,CA
- Posts
- 197
Classical Music tagging from Discogs - script offer
Last edited by matka; 2020-01-11 at 13:23. Reason: typos
George
Touch->Denon AVRS530BT ->Triangle Celius
Synology->Duet->Denon AVRS530BT->Paradigm Monitor 7
2 Duets, 1 SB3, 1 Touch, Transporter, Chromecasts
Zenphone -> NAD Viso, Sony WH1000XM3
2 servers -> Ubuntu Linux, NUC and Synology 1 Bay
-
2020-01-30, 07:04 #2
- Join Date
- Jun 2007
- Location
- Paris, France
- Posts
- 88
-
2020-01-31, 13:23 #3
- Join Date
- Aug 2009
- Posts
- 393
I'm interested, though in all these years I've never managed to learn enough Perl to debug a script.
What about MusicBrainz as an additional source?
-
2020-06-07, 16:25 #4
Did this script ever get shared? I'd be interested.
Thanks,
R.Net-UDAP is free software - you do not have to pay for it.
However, if you found it useful, please consider donating:
https://paypal.me/RobinBowes