2018-03-25, 17:52
Thanks for your help. It has always been a pain to go from xml to python to sql to http and back again and deal with all the encoding schemes and unicode.
Could you have a look at the new code to show Now and Next playing programs.
https://github.com/primaeval/plugin.vide...d1935dR885
It works for the UTC dates in my location but I haven't worked out if it will work in others.
If the timezone of xml is specified as a string instead of an offset we need to use pytz conversion but I'm not sure how exactly. It makes my head hurt.
Could you have a look at the new code to show Now and Next playing programs.
https://github.com/primaeval/plugin.vide...d1935dR885
It works for the UTC dates in my location but I haven't worked out if it will work in others.
If the timezone of xml is specified as a string instead of an offset we need to use pytz conversion but I'm not sure how exactly. It makes my head hurt.