Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Release CetonTV+HDHomeRun - Watch TV on XBMC (WIN/OSX) (/showthread.php?tid=119865) |
- mcheng89 - 2012-02-23 europorsche914 Wrote:I have been been following this thread but havent had much time to give any input lately.. I started working on parsing epg data on my webpage so my brother can watch tv from the marine base in okinawa, japan. It would be much easier to handle this data if it was sent by the remoteceton api in xml format, that way simple javascript xml handling can be used.. For now I probably just parse the xml file that is downloaded by mc2xml. Just a thought! There's an API call for the epg data in json format. If you need help using it, let me know! I'll put in an example later, when I get home. Todo: Code: function getEPGData(start_time, end_time, channels) { - uspino - 2012-02-24 How's everything coming up tonight? Any help? - mcheng89 - 2012-02-24 uspino Wrote:How's everything coming up tonight? Any help? Probably favorites and channel list... It's been slow since I have to learn how to use that library for the interface. And I haven't had too much time to work on it Issues: settings are not saving.... Figured out channel list! I think its a clean way to do it. ^ Just a mockup... Still have some improvements to make - uspino - 2012-02-24 I noticed that. Also, it looks like resolution is always the same, regardless of what you choose in settings... I try lowest and highest on the iPad and they both look the same. EDIT: Channel List looks really nice. - mcheng89 - 2012-02-24 uspino Wrote:I noticed that. Also, it looks like resolution is always the same, regardless of what you choose in settings... I try lowest and highest on the iPad and they both look the same. Fixed: - Settings saves now Todo: - Finish channel list - Finish Favorites - Redesign Input Channel - Create bandwidth calculator for settings window - Make icon + load screen Requoting this to remind me: uspino Wrote:A few things/ideas: - synapseattack - 2012-02-24 I'm on the HDHomerun Prime train here. I know you are working on it and I can't wait to try it out. Just sent you a PM... - mcheng89 - 2012-02-24 synapseattack Wrote:I'm on the HDHomerun Prime train here. I know you are working on it and I can't wait to try it out. Just sent you a PM... After I finish iOS ... making good progress now! EDIT: Loaded channel map to offline html5 database... That way we don't slow down for something thats almost always static Working on loading channel map... (previous image was a mockup) - uspino - 2012-02-24 mcheng89 Wrote:After I finish iOS ... making good progress now! ...and don't forget the other pending project we talked about... the *easy* one... Seriously, allow us to do donations before somebody hires you and you move to Palo Alto - europorsche914 - 2012-02-24 uspino Wrote:...and don't forget the other pending project we talked about... the *easy* one... I second that!! - mcheng89 - 2012-02-24 europorsche914 Wrote:I second that!! Does the json method work for you? EDIT: channel list is completely loaded! still needs to be able to click to start a channel! Double click to start channel is done! - europorsche914 - 2012-02-24 mcheng89 Wrote:Does the json method work for you? Well I had some issues with cross browser compatibility with JSON, some support it natively but not in every version and all in all it just hasnt behaved well but Im working on a method to make it work any way using string commands, just need to create a loop to load it into an array and then Ill have it working - mcheng89 - 2012-02-24 europorsche914 Wrote:Well I had some issues with cross browser compatibility with JSON, some support it natively but not in every version and all in all it just hasnt behaved well but Im working on a method to make it work any way using string commands, just need to create a loop to load it into an array and then Ill have it working Include this file with your code: https://github.com/douglascrockford/JSON-js/blob/master/json2.js If the json isnt supported in the browser, it will automatically add the json function All the current browser versions have that function built in: http://caniuse.com/json EDIT: Fixed annoying tab switching with the library... TODO: Redo input channel since it doesnt loook too nice - europorsche914 - 2012-02-24 mcheng89 Wrote:Include this file with your code: Still no dice, actually used the json2 from json.org originally and so far havent got anything to work with IE 9 or firefox but just chaulked it up to JSON incompatibility.. Gonna continue with my string modifying which is cross browser compatible unless im missing something and thats why the javascript doesnt work for me Code: <html> - mcheng89 - 2012-02-24 europorsche914 Wrote:Still no dice, actually used the json2 from json.org originally and so far havent got anything to work with IE 9 or firefox but just chaulked it up to JSON incompatibility.. Gonna continue with my string modifying which is cross browser compatible unless im missing something and thats why the javascript doesnt work for me hmm its this issue: http://stackoverflow.com/questions/1767443/can-i-use-xmlhttprequest-on-a-different-port-from-a-script-file-loaded-from-that EDIT1: I'll try it tomorrow. EDIT2: I know what I want to do for input channel now... I think... TODO: Favorites, Nicer Input Channel, Make Bitrate List... Should be done in 1 more day - europorsche914 - 2012-02-24 mcheng89 Wrote:hmm its this issue: http://stackoverflow.com/questions/1767443/can-i-use-xmlhttprequest-on-a-different-port-from-a-script-file-loaded-from-that I'll try it and let ya know if I figure something out, I use php just to use server wide header & footer files and tested with the line removed and nothing changed but hey dont spend too much time on me Im pushing what the run of the mill user would be doing |