Added cors middleware on top of the rest api so rest endpoints can be accessed (eg. by the webapp) from a different port. Changed the http webapp fileserver port to 8080 to the server application can be started by a regular user. Added dynamic javascript injection of local server ip address so it can be referenced by the webapp to access server endpoints.
Added zeetv video streaming support. Zeetv.com uses Apple HLS live streaming technology to serve video content. In addition to YouTube links, the server rest endpoint /media/play now accepts a JSON object with Url field containing "zeetv.com" along with a Data field containing the contents of the main zeetv stream file which is called "playlist.m3u8" in most cases.
Greatly revamped the PiCast client webapp. The webapp is served from the http fileserver and loaded via WebView (actually Crosswalk WebView) in the Android client app and in a Panel view in the Chrome extension. Videos playing on the server can be played and paused by any clients. Famo.us is used to build the Views, and a custom lightweight controller.js hooks into Famo.us widget events and sends commands to the server using XmlHttpRequest's to the rest endpoints. serverIp.js is dynamically generated by the server on startup to allow communication with client webapps. RequireJS glues all the pieces together, first bootstrapping controller.js on page load.
Modified the playlistEntry structure to incorporate an optional data field for certain video streams
Fixed a bug where omxplayer wrapper was not removing outfiles on video stop
Added Sqlite test database for upcoming playlist support. Added ipaddr.go to enable dynamic ipaddress injection into webapp js files