<div dir="ltr">Hi and thanks for your kind reply.<div><br><div>I understand why the identifier can work for a spotify track, but is it relevant for a youtube link too ? </div><div>I mean, there might be several different Youtube videos for a same track.  Which, then, is no more an ID, is it ?</div><div><br></div><div>Thanks !</div><div><br></div><div>B</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 mars 2020 à 18:17, Lucas Gonze <<a href="mailto:lucas@gonze.com">lucas@gonze.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>After reading your more detailed issue description on Stack Overflow, I have posted this answer there.</div><div><br></div><div>You should use the identifier element (<a href="http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.2" target="_blank">http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.2</a>) for things like Spotify links.<br><br>The info element can also do what you need (<a href="http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.6" target="_blank">http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.6</a>), but you can only have one per track, so you couldn't cover more than one streaming service.<br><br>Regarding the many years since the last update of the spec, maybe it's time to work on one. A blessed JSON version would be useful. <br><br>It's productive to discover that the spec is not clearly communicating this information. In the time we wrote the spec most functioning Internet music was an MP3 on a web server. Now streaming services do the job. We could possibly fix this with an update to the documentation. For example, the sample playlists at <a href="http://xspf.org/quickstart/" target="_blank">http://xspf.org/quickstart/</a> could show how to do it.<br><br><br><br><br> <br><br><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 10:05 AM Lucas Gonze <<a href="mailto:lucas@gonze.com" target="_blank">lucas@gonze.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Benoît, it's excellent to meet you. I am CC'ing the XSPF list at <a href="mailto:playlist@xiph.org" target="_blank">playlist@xiph.org</a> and copying this answer to the Stack Overflow thread.</div><div><br></div><div>The info element is designed to do what you need:</div><div><a href="http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.6" target="_blank">http://xspf.org/xspf-v1.html#rfc.section.4.1.1.2.14.1.1.1.6</a></div><div><br></div><div>However, there can only be one info element per track.</div><div><br></div><div>Regarding the many years since the last update of the spec, maybe it's time to do one. A blessed JSON version would be useful. <br></div><div><br></div><div>-Lucas<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 1:38 AM Benoît Gréant <<a href="mailto:gordie.lachance@gmail.com" target="_blank">gordie.lachance@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi guys !<div><br></div><div>I love your XSPF thing :)</div><div>Have been playing with it since several years, using it as base for my website (<a href="https://www.spiff-radio.org/wordpress-soundsystem-plugin/soundsystem-api/" target="_blank">&API</a>, &WP plugin) <a href="http://spiff-radio.org" target="_blank">spiff-radio.org</a>.</div><div><br></div><div>I have a small question.  I want to attach (several) links to a playlist track (eg. spotify/youtuble/apple music...); what tag should I use for this ?</div><div><br></div><div>Well, I posted <a href="https://stackoverflow.com/questions/60822682/xspf-xml-playlist-specifications-how-should-i-format-links-to-one-or-several" target="_blank">the complete question on Stackoverflow</a>.</div><div><br></div><div>Thanks for your help.</div><div><br></div><div>Benoît</div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>