-
I have a weird problem, most probably due to a bug in an older beets version I used back when I did my first experiments with beets on my second computer (the DJing computer). I'll do my research now if I find that bug, I just can't remember that something like that was exisiting (It can't be that one: #4726 , because it seems to apply to each and every one of my albums with few exceptions. Can't imagine that I reimported all of them). In the end it doesn't matter anymore though why I have this situation in this particular beets installation, I just want to somehow fix it. Reimporting everything is not an option. I tried that with a distance of Usually my approach to sql would be to find a select that shows me the issue and than move to an update statement that fixes it. I'm struggling with the select already: I'd like to show all albums that have data_source missing but show what data_source actually should be from a track contained on the album (all my tracks have it set correctly!) How to inner join/left join those 3 tables to at least show me where/what is missing. We have: albums 1:n album_attributes Certainly hints on how regular beets commands could be used to fix it, are appreciated. Currently I'm not seeing how I could fix it that way though.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Some insight since when data_source should be applied to album level on imports (merged mid-2019): I might have used a version prior to this being merged but it would be very odd since my first beets experiments started around end of 2020... |
Beta Was this translation helpful? Give feedback.
-
I only skimmed this, but couldn't you define an album-level inline field |
Beta Was this translation helpful? Give feedback.
-
In the past I've resorted to shell scripts and long pipelines for this type of problem.
(Edited: |
Beta Was this translation helpful? Give feedback.
-
You all are awesome! That was exactly the creative ideas I was missing. In the end I used @wisp3rwind's idea #4784 (comment) but I'm sure a oneliner like @govynnus suggested #4784 (comment) would have worked as well. This is what I did: album level inline field:
Fix:
|
Beta Was this translation helpful? Give feedback.
You all are awesome! That was exactly the creative ideas I was missing. In the end I used @wisp3rwind's idea #4784 (comment) but I'm sure a oneliner like @govynnus suggested #4784 (comment) would have worked as well.
This is what I did:
album level inline field:
Fix: