<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>jodal.dev - api</title>
    <subtitle>Personal blog of Stein Magnus Jodal</subtitle>
    <link rel="self" type="application/atom+xml" href="https://jodal.dev/tags/api/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://jodal.dev"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2017-08-26T00:00:00+00:00</updated>
    <id>https://jodal.dev/tags/api/atom.xml</id>
    <entry xml:lang="en">
        <title>Bringing the Mopidy music server to the browser</title>
        <published>2017-08-26T00:00:00+00:00</published>
        <updated>2017-08-26T00:00:00+00:00</updated>
        
        <author>
          <name>Unknown</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://jodal.dev/2017/08/26/mopidy-in-the-browser/"/>
        <id>https://jodal.dev/2017/08/26/mopidy-in-the-browser/</id>
        
        <summary type="html">&lt;p&gt;Note: This is a blog post draft that was originally written in January 2013,
left unattended for 1689 days, and rediscovered and published unedited in
August 2017.&lt;/p&gt;
&lt;p&gt;During the five years since Mopidy entered the browser with its HTTP JSON-RPC
API and the Mopidy.js JavaScript library, many successful Mopidy web
clients have been built on top of this foundation. The APIs themselves have
survived the test of time and have required minimal maintenance, just as I
hoped when implementing the APIs back in November 2012.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;a rel=&quot;external&quot; href=&quot;https://mopidy.com/&quot;&gt;Mopidy&lt;/a&gt; is a music server written in
Python. It plays music from various sources, including local disk and Spotify.
Mopidy can be remote-controlled by, among others, &lt;abbr title=&quot;Music Player
Daemon&quot;&gt;MPD&lt;/abbr&gt; clients.&lt;/p&gt;
&lt;p&gt;In Mopidy 0.10, released in the middle of December, we added an HTTP frontend.
The HTTP frontend takes Mopidy’s full core API and makes it available from
JavaScript in the browser. This means that you now can make your own web
clients for Mopidy in JavaScript, and Wouter van Wijk has already started on
&lt;a rel=&quot;external&quot; href=&quot;https://github.com/pimusicbox/mopidy-musicbox-webclient&quot;&gt;his client&lt;/a&gt; (&lt;em&gt;updated
link&lt;/em&gt;).&lt;/p&gt;
&lt;p&gt;I’d like to write a bit about how we made the HTTP client.&lt;/p&gt;</summary>
        
    </entry>
</feed>
