[RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) (/showthread.php?tid=51322) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
|
RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - J@CKY - 2014-04-30 (2014-04-29, 04:03)exobuzz Wrote: Version 2.5.5 - https://drive.google.com/folderview?id=0B_knGioK16E6RWZvb1dnRFNZQkk&usp=sharing Hi after auto update to 2.5.5, I wasn't able play video and came up with a script error. I tried on both OUYA build and Gotham android build. The old version 2.5.4 worked fine until it auto updated to new 2.5.5. _________________________________ [Update} Please find my debug log below: http://xbmclogs.com/show.php?id=189907 Thanks! RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2014-04-30 Well include your log of the error then! RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - J@CKY - 2014-04-30 (2014-04-30, 21:36)MilhouseVH Wrote: Well include your log of the error then! Was about to, didn't have my computer handy just now Log uploaded, post updated with URL RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2014-04-30 Thanks, some people are a bit more "hit & run" Looks like it doesn't like the md5 library on Android, iplayer will need updating to use a compatible alternative (hashlib). RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2014-04-30 @J@CKY: Now that I'm on a PC I can see there are further errors relating to elemtree, probably due to the new thumbnail code. Strange that this works fine on other platforms - I went into Popular -> "Great British Menu: Series 9: Central Fish" without any problem on OpenELEC. The md5 and Sets deprecation warnings should be eliminated though, is anyone still using Python 2.5.x? RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - AlexVallat - 2014-05-01 Hi, I'm encountering an error trying to use this plugin - from what I can tell it appears to be a bug, but would anyone mind taking a look at the log to let me know if it's something I'm doing wrong? I am using v2.5.5 on Android, the BeyondXBMC build. When I go to view any iPlayer program or live stream, it gives me a script error popup. The log is: Code: 09:18:58 T:1740806696 DEBUG: - calling plugin iPlayer('plugin://plugin.video.iplayer/','-1','?pid=bbc_one&feed_channel=bbc_one') The suspicious part, to me, is "NOTICE: SyntaxError: expected path separator ([)" - but I can't think of any way I could work around this in settings? Thanks in advance![/code] RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - exobuzz - 2014-05-01 it's a problem with some code that was fine on my python 2.7.x elementtree that is causing errors on earlier versions. I will look into it when I get a chance - in the meantime, you can use the previous version of the plugin (and put up with broken thumbnails). basically the syntax I was using is new in elementtree 1.3 which was shipped with python 2.7. I will need to revert to using a regular expression (which was in the original patch, which I changed), or some compatible elementtree syntax RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - AlexVallat - 2014-05-01 Ah, OK. Yep, 2.5.4 is working for me, thank you. Broken thumbnails can certainly be put up with, as compared to broken streaming! :-) RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - djustoe - 2014-05-03 without having to read through all 158 pages, can someone tell me if the iplayer can work with Gotham beta 2? I keep getting a script error when I try to open a channel RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Animal - 2014-05-03 Yes. The iplayer add on works with Gotham. I've had it on all the betas and now coming fine with RC1 RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - exobuzz - 2014-05-03 iplayer v2.5.6 released - https://drive.google.com/file/d/0B_knGioK16E6YmxDbGYxWW93OVE/edit?usp=sharing changes: * avoid md5/sets deprecated warnings on Python 2.6+ - thanks to neil * don't keep resume points during first 5% or last 95% of stream - thanks to neil * switch extraction of thumbnail from xml to regular expression due to elementree <1.3 lacking xpath @attrib RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - bosel - 2014-05-03 2.5.6 crashes. "import xbmc" missing in /lib/iplayer2.py (at least that fixes it for me). RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2014-05-04 (2014-05-03, 22:07)bosel Wrote: 2.5.6 crashes. "import xbmc" missing in /lib/iplayer2.py (at least that fixes it for me). What was the exact error, as xbmc wasn't imported by iplayer2.py in 2.5.5 either (or earlier versions). Could be due to the logging change. RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - toph3r - 2014-05-04 (2014-05-03, 22:07)bosel Wrote: 2.5.6 crashes. "import xbmc" missing in /lib/iplayer2.py (at least that fixes it for me). The damn thing is still broken. Ever since 2.5.5 iPlayer has not worked when configured with a proxy. 2.5.6 hasn't resolved the issue either. 21:27:11 T:139701117773568 NOTICE: -->Python Interpreter Initialized<-- 21:27:12 T:139701117773568 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.NameError'> Error Contents: global name 'xbmc' is not defined Traceback (most recent call last): File "/storage/.xbmc/addons/plugin.video.iplayer/default.py", line 19, in <module> import iplayer2 as iplayer File "/storage/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 114, in <module> http = get_httplib() File "/storage/.xbmc/addons/plugin.video.iplayer/lib/iplayer2.py", line 104, in get_httplib utils.log("Using proxy: type %i rdns: %i server: %s port: %s user: %s pass: %s" % (proxy_type, proxy_dns, proxy_server, proxy_port, "***", "***"),xbmc.LOGINFO) NameError: global name 'xbmc' is not defined -->End of Python script error report<-- 21:27:12 T:139702461491008 ERROR: GetDirectory - Error getting plugin://plugin.video.iplayer/?content_type=video 21:27:12 T:139702461491008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iplayer/?content_type=video) failed 21:27:12 T:139701117773568 NOTICE: Thread BackgroundLoader start, auto delete: false When I remove the proxy information in add on settings, everything is fine (well I can browse the listings but can't play from my IP as am outside the UK. Routing my XBMC IP over my GRE IPSEC connection fixes the issue). RE: [RELEASE] iPlayer - BBC Video and Music Plugin (UK only!) - Milhouse - 2014-05-04 @toph3r, bosel: Yep sorry, that's an error I introduced with the logging change in 2.5.5 (I'm scratching my head wondering how I missed that). Just add "import xbmc" at the top of iplayer2.py and you should be OK. I've submitted a patch to fix it in the next release. Edit: Eugh, I see why it was kind-of working - the call to "import xbmc" occurs very late in line 1076 of iplayer2.py, which in some cases is too late for calls to utils() that proceed to reference a property of the yet to be loaded xbmc module. Add "import xbmc" at the beginning then all calls to utils() will work - you could remove line 1076 but there's no harm importing it twice. |