fix: allow multiple values for tag "musicbrainz-artistid" & "musicbrainz-albumartistid"

issue #2
This commit is contained in:
2021-12-14 18:49:48 +01:00
parent c6c9da2f27
commit 9c1d39ba5f
2 changed files with 49 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
mod config;
mod tag;
mod ui;
use crate::config::{Config, Transcode};
@@ -171,6 +172,9 @@ async fn main() -> Result<()> {
async fn main_loop(ui_queue: ui::MsgQueue) -> Result<()> {
let (config, conv_args) = task::spawn_blocking(|| -> Result<_> {
gstreamer::init()?;
gstreamer::tags::register::<tag::MbArtistId>();
gstreamer::tags::register::<tag::MbAlbumArtistId>();
let config = config::config().context("Could not get the config")?;
let conv_args = get_conversion_args(&config)