<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <meta name="generator" content="pandoc" />
  <title></title>
  <style type="text/css">code{white-space: pre;}</style>
</head>
<body>
<p>Hi Jean-Baptist and Lukas,</p>
<p>On 2017-03-29 08:35, Jean-Baptiste Kempf wrote:</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> I did not give any suggestion at my first email, because, tbh, I
 don't know.

 We're in the case, where the playlist metadata should override the input
 metadata, which is a unique case.

 But yes, it's an annoying case that we need to fix.</code></pre>
</blockquote>
<p>The only real way of fixing the issue would be to not discard already gathered metadata when a new source is queiried, but to save all metadata present and then have a priority score denoting which one that should be displayed (no matter if it was the first source queried, or not).</p>
<p>We can default to showing the last written value, while still allowing:</p>
<ol style="list-style-type: decimal">
<li><p>metadata from other sources than the most recently queried to be viewed, and;</p></li>
<li><p>the user can explicitly state that some source has higher priority than another (no matter the order of writes).</p></li>
</ol>
<p>As the order in which we query metadata is implementation-defined (from the user’s perspective), simply changing the way we merge metadata is not the path to walk in my opinion.</p>
<p>The above would also greatly gain the user-experience as we would no longer discard metadata when the same key has data in different sources.</p>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> On Tue, 28 Mar 2017, at 23:39, Lukas Solanka wrote:</code></pre>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;color:#500050">
<pre><code> Any suggestions on how to tackle #4143? I had another look at the core
 and it looks to me that various demuxers, codecs, etc. contribute to
 the metadata, without any particular rules. If the flac file does not
 contain any embedded cue sheet this will overwrite any demuxed cue
 meta added to the playlist previously.</code></pre>
</blockquote>
</blockquote>
<p>Best Regards,<br />
Filip Roséen</p>
</body>
</html>