Download - BOXEE OVERVIEW For Hackers Spring 2010
![Page 1: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/1.jpg)
BOXEEOVERVIEW
www.boxee.tv
For Hackers
Spring 2010
![Page 2: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/2.jpg)
HI
![Page 3: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/3.jpg)
![Page 4: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/4.jpg)
BOXEE: introduction
• Open Source / Open Platform• Social• Media Center
![Page 5: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/5.jpg)
BOXEE: charmingly simple
![Page 6: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/6.jpg)
BOXEE: tons o’ media
• Container formats: AVI, MPEG, WMV, ASF, FLV, MKV, MOV, MP4, M4A, AAC, NUT, Ogg, OGM, RealMedia RAM/RM/RV/RA/RMVB, 3gp, VIVO, PVA, NUV, NSV, NSA, FLI, FLC, and DVR-MS (beta support)
• Video codecs: MPEG-1, MPEG-2, MPEG-4 (SP and ASP, including DivX, XviD, 3ivx, DV, H.263), MPEG-4 AVC (H.264, including Nero Digital), HuffYUV, Indeo, MJPEG, RealVideo, QuickTime, Sorenson, WMV, Cinepak
• Audio codecs: AIFF, WAV/WAVE, MP2, MP3, AAC, AACplus, AC3, DTS, ALAC, AMR, FLAC, Monkey's Audio (APE), RealAudio, SHN, WavPack, MPC/Musepack/Mpeg+, Speex, Ogg Vorbis and WMA.
• Digital picture/image formats: BMP, JPEG, GIF, PNG, TIFF, MNG, ICO, PCX and Targa/TGA
• Subtitle formats: AQTitle, ASS/SSA, CC, JACOsub, MicroDVD, MPsub, OGM, PJS, RT, SMI, SRT, SUB, VOBsub, VPlayer
![Page 7: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/7.jpg)
what does Boxee run on?
• Windows• Mac• Linux• AppleTV• Boxee Box
![Page 8: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/8.jpg)
BOXEE: totally social
![Page 9: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/9.jpg)
BOXEE: open source / open platform
• Open Source: Boxee originally a fork of XBMC
• Open Platform: Any one can develop and publish apps
![Page 10: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/10.jpg)
BOXEE: open source / open platform
• Open Source: Boxee originally a fork of XBMC
• Open Platform: Any one can develop and publish apps
![Page 11: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/11.jpg)
BOXEE: developing
•GUI: XML defined
•API: Python
![Page 12: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/12.jpg)
BOXEE: GUI
<?xml version="1.0"?> <window type="window" id="14000"> <defaultcontrol always="true">100</defaultcontrol>
<allowoverlay>no</allowoverlay> <controls>
<control type="group"> <control type="image">
<posx>0</posx> <posy>0</posy> <width>1280</width> <height>720</height> <texture>lolcat.png</texture>
</control> </control>
</controls> </window>
![Page 13: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/13.jpg)
BOXEE: OMG controls!
•Buttons•Input•Labels / Images•Toggle / Radio• Scrollbar• List Containers• Visualization / Video
![Page 14: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/14.jpg)
BOXEE: logic events
•onload•onunload•onfocus•onclick• directional (up up, down down, etc.)
![Page 15: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/15.jpg)
BOXEE: example!
<control type="button" id="1000"> <width>88</width> <height>39</height> <label>Example! LOL</label> <align>center</align> <textcolor>ffffffff</textcolor>
<texturefocus>menuitem_on.png</texturefocus> <texturenofocus>-</texturenofocus> <onclick lang="python"> <![CDATA[
mc.ShowDialogNotification('You pressed a button!') ]]> </onclick> </control>
![Page 16: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/16.jpg)
BOXEE: API
• Python• Executed through events• import ftw!
• Super simple
![Page 17: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/17.jpg)
BOXEE: Classes
• App• Window• Controls (e.g. button / image / edit)• Playlist• Player
![Page 18: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/18.jpg)
BOXEE: player object
• Play (local and Internet, files and Flash)• Playlists (audio and video)• VCR controls (ff, next, back, etc)• Scrubber• Checks (IsPlaying, IsPaused, etc)
![Page 19: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/19.jpg)
BOXEE: another example!
<onclick lang="python"><![CDATA[if mc.GetPlayer().IsPlaying():
mc.GetPlayer().Stop()
items = mc.GetActiveWindow().GetList(120).GetItems()n = mc.GetActiveWindow().GetList(120).GetFocusedItem()item = items[n]
mc.GetPlayer().Play( item )]]></onclick>
![Page 20: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/20.jpg)
Now on a Box near you
HTML5
![Page 21: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/21.jpg)
BOXEE: resources
http://developer.boxee.tv
![Page 22: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/22.jpg)
BOXEE: prize
![Page 23: BOXEE OVERVIEW For Hackers Spring 2010](https://reader035.vdocument.in/reader035/viewer/2022070409/56649e9c5503460f94b9d4b7/html5/thumbnails/23.jpg)
BOXEE: join the crew