8
touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

Embed Size (px)

Citation preview

Page 1: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

api: homescript your digital media

Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

Page 2: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

digital living roomo media servers provide music, video

and pictureso media players can display those

assetso all connected through the home Wi-Fio touchdevelop acts as a controller

Page 3: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

apiso Media Player→play home

mediaPlays a media from the home network.

o Player→play home mediaPlays an audio/video file from the home network

o Home→printersGets the printers on the current wireless network

o Home→playersGets the media players on the current wireless network

o Home→serversGets the media servers on the home network

o Home→choose printerChoose a printer on the current wireless network

o Home→choose playerChoose a media player on the current wireless network

o Home→choose serverChoose a media server on the current wireless network 

Page 4: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

server → phoneaction my random video on phone var server := home→choose server var video := server→choose video

player→play home media(video)

Page 5: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

server → phone → playeraction my random video var server := home→choose server var video := server→choose video home→choose player→play home media(video)

Page 6: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

server → phone or playeraction my random video var server := home→choose server var video := server→choose video video→post to wall

Page 7: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api

web → phone → playeraction channel 9 videos get the latest video from an RSS stream var link := web→rss(“http://channel9/rss”)→at(0) var pr := home→choose player play it! pr→play media(link→address)

Page 8: Touchdevelop api api: home script your digital media Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including

touchdevelop api