The raspberry pi – building an internet radio

18
The Raspberry Pi – Building an Internet Radio Gary Short Head of Gibraltar Labs @garyshort

description

Walking you through building an Internet Radio application with Mono C# and VistaDB on the Raspberry Pi.

Transcript of The raspberry pi – building an internet radio

Page 1: The raspberry pi – building an internet radio

The Raspberry Pi – Building an Internet Radio

Gary ShortHead of Gibraltar Labs

@garyshort

Page 2: The raspberry pi – building an internet radio

Who the Hell’s this Guy?

• Gary Short• Head of Gibraltar Labs– Skunk works division of Gibraltar Software

• Social Network Analysis and Computational Linguistics research

• @garyshort• Facebook.com/theothergaryshort• [email protected]

Page 3: The raspberry pi – building an internet radio

We Need a Repository of Radio Streams…

Page 4: The raspberry pi – building an internet radio

And we Need a way of Playing them…

Page 5: The raspberry pi – building an internet radio

apt-get install mplayer…

Page 6: The raspberry pi – building an internet radio

Do the Simplest Thing that Works…

Page 7: The raspberry pi – building an internet radio

And Check that it Does …

Page 8: The raspberry pi – building an internet radio

So Now we Need a “UI”…

Page 9: The raspberry pi – building an internet radio

apt-get install mono-complete…

Page 10: The raspberry pi – building an internet radio

On your Dev. Machine Code the App…

Page 11: The raspberry pi – building an internet radio

Main() Method…

Page 12: The raspberry pi – building an internet radio

GetData() Method…

Page 13: The raspberry pi – building an internet radio

BuildMenu() Method…

Page 14: The raspberry pi – building an internet radio

PlayStation() Method…

Page 15: The raspberry pi – building an internet radio

Run it in Visual Studio to Test…

Page 16: The raspberry pi – building an internet radio

Open WinSCP…

And drag across the .exe, the DB file, and the VistaDB DLL…

Page 17: The raspberry pi – building an internet radio

Run the Exe on the Pi…

Page 18: The raspberry pi – building an internet radio

You’re Done!