Armedite / xbmc-catchuptv-au

Automatically exported from code.google.com/p/xbmc-catchuptv-au
1 stars 0 forks source link

ABC iView ABC News 24 Live Stream Error #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Clicking on ABC News 24 Live Stream
2.
3.

What is the expected output? What do you see instead?
I get:

ABC iView v1.4.0 Error
make_programs_list(38) - Unable to fetch listing
time data u'2014-01-07' does not match format '%Y-%m-%...

What version of the plugin and XBMC are you using? On what operating system
and where?
v1.4.0 Frodo (v12), Windows 7 64bit

Please provide any additional information below, and attach your XBMC log
if applicable.

Original issue reported on code.google.com by jason.be...@gmail.com on 7 Jan 2014 at 4:17

GoogleCodeExporter commented 8 years ago
I'm also seeing this issue when trying to click on any show under the iView 
plugin, running v1.4.0 on Frodo, Openelec. The full error message in the logs 
is:

07:58:10 T:139844143482624  NOTICE: [ABC iView v1.4.0] ERROR: 
make_programs_list (38) - time data u'2014-01-17' does not match format 
'%Y-%m-%d %H:%M:%S'
07:58:10 T:139844143482624   ERROR: Traceback (most recent call last):
07:58:10 T:139844143482624   ERROR:   File 
"/storage/.xbmc/addons/plugin.video.abc_iview/resources/lib/programs.py", line 
38, in make_programs_list
07:58:10 T:139844143482624   ERROR:     programs = 
comm.get_series_items(iview_config, params["series_id"])
07:58:10 T:139844143482624   ERROR:   File 
"/storage/.xbmc/addons/plugin.video.abc_iview/resources/lib/comm.py", line 93, 
in get_series_items
07:58:10 T:139844143482624   ERROR:     return 
parse.parse_series_items(series_json)
07:58:10 T:139844143482624   ERROR:   File 
"/storage/.xbmc/addons/plugin.video.abc_iview/resources/lib/parse.py", line 
247, in parse_series_items
07:58:10 T:139844143482624   ERROR:     timestamp = 
time.mktime(time.strptime(temp_date, '%Y-%m-%d %H:%M:%S'))
07:58:10 T:139844143482624   ERROR:   File "./Lib/_strptime.py", line 454, in 
_strptime_time
07:58:10 T:139844143482624   ERROR:   File "./Lib/_strptime.py", line 325, in 
_strptime
07:58:10 T:139844143482624   ERROR: ValueError: time data u'2014-01-17' does 
not match format '%Y-%m-%d %H:%M:%S'
07:58:10 T:139844143482624  NOTICE: None
07:58:10 T:139845531981632   ERROR: GetDirectory - Error getting 
plugin://plugin.video.abc_iview/?series_id=2397989
07:58:10 T:139845531981632   ERROR: 
CGUIMediaWindow::GetDirectory(plugin://plugin.video.abc_iview/?series_id=2397989
) failed

Original comment by qbe...@gmail.com on 17 Jan 2014 at 8:36

GoogleCodeExporter commented 8 years ago
...also thought I'd add, it works if the program starts with a number, eg '64 
Zoo Lane' as the number is making it still match the correct syntax, but 
anything else is throwing the error.

Original comment by qbe...@gmail.com on 17 Jan 2014 at 11:39

GoogleCodeExporter commented 8 years ago
This appears to be (I hope) a bug with the iView API. For some reason it's 
appending information about ABC News 24 to every single request to this 
endpoint on the API.

I've got a workaround in a fork here:

https://github.com/davidbanham/xbmc-addon-abc-iview/

And you can download the zip here:

https://github.com/davidbanham/xbmc-addon-abc-iview/archive/master.zip

Original comment by da...@banham.id.au on 17 Jan 2014 at 12:06

GoogleCodeExporter commented 8 years ago
Thanks David - that appears to have fixed it for me.

Original comment by qbe...@gmail.com on 18 Jan 2014 at 1:06

GoogleCodeExporter commented 8 years ago
Issue tracking for the iView plugin has moved to GitHub, please continue any 
further discussion there: 
https://github.com/andybotting/xbmc-addon-abc-iview/issues/21

Original comment by adman.com@gmail.com on 30 Jan 2014 at 6:41