[RELEASE] myTV - TV Guide Script (with pluginsnew script) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] myTV - TV Guide Script (with pluginsnew script) (/showthread.php?tid=12895)
- BigBellyBilly - 2006-06-24 11:29
the default font names are defined at the top of mytv.py, changing them there will fix it for you. they are used if no option can be loaded from the config file. so, best to delete any lines in the config file to force the defaults to be used.
font18 has been gone for a while, but its always been really useful. eg programme title at top of screen.
i've saved a copy of the font18 from an older pm3 that used to have it in so i copy it into the right place after i update xbmc, then select it in config menu.
one solution would be to include font14,18 in the release then on first run have them copied over to the relevant folders. this would ballon the release package size thou.
skin v2.0 compatible: yes that would be a good idea.
i wouldnt want to omit < v2 pmiii users so prolly would be best to detect which skin is being used and act accordingly. maybe even mc360 friendly too?
i have to admit to not following all the xbmc/skin changes as closely as i used to, so quite a few important changes are slipping past me now.
so, whithout trying to appear to be boneidle, is there a preferred thread on making scripts v2 compatible or a few notes on key changes/issues?
- nianhbg - 2006-06-24 15:47
hi really nice script you have done is it possible to use an xml file for programs listing intead of downloading programs from web? i all ready downloading my programs info to an xml file that im using in other applications. it would be nice.
- Livin - 2006-06-24 17:21
(bigbellybilly @ june 24 2006,03:29 Wrote:so, whithout trying to appear to be boneidle, is there a preferred thread on making scripts v2 compatible or a few notes on key changes/issues?i think having a check is fine but xbmc 2.0 will be released soon and i do not see a reason to allow ppl to update the scripts they use but not update the xbmc version... do you? i think it does not help the community by allowing them to use an older version.
- sollie - 2006-06-25 07:05
- 25-06-2006 added: font fallback to "font13" if a requested font isn't available.
- BigBellyBilly - 2006-06-25 13:07
font13: thats good news.
nianhbg: it all depends on the datasource you've selected that works for your locaton, some are xml based other html scrapped (or delimited flat files ala radiotimes).
there is a datasource_pc that might be suitable for your needs.
listing files are created on your pc, from wherever you like, this datasource simply fetches them from pc. i t expects the data files to be preformatted. (see the header notes in datasource_pc.py for more info on how to use/create the files).
but i think ideally what your after is a xml reading datasource that pulls from your pc. send me a sample of the xml file you have and i'll knock up a datasource for you when i can.
- Livin - 2006-06-25 18:23
i know they did the failback code but i'd think it would be best if the scripters updated to using the current fonts?
- Livin - 2006-07-03 00:37
bbb 2 questions...
1) have you seen titantv.com? i'm wondering if you'd be able to tie into that site. it allows a ton of configuration (choosing favorites, multiple providers, hd labels, customizing grids, color coding show types, etc)... it would be cool to leverage that site from within mytv.
i'd love to be able to customize my grid online and have mytv display it the same way... including the colors and labels.
2) is there a way to have the current setup cache all the channels/grid info so that when we move to a new page it does not need to spend the time "building" the grid?
it would be cool to schedule mytv to download + build and then store in cache, say every hour or 2 to keep it up to date and the response "snappy"
what do you think?
- BigBellyBilly - 2006-07-03 10:45
titantv: i need a valid us address to register for that site inorder to have a better look at what its got. could you pm me one ?
hopefully, its has some downloadable listing, from rss or delimited files and not just another html scrape site (cos they break easily).
the colour coded programmes could be implemented as long as the site provided genre for each prog.
i'll need to look closer into the site first.
enhanced caching: it only downloads the data for channels about to be displayed, once done it obviously doesnt need to re-dl that data, so scheduling to dl every 2 hours wouldnt make any difference.
i'm assuming that this download of data was the 'build' you referred too?
personnaly i use the radiotimes datasource, which comes in 2 weeks listing files, once they data is down the screen draw is instantaneous, unless you flip to a new page that hasnt been dl yet of course.
you could always setup some regular listing download on a pc, then use the datasource_pc which just pulls the pre-made files over to the xbox. that would eliminate the download delay.
we've talked before about background thread data downloading, which i have briefly looked into and ithink i can do, but would require quite a few changes to accomodate it.
- Livin - 2006-07-03 16:55
you don't need a full address just a zip. here's one: 85260
- BigBellyBilly - 2006-07-04 17:30
as far as i can see theres no rss or downloadable tv listings from titantv.
a html scrapping datasource would require multiple fetches per day (4) as it doesnt display a whole days data on one page (just 6 hours at a time).
so, unfortunately, it doesnt look to be a suitable datasource. if they decide to add an rss feed let me know.