Inconsistent album tracks

Ugh, it turns out I’ve been forgetting to set fields on albums instead of tracks a lot more than I thought:

$ beet inconsistent-album-tracks added+
[18464] Scratches Original Soundtrack - 01 - Cellar of Rats - Their Lost Tale: field `albumtype` has value `soundtrack` but album value is `album`
[18465] Scratches Original Soundtrack - 02 - Cellar of Rats - A Tower among the Trees: field `albumtype` has value `soundtrack` but album value is `album`
[18466] Scratches Original Soundtrack - 03 - Cellar of Rats - The House, in Dust: field `albumtype` has value `soundtrack` but album value is `album`
[18467] Scratches Original Soundtrack - 04 - Cellar of Rats - What You Waited For: field `albumtype` has value `soundtrack` but album value is `album`
[18468] Scratches Original Soundtrack - 05 - Cellar of Rats - A Bump in the Night: field `albumtype` has value `soundtrack` but album value is `album`
[18469] Scratches Original Soundtrack - 06 - Cellar of Rats - Rainy Mystery: field `albumtype` has value `soundtrack` but album value is `album`
[18470] Scratches Original Soundtrack - 07 - Cellar of Rats - Sudden Hero: field `albumtype` has value `soundtrack` but album value is `album`
[18471] Scratches Original Soundtrack - 08 - Cellar of Rats - R's Theme: field `albumtype` has value `soundtrack` but album value is `album`
[18472] Scratches Original Soundtrack - 09 - Cellar of Rats - Blackwood's Adventures Sonata: field `albumtype` has value `soundtrack` but album value is `album`
[18473] Scratches Original Soundtrack - 10 - Cellar of Rats - It is Here: field `albumtype` has value `soundtrack` but album value is `album`
[18474] Scratches Original Soundtrack - 11 - Cellar of Rats - The Lurker: field `albumtype` has value `soundtrack` but album value is `album`
[18475] Scratches Original Soundtrack - 12 - Cellar of Rats - Not Alone: field `albumtype` has value `soundtrack` but album value is `album`
[18476] Scratches Original Soundtrack - 13 - Cellar of Rats - Where the Dead Might Lie: field `albumtype` has value `soundtrack` but album value is `album`
[18477] Scratches Original Soundtrack - 14 - Cellar of Rats - Frozen in Death: field `albumtype` has value `soundtrack` but album value is `album`
[18478] Scratches Original Soundtrack - 15 - Cellar of Rats - Desecrated Sorcery: field `albumtype` has value `soundtrack` but album value is `album`
[18479] Scratches Original Soundtrack - 16 - Cellar of Rats - Catherine: field `albumtype` has value `soundtrack` but album value is `album`
[18480] Scratches Original Soundtrack - 17 - Cellar of Rats - Banished: field `albumtype` has value `soundtrack` but album value is `album`
[18481] Scratches Original Soundtrack - 18 - Cellar of Rats - Revealed: field `albumtype` has value `soundtrack` but album value is `album`
[18482] Scratches Original Soundtrack - 19 - Daniel Cordes - Scratches (by Daniel Cordes): field `albumtype` has value `soundtrack` but album value is `album`
[4416] Edna & Harvey: Harvey's New Eyes - 11 - Jan Müller-Michaelis & Finn Seliger - Needle and Stitch (English version): field `albumstatus` has value `official` but album value is ``
[4416] Edna & Harvey: Harvey's New Eyes - 11 - Jan Müller-Michaelis & Finn Seliger - Needle and Stitch (English version): field `albumartist_sort` has value `` but album value is `Seliger, Finn`
[18445] Weightless - All Time Low - Weightless: field `album` has value `Weightless` but album value is `Weightless `
[16860] Renegade X Official Soundtrack - 01 - Totem Arts/Maarten Bonder - Time to Rock 'n Roll: field `disctotal` has value `1` but album value is `0`
[16861] Renegade X Official Soundtrack - 02 - Totem Arts/Sebastian Aav - Command & Conquer: field `disctotal` has value `1` but album value is `0`
[16862] Renegade X Official Soundtrack - 03 - Totem Arts - Got a Present for Ya: field `disctotal` has value `1` but album value is `0`
[16863] Renegade X Official Soundtrack - 04 - Totem Arts - Death Awaits: field `disctotal` has value `1` but album value is `0`
[16864] Renegade X Official Soundtrack - 05 - Totem Arts/Sebastian Aav - Full Stop: field `disctotal` has value `1` but album value is `0`
[16865] Renegade X Official Soundtrack - 06 - Totem Arts/Sebastian Aav - Move It: field `disctotal` has value `1` but album value is `0`
[16866] Renegade X Official Soundtrack - 07 - Totem Arts - Industrial: field `disctotal` has value `1` but album value is `0`
[16867] Renegade X Official Soundtrack - 08 - Totem Arts - March to Doom: field `disctotal` has value `1` but album value is `0`
[16868] Renegade X Official Soundtrack - 09 - Totem Arts/Sebastian Aav - Act on Instinct: field `disctotal` has value `1` but album value is `0`
[16880] Renegade X Official Soundtrack - 10 - Totem Arts/Scott Peeples - On the Prowl: field `disctotal` has value `1` but album value is `0`
[16869] Renegade X Official Soundtrack - 11 - Totem Arts - Stomp: field `disctotal` has value `1` but album value is `0`
[16870] Renegade X Official Soundtrack - 12 - Totem Arts - No Mercy : field `disctotal` has value `1` but album value is `0`
[16871] Renegade X Official Soundtrack - 13 - Totem Arts - Blinded: field `disctotal` has value `1` but album value is `0`
[16872] Renegade X Official Soundtrack - 14 - Totem Arts/Sebastian Aav - In the Line of Fire: field `disctotal` has value `1` but album value is `0`
[16873] Renegade X Official Soundtrack - 15 - Totem Arts - Valiant: field `disctotal` has value `1` but album value is `0`
[16874] Renegade X Official Soundtrack - 16 - Totem Arts/Tom Stoffel - Another Present for Ya: field `disctotal` has value `1` but album value is `0`
[16875] Renegade X Official Soundtrack - 17 - Totem Arts - Rampage: field `disctotal` has value `1` but album value is `0`
[16876] Renegade X Official Soundtrack - 18 - Totem Arts/Maarten Bonder - Just Do It Up: field `disctotal` has value `1` but album value is `0`
[16877] Renegade X Official Soundtrack - 19 - Totem Arts/Jussi Huhtala - Serenity: field `disctotal` has value `1` but album value is `0`
[16878] Renegade X Official Soundtrack - 20 - Totem Arts/Sebastian Aav - The Dead Six: field `disctotal` has value `1` but album value is `0`
[16879] Renegade X Official Soundtrack - 21 - Totem Arts/Maarten Bonder - Tension Rising: field `disctotal` has value `1` but album value is `0`
[8741] Lion Quest Soundtrack - Falcon Ave. - Satan in a Jar: field `label` has value `` but album value is `[no label]`
[8741] Lion Quest Soundtrack - Falcon Ave. - Satan in a Jar: field `catalognum` has value `` but album value is `[none]`

See inconsistentalbumtracks for the tiny plugin.

And this is after I fixed all the ones where I zero’d month/day/original_month/original_day on the tracks but not the albums :slight_smile:

I think I’ll submit a pull req to add optional warnings to beet-modify for these cases. Like https://github.com/kergoth/beets-kergoth/blob/master/beetsplug/modifytmpl.py#L146-L163 but warning instead of erroring, or possibly a prompt for confirmation?

1 Like