Release TV Guide - with XMLTV and streaming support - 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 TV Guide - with XMLTV and streaming support (/showthread.php?tid=120377) |
- timpinkawa - 2012-03-10 spoyser Wrote:In the getProgramList() you can make use of a member variable dictionary to cache the program lists to memory giving virtually instant (< 0.1sec) retrieval of the program list (although obviously this could potentially use a lot of memory, in the UK 14 days of 50 channels is about 18000 programs which increases memory usage of XBMC by about 12MB, so not a big deal for this size of data) I would advise some caution on this. With US Digital Cable, mc2xml generates files with slightly over 200,000 programs (default settings). - spoyser - 2012-03-10 timpinkawa Wrote:I would advise some caution on this. With US Digital Cable, mc2xml generates files with slightly over 200,000 programs (default settings). Absolutely agree with you on that, although based on my (very) rough estimate with every channel cached that would still only be about 150MB of memory. In addition the way I have implemented it, a channel only gets cached if _retrieveProgramListFromDatabase is called for it so not all channels will necessarily get cached anyhow. You could also limit the dictionary to say 100 channels, removing the 1 when the 101 item gets added. I would suggest at least giving it a try to see how it performs, like I said with the UK dataset the access rate is instant (after the initial retrieval/caching), in fact it is even faster than the EPG built into my STB! RE: [RELEASE] TV Guide - spoyser - 2012-03-12 Looks like buggalo.py is missing from the latest download (twinther-script.tvguide-v1.2.2-13-g32d41b3) :-( RE: [RELEASE] TV Guide - twinther - 2012-03-12 (2012-03-12, 17:44)spoyser Wrote: Looks like buggalo.py is missing from the latest download (twinther-script.tvguide-v1.2.2-13-g32d41b3) :-( Yeah, it's a separate module now, you can get it here: http://mirrors.xbmc.org/addons/eden/script.module.buggalo/ Br. Tommy RE: [RELEASE] TV Guide - twinther - 2012-03-16 I have uploaded a test release with the changes I have been working on. The new version is 1.2.90 and will become 1.3.0 once it is stable enough. The easiest way to get it is to install my beta repository from here: http://tommy.winther.nu/xbmc/ You can also download the zip from there as well, if you do that remember to install the Buggalo Exception Collector as well. The major changes in this version are: - Added French translation - Use script.module.buggalo for error reporting - Cache EPG data to local SQLite database (based on work by timpinkawa) - Added option to edit channel order and visibility - Automatically detects changes in settings and reloads EPG data as needed - Improved XMLTV parsing (thanks timpinkawa) - Added initial channel surfing support - Press Info for OSD, navigate with Up, Down, Left, Right, Channel + and - - Press ContextMenu to minimize video and show EPG - Added support for mouse wheel scrolling (will probably crash XBMC - see trac:12797 (wiki)) I think it's time for some screenshots again... RE: [RELEASE] TV Guide - rogerzees - 2012-03-16 Hello twinther,wow what a pro update ++++++++ Added initial channel surfing support +++Press Info for OSD, navigate with Up, Down, Left, Right, Channel + and - +++Press ContextMenu to minimize video and show EPG +++Added support for mouse wheel scrolling Like it a lot! Some issues: when you change channel order you must exit the addon or the channel page stays hidden Trying to change the size of preview window and x,y what is the id= number? RE: [RELEASE] TV Guide - twinther - 2012-03-16 good to hear I think the problem with the channel page stays hidden is due to lost focus. I'll fix it, but a workaround is to navigate once in the epg view and you should be able to open the channels page again. The preview window is actually just the <control type="videowindow"> that is scaled down using the <animation> tag, so it's a little tricky to get positioned correctly. The default skin scales it to 25% and with center at 1250x690. Br. Tommy RE: [RELEASE] TV Guide - twinther - 2012-03-17 If any of you are experiencing errors with the 1.2.90 version and you previously used a version from git then please delete the source.db in [~]/.xbmc/userdata/addon_data/script.tvguide and try again. You may not have the most recent database schema otherwise. Br. Tommy RE: [RELEASE] TV Guide - rogerzees - 2012-03-17 thanks for the info,twinther When tweaking the preview window to bigger and moved it to upper left corner now the preview seems to be submerge behind the epg is there any way to make the preview window float above the epg? the bug that came back: when loading a new xml,you must quit to get it to load. memo: when combining a xmltv files check the encodings encoding="utf-8" and encoding="ISO-8859-1" do not mix RE: [RELEASE] TV Guide - twinther - 2012-03-17 (2012-03-17, 22:34)rogerzees Wrote: is there any way to make the preview window float above the epg?Unfortunately not that I know of. The EPG program buttons are added dynamically, which means they are rendered on top of everything else. I don't think it's possible to remove/add the video window to make it appear on top. The only thing I can think of the might workaround this is to display the videowindow inside a dialog window, but I don't think I will pursue that. (2012-03-17, 22:34)rogerzees Wrote: the bug that came back:Yeah, XBMC loads the xml when it opens the window. The popup windows will render the changes in the xml each time you open it, but the main window is only loaded once. Br. Tommy RE: [RELEASE] TV Guide - Balthazar - 2012-03-18 (2012-03-17, 11:04)twinther Wrote: If any of you are experiencing errors with the 1.2.90 version and you previously used a version from git then please delete the source.db in [~]/.xbmc/userdata/addon_data/script.tvguide and try again. You may not have the most recent database schema otherwise. Thanks for the tip, I apologize if you got multiple error reports, they probably came from me I have to say, this addon has really come a long way in a short time. It is great and so much easier than setting up tvheadend and the pvr version of XBMC just to watch live TV. Thank you guys for such a great program. I really like the new video window when you back out to the EPG and the animations. Really slick. Is there anyway to re-implement the 12-hour display that was previously in timpinkawa's version? That really increased the wife-freindliness factor RE: [RELEASE] TV Guide - MaxMustermann - 2012-03-20 Hey, thanks for this great addon. It is very useful for watching satellite tv on windows without pvr builds. I installed 1.2.90 yesterday from git and get this error on addon start: Code: 17:27:50 T:924 ERROR: C:\Programme\XBMC\portable_data\addons\script.tvguide\source.py:91: DeprecationWarning: object.__init__() takes no parameters Is there something wrong with my epg.xml? Should I send it to you? Greetz, Max RE: [RELEASE] TV Guide - twinther - 2012-03-20 (2012-03-18, 18:40)Balthazar Wrote: Is there anyway to re-implement the 12-hour display that was previously in timpinkawa's version? That really increased the wife-freindliness factor Sure, I have changed it to use the date/time formats from XBMC, so it's based on which region you have configured in XBMC. MaxMustermann, I had to remove the support for smb:// paths temporarily, but I will try to add it again if possible. RE: [RELEASE] TV Guide - rogerzees - 2012-03-21 Hello Twinther,using latest beta 11.2.90-9 and everything running smooth Did success to use a larger window by making tvguide-program-grey.pngs transparent the ability to toggle ContextMenu to hide EPG and goto fulscreen is great. Some small issues: i have chosen not yet to have a logo folder,but som how xbmc finds some logos see the pic, maybe somehow from video addons cache? Sometimes if you stop a channel when full screen its goes black,to see the epg again you must press back. When playing a channel in fullscreen the (o) codecinfo dont work but using fulscreen button on my remote and then press o the it shows the codecinfo does it mean that the screen isnt in focus? RE: [RELEASE] TV Guide - Balthazar - 2012-03-24 (2012-03-20, 22:45)twinther Wrote:(2012-03-18, 18:40)Balthazar Wrote: Is there anyway to re-implement the 12-hour display that was previously in timpinkawa's version? That really increased the wife-freindliness factor This might be a stupid question, but when you say you have changed it to use date/time formats from XBMC, do you mean in the current version in your repo (1.2.90) or in an upcoming version? Mine still uses the 24-hour format. Also I have had to recently start exiting out of XBMC once a day to get it to reload program data. Not a big deal, but I usually just leave my HTPC running 24/7. It used to just reload automatically. |