Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple genres in file tags are discarded upon import #668

Closed
swt30 opened this issue Apr 8, 2014 · 1 comment
Closed

Multiple genres in file tags are discarded upon import #668

swt30 opened this issue Apr 8, 2014 · 1 comment

Comments

@swt30
Copy link
Contributor

swt30 commented Apr 8, 2014

I have a bunch of mp3 files tagged with multiple genres. When I import these, all the genres after the first get dropped. This isn't using the lastgenre plugin or anything, just copying across the existing metadata. It's happening because the importer takes just the first value from the list which is created from the genre fields.

I'm new to this open source thing so I dove in and fiddled around to try and work around this. I ended up storing any list style field as a a newline-separated join of the list values (4ce0c95) and splitting it up again when writing the file. It's clunky but it works for what I need, and allows me to search for multiple genres using beet ls genre:one genre:two. I don't know if this is the behaviour you want here, but I thought I should point this out, since I guess it could cause metadata to be lost upon import from any field which uses a ListStorageStyle.

@sampsyo
Copy link
Member

sampsyo commented Apr 8, 2014

Thanks for mentioning this! We're working on a solution in #119 and, more generally, #505. Any help we can get therein would be hugely appreciated. 😃

@sampsyo sampsyo closed this as completed Apr 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants