<html><head></head><body><div>
<meta charset="utf-8">
<div id="compose-body-wrapper" dir="auto"><div dir="auto">Let's book a real-time chat to work on this in IRC, Slack, etc. Would Monday April 17 at 10 PT work for you? </div><div dir="auto"><br></div><div dir="auto">T'est francophone, Benoit? C'est pas plaisant a m'ecouter en Francais, mais je comprends bien. </div><div dir="auto" id="tmjah_g_1299"><br></div></div><div class="replyHeader" dir="auto">Benoît Gréant wrote:</div><br><br><div><blockquote cite="mid:CANBHjVNWZ5LQZ6UbV1bcMLF-2ZmevmT+b6JOdMPaE=aT1nctyw@mail.gmail.com" type="cite" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Lucas !<div>Thanks for your feedback.</div><div><br></div><div><div>About your proposal, thanks - but I'm not really fluent in english (at least, i'm not good speaking it) and it's easier for me when it's written.</div></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">How should we validate this?</blockquote><div><br></div><div>This could be validated with a JSON Schema validator, like for instance this one (package for node.js) <a href="https://www.npmjs.com/package/jsonschema">https://www.npmjs.com/package/jsonschema</a>.</div><div>It's quite powerful !</div><div><br></div><div>I implemented this in a tool i'm working on, <a href="https://github.com/spiff-radio/jspf-cli">JSPF CLI</a>. It's a command line utility (node.js package) to convert playlists between jspf,xspf,m3u8,m3u and pls.</div><div>I never found a convertor that worked as I wanted, so... I made it. But it took a lot of time (too much!) and it's not perfect yet. It's not yet published to <a href="http://npmjs.com">npmjs.com</a> either.</div><div><br></div><div>When coding it, I started to write a document with some thoughts about the XSPF/JSPF formats - I still think it needs to evolve.</div><div><br></div><div>You can find it here and it's open to comments :</div><div><a href="https://docs.google.com/document/d/1AxuSJCC1drna24E-k16njiMUU70gWNNJ3V0_C0eqLjQ/edit?usp=sharing">https://docs.google.com/document/d/1AxuSJCC1drna24E-k16njiMUU70gWNNJ3V0_C0eqLjQ/edit?usp=sharing</a><br></div><div><br></div><div>See ya !</div><div><br></div><div>Benoît</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 27 mars 2023 à 19:53, Lucas Gonze <<a href="mailto:lucas.gonze@gmail.com">lucas.gonze@gmail.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>Very cool. <br></div><div><br></div><div>How should we validate this? How about a real time conversation where we compare the JSON Schema to the original specs? What is your time zone and general availability?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 27, 2023 at 6:44 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">This is an attempt to a JSON Schema for the JSPF specs : <a href="https://gist.github.com/gordielachance/2cb6a667471b5d4c2a5ae89e1f549eb1" target="_blank">https://gist.github.com/gordielachance/2cb6a667471b5d4c2a5ae89e1f549eb1</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 19 févr. 2022 à 23:44, Lucas Gonze <<a href="mailto:lucas@gonze.com" target="_blank">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>Benoît, hello! <br></div><div><br></div><div>I don't think there is a JSON validator. One approach I can think of is to convert the JSON to XML and then run Sebastian Pipping's validator on the XML. <br></div><div><br></div><div>Sebastian is one of the authors of JSPF. He might be interested in creating a JSON Type Definition for it.</div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 19, 2022 at 12:23 PM 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 all!<div><br></div><div>I would like to know if there is something like a JSON Type Definition (RFC 8927) that could be used to validate some JSPF datas ?</div><div><br></div><div>Thanks a lot !</div><div><br></div><div>Benoît</div></div>
_______________________________________________<br>
Playlist mailing list<br>
<a href="mailto:Playlist@xiph.org" target="_blank">Playlist@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/playlist" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/playlist</a><br>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
Playlist mailing list<br>
<a href="mailto:Playlist@xiph.org" target="_blank">Playlist@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/playlist" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/playlist</a><br>
</blockquote></div>
</blockquote></div></blockquote></div>
</div></body></html>