Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Mopidy
Search
Stein Magnus Jodal
May 05, 2012
Programming
260
2
Share
Mopidy
Introduction to Mopidy I held at the Iterate Weekly Breakfast Meeting 2010-03-10
Stein Magnus Jodal
May 05, 2012
More Decks by Stein Magnus Jodal
See All by Stein Magnus Jodal
Concurrency in Mopidy
jodal
1
140
DjangoCon Europe 2011
jodal
1
200
Guice
jodal
2
240
Introduksjon til Git
jodal
1
120
Terminalbruk
jodal
1
88
Hva alle utviklere må vite om tegnsettenkoding
jodal
1
2k
Other Decks in Programming
See All in Programming
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
820
Rethinking API Platform Filters
vinceamstoutz
0
5.4k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
430
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
170
事業会社でのセキュリティ長期インターンについて
masachikaura
0
210
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.2k
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
590
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.3k
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
470
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.5k
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
280
おれのAgentic Coding 2026/03
tsukasagr
1
120
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
3
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
92
RailsConf 2023
tenderlove
30
1.4k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
ラッコキーワード サービス紹介資料
rakko
1
2.9M
Ruling the World: When Life Gets Gamed
codingconduct
0
190
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
Six Lessons from altMBA
skipperchong
29
4.2k
Facilitating Awesome Meetings
lara
57
6.8k
Transcript
Mopidy MPD server with Spotify support www.mopidy.com
«når skal vi starte på spotify mpd serveren da? :P»
Johannes, 2009-12-23
What is MPD?
What is MPD? Short for Music Player Daemon
What is MPD? Server - Protocol - Client
What is MPD? The server plays music from it's local
disk
What is MPD? The client controls playback and playlists, but
got nothing to do with the actual audio data
What is MPD? The protocol is badly documented and inconsistenly
used by the clients But it ain't that huge
What is Spotify?
What is Spotify? 99 kr per month in exchange for
all the music you'll ever need in high quality on PC and mobile Including: Windows, Mac, Linux, iPhone, Android, S60 Excluding: Beatles, Pink Floyd, Led Zeppelin, Frank Zappa
What is Spotify? Free ad-financed version available, but we're going
Premium iPhone, Android, S60 and all the open source solutions requires a Premium subscription
What is MPD+Spotify?
What is MPD+Spotify? Mopidy
What is MPD+Spotify? www.mopidy.com github.com/jodal/mopidy
Where to begin?
Where to begin? Extend existing MPD server? It's old, huge
and we're not C coders Not yet, at least
Where to begin? Reimplement then Just the server! No way
we're doing all those clients. And no way we're decoding music ourselves.
Where to begin? Scala and Actors? Enough to learn in
implementing an MPD server and Spotify integration
Where to begin? Scala and Actors? Python is known ground
Where to begin? Spotify integration?
Where to begin? Spotify integration? despotify is an open, reverse
engineered Spotify library C, Linux and OS X, not very active Python wrapper named spytify (thanks to Jørgen P. Tjernø)
Where to begin? Spotify integration? libspotify is the closed source,
but official library C, Linux 32-bit only (now 64-bit too) Python wrapper named pyspotify (thanks to Doug Winter)
Where to begin? Spotify integration? Lets do both! We don't
know what problems will arise, so we keep our options open
Architecture?
Architecture? Creating it as we walk, refactoring early and often
Architecture? Frontends - Backends - Mixers Clear APIs and loose
coupling
Architecture? Frontends work with protocols and parsing
Architecture? We got one frontend this far: Mpd{Server,Session,Handler}
Architecture? Backends work with playing music
Architecture? We got two backends: {Despotify,Libspotify}Backend
Architecture? And a third is underway: GstreamerBackend It plays music
from local disc, like the original MPD server (thanks to Thomas Adamcik)
Architecture? Mixers are the latest addition They work with volume
control
Architecture? We got two mixers: {Alsa,Osa}Mixer One for Linux and
one for OS X (the last one actually includes two lines of AppleScript)
Code?
Code? github.com/jodal/mopidy GPLv2 license
None
Tests?
Tests? 202 and counting Runs in 0.4s >100 new with
the gstreamer branch
Documentation?
Documentation? Lots! www.mopidy.com
None
Talk?
Talk? #mopidy at irc.freenode.net Currently eight humans* and a bot
* 6 Norwegians, 1 Swede, 1 Briton
Future?
Future? Version 0.1 We need to implement this release early,
release often thingy
Future? Replace libspotify with libopenspotify? Identical API, open source, adds
OS X and Windows support Should be a drop-in replacement with only benefits
Future? GstreamerBackend So we can replace the original MPD server
Future? Multiple backends at the same time Mix tracks from
Spotify and disk in the same playlist
Future? Bonjour/Avahi here-I-am Broadcast our existence so clients can automagically
find the server
Future? A non-MPD frontend?
Future? Icecast streams? Server streams music to somewhere else
Future? Squeezebox support? Deliver music to Squeezebox devices
Future? AirPort Express support? Deliver music to AirPort Express devices
Future? NAD/Denon mixer Control volume on amplifiers through RS-232
Future? Distribution infrastructure Python packaging, Debian packaging, Homebrew recipies, build
server
[email protected]
, 2010-03-09 www.mopidy.com