Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Mopidy
Search
Stein Magnus Jodal
May 05, 2012
Programming
280
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
160
DjangoCon Europe 2011
jodal
1
210
Guice
jodal
2
260
Introduksjon til Git
jodal
1
150
Terminalbruk
jodal
1
110
Hva alle utviklere må vite om tegnsettenkoding
jodal
1
2k
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
160
Performance Optimization With LLMs
xleitix
0
250
AI Augmentation Techniques with Liberty
ivargrimstad
1
410
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
3
1.5k
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
ActionController meets Protocol Buffers
sorah
1
790
protojson における文字化けの扱い
kazuki1023
0
210
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
370
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
360
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
160
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
190
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
130
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
Designing for humans not robots
tammielis
254
26k
How to Talk to Developers About Accessibility
jct
2
620
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
440
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
300
The Limits of Empathy - UXLibs8
cassininazir
2
770
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.3k
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