Kodi Community Forum
Au plugin for mytv in development... - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Au plugin for mytv in development... (/showthread.php?tid=15260)



Au plugin for mytv in development... - KaHooli - 2005-09-28

hi all,
i have found an rss feed for australian tv which would make a better datasource for mytv.

i am new to python scripting, so please bear with me a little.

what i am trying to do is import the channelid and name tags from http://www.d1.com.au/d1xmltv....risbane

any ideas?

thanks,
kahooli


- BigBellyBilly - 2005-09-28

kahooli,

i'd be more than happy to have ago at using that rss feed instead of the html scraping method used at present.
i just need to get v1.08 out the door first, so if you can wait a few days ... ?

cheers link thou.


- BigBellyBilly - 2005-09-29

it was easier than i thought, so it'll now be in v1.08

provided programme descriptions are a bit poor thou.

setup:
select provider and region in datasource_ausrss.py

one thing i'm unsure of is the start/stop datetime provided for each prog.
eg 20050929130000+1000

is that indicating your gmt+10 hours ? even if it is, i'm unsure if i should be adding that offset to the time ?
in its present form, its not added, but let me know if the prog start times are wrong because of this.

i just need to double check this code, then v1.08 *should* be uploaded to xbmcscripts tonight.


- KaHooli - 2005-09-29

Quote:one thing i'm unsure of is the start/stop datetime provided for each prog.
eg 20050929130000+1000

is that indicating your gmt+10 hours ? even if it is, i'm unsure if i should be adding that offset to the time ?
in its present form, its not added, but let me know if the prog start times are wrong because of this.
it is indicating that the time mentioned before it is gmt+10 (ie already had +10 included in it), not gmt+0.

example the channel ten news on a weekday is at 5pm and finishes at 6pm...
Quote:<start>20050930170000 +1000</start>
<stop>20050930180000 +1000</stop>
.

thanks for your work, and i cant wait to download it. :bowdown:


- BigBellyBilly - 2005-09-30

ok. should be right th
i've put a yousenit link in the main mytv thread, last post on last page probs.

u can dl from that. v1.08a

cheers