![]() |
Release "iPlayer WWW" add-on - 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 WWW" add-on (/showthread.php?tid=353349) 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
193
194
|
RE: New plugin "iPlayer WWW" - CaptainT - 2016-01-11 (2016-01-10, 19:41)hendoben Wrote: Just non stop buffering for me. On the correct version of the add-on as per this thread, latest kodi on pc and firetv, wifi and ethernet. Tried changing the buffer size. Streams work flawlessly through firefox on the desktop and on the firetv iplayer app. . The official apps and the desktop player in your browser are more intelligent than Kodi. Both will automatically adjust the bitrate to what your line can take. They will even automatically switch to a different bitrate during playback if it runs out of buffer. Unfortunately, Kodi does not support that, so you will need to choose a suitable bitrate manually as primaeval already suggested. It is usually best to disable the automatic playback for some time and figure out which streams work well. See the first post of this thread for some information on how to do that. RE: New plugin "iPlayer WWW" - wjsx - 2016-01-11 Hi. New to Kodi and to this forum. I apologize if this is not the right thread to report a problem with this addon. Have been struggling with getting this addon to work. I'm running Kodi 15.2 on a Debian "Stretch" (testing) system, and through an established proxy-server in the UK. I installed the addon from the zipfile on the git site. My iplayer addon shows the top level menu of options, but choosing any of them causes it to fail. Here's what I could find in the kodi log: 12:26:43 T:2916088640 INFO: initializing python engine. 12:26:43 T:2916088640 DEBUG: CPythonInvoker(1, /home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py): start processing 12:26:43 T:2916088640 NOTICE: -->Python Interpreter Initialized<-- 12:26:43 T:2916088640 DEBUG: CPythonInvoker(1, /home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py): the source file to load is "/home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py" 12:26:43 T:2916088640 DEBUG: CPythonInvoker(1, /home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py): setting the Python path to /home/bill/.kodi/addons/plugin.video.iplayerwww-master:/home/bill/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-i386-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2 12:26:43 T:2916088640 DEBUG: CPythonInvoker(1, /home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py): entering source directory /home/bill/.kodi/addons/plugin.video.iplayerwww-master 12:26:43 T:2916088640 DEBUG: CPythonInvoker(1, /home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py): instantiating addon using automatically obtained id of "plugin.video.iplayerwww" dependent on version 2.19.0 of the xbmc.python api 12:26:43 T:2916088640 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.RuntimeError'> Error Contents: osrandom engine already registered Traceback (most recent call last): File "/home/bill/.kodi/addons/plugin.video.iplayerwww-master/default.py", line 12, in <module> import requests File "/home/bill/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 53, in <module> from .packages.urllib3.contrib import pyopenssl File "/home/bill/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/contrib/pyopenssl.py", line 54, in <module> import OpenSSL.SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 11, in <module> from OpenSSL._util import ( File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 7, in <module> binding = Binding() File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 95, in __init__ self._ensure_ffi_initialized() File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 127, in _ensure_ffi_initialized cls._register_osrandom_engine() File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 102, in _register_osrandom_engine raise RuntimeError("osrandom engine already registered") RuntimeError: osrandom engine already registered -->End of Python script error report<-- 12:26:43 T:2916088640 INFO: Python script stopped 12:26:43 T:2916088640 DEBUG: Thread LanguageInvoker 2916088640 terminating 12:26:43 T:2512767808 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating Any information or suggestions would be welcome. Thanks RE: New plugin "iPlayer WWW" - CaptainT - 2016-01-11 (2016-01-11, 20:01)wjsx Wrote: Here's what I could find in the kodi log: Looks like this problem. See here for a possible solution. RE: New plugin "iPlayer WWW" - Statick - 2016-01-12 plugin works well for me for TV shows any plans to add radio as well? I quite like to listen to BBC 6 music programs, and these currently aren't in the list - I have to exit the software entirely and open it up in a browser, which is a pain as I'm using an MCE remote for everything else and have to dig out the keyboard and mouse to achieve this RE: New plugin "iPlayer WWW" - DarrenHill - 2016-01-12 If not then maybe look at the radio add-on? (Add-on:Radio (wiki)) RE: New plugin "iPlayer WWW" - speedwell68 - 2016-01-12 (2016-01-12, 16:46)Statick Wrote: plugin works well for me for TV shows Try the iTunes Podcasts addon. RE: New plugin "iPlayer WWW" - mentat - 2016-01-12 (2016-01-12, 16:46)Statick Wrote: plugin works well for me for TV shows I use TuneIn Radio for Kodi (I think all the BBC stations are available and much, much more...) http://forum.kodi.tv/showthread.php?tid=119315&pid=1971523#pid1971523 Thanks. RE: New plugin "iPlayer WWW" - wjsx - 2016-01-12 A newguy back with another issue. I'm trying to use the iplayer addon through a UK-based proxy server and the call to ffmpeg is failing. I'm running Kodi on a RasPi2 and the problem occurs under either OSMC or Raspbian. The iplayer addon seems to work fine through retrieving the current program data. But when a selection is made, the call to ffmpeg fails to retrieve the designated m3u8 file, and instead gets a "403 Forbidden" response. I used the rejected url in a browser running through the proxy-server and again without the proxy. With the proxy it succeeds and without the proxy it gets a "not authorized" response. When I use only the url's domain name through the browser and proxy, that's when I get a "403 Forbidden" response. I tried that because the debug log shows ffmpeg as specifically identifying as "host" just the domain name from the url passed to it from the addon (although that's after an ffmpeg "GET" request with the full url. When I route other video addons through the same proxy, they seem to run without incident. Any suggestions would be quite welcome. Thanks for the help. Below is what I think is the relevant portion of the debug log (sorry if it's too much). I've bolded the ffmpeg lines mentioned above. 12:15:04 T:1947078656 DEBUG: StartScript - calling plugin iPlayer WWW('plugin://plugin.video.iplayerwww/','5','?url=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fepisode%2Fb06w04z8%2Fbbc-business-live-12012016&mode=202&name=BBC+Business+Live+-+12%2F01%2F2016&iconimage=http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F832x468%2Fp02spcn6.jpg&description=A+look+at+the+global+business+stories.&subtitles_url=&logged_in=False') 12:15:04 T:1947078656 DEBUG: WaitOnScriptResult - waiting on the iPlayer WWW (id=5) plugin... 12:15:04 T:1693705136 NOTICE: Thread LanguageInvoker start, auto delete: false 12:15:04 T:1693705136 INFO: initializing python engine. 12:15:04 T:1693705136 DEBUG: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): start processing 12:15:05 T:1693705136 NOTICE: -->Python Interpreter Initialized<-- 12:15:05 T:1693705136 DEBUG: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): the source file to load is "/home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py" 12:15:05 T:1693705136 DEBUG: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): setting the Python path to /home/pi/.kodi/addons/plugin.video.iplayerwww-master:/home/pi/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gst-0.10:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7 12:15:05 T:1693705136 DEBUG: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): entering source directory /home/pi/.kodi/addons/plugin.video.iplayerwww-master 12:15:05 T:1693705136 DEBUG: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): instantiating addon using automatically obtained id of "plugin.video.iplayerwww" dependent on version 2.19.0 of the xbmc.python api 12:15:06 T:1947078656 DEBUG: DialogProgress::StartModal called 12:15:06 T:1947078656 DEBUG: ------ Window Init (DialogProgress.xml) ------ 12:15:06 T:1947078656 INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY 12:15:11 T:1947078656 DEBUG: WaitOnScriptResult- plugin returned successfully 12:15:11 T:1693705136 INFO: CPythonInvoker(5, /home/pi/.kodi/addons/plugin.video.iplayerwww-master/default.py): script successfully run 12:15:11 T:1947078656 DEBUG: Using proxy XXXXXXXXXXX:YYYYY type 0 12:15:11 T:1947078656 INFO: easy_aquire - Created session to http://vod-hls-uk-live.edgesuite.net 12:15:11 T:1693705136 INFO: Python script stopped 12:15:11 T:1693705136 DEBUG: Thread LanguageInvoker 1693705136 terminating 12:15:11 T:1947078656 DEBUG: CCurlFile::GetMimeType - http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 -> application/vnd.apple.mpegurl 12:15:11 T:1947078656 DEBUG: Loading settings for http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers(http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278) 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/mms/udp 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv 12:15:11 T:1947078656 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1) 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1) 12:15:11 T:1947078656 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players 12:15:11 T:1947078656 NOTICE: DVDPlayer: Opening: http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 12:15:11 T:1947078656 WARNING: CDVDMessageQueue(player): ![]() 12:15:11 T:1947078656 DEBUG: CMMALRenderer::CMMALRenderer 12:15:11 T:1947078656 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec 12:15:11 T:1947078656 DEBUG: CMMALRenderer::UnInitMMAL pool((nil)) 12:15:11 T:1947078656 DEBUG: CMMALRenderer: ![]() 12:15:11 T:1693705136 NOTICE: Thread DVDPlayer start, auto delete: false 12:15:11 T:1693705136 NOTICE: Creating InputStream 12:15:11 T:1693705136 DEBUG: CFileCache::Open - opening <usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8> using cache 12:15:11 T:1693705136 DEBUG: Using proxy XXXXXXXXX:YYYYY, type 0 12:15:11 T:1693705136 DEBUG: CurlFile::Open(0x737ec860) http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 12:15:12 T:1790210992 NOTICE: Thread FileCache start, auto delete: false 12:15:12 T:1947078656 DEBUG: ------ Window Init (DialogBusy.xml) ------ 12:15:12 T:1790210992 INFO: CFileCache: ![]() 12:15:12 T:1790210992 DEBUG: Thread FileCache 1790210992 terminating 12:15:12 T:1693705136 NOTICE: Creating Demuxer 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later. 12:15:12 T:1947078656 DEBUG: Previous line repeats 1 times. 12:15:12 T:1947078656 DEBUG: ------ Window Deinit (DialogProgress.xml) ------ 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] request: GET /usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 HTTP/1.1 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] User-Agent: Kodi/15.1 (X11; Linux armv7l) Raspbian GNU/Linux/8 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.1-Git:Unknown 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] Accept: */* 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] Range: bytes=0- 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] Connection: close 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] Host: vod-hls-uk-live.edgesuite.net 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] Icy-MetaData: 1 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] header='HTTP/1.1 403 Forbidden' 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] http_code=403 12:15:12 T:1693705136 DEBUG: ffmpeg[64F3E3B0]: [http] HTTP error 403 Forbidden 12:15:12 T:1693705136 DEBUG: Error, could not open file http://vod-hls-uk-live.edgesuite.net/usp/auth/vod/piff_abr_full_hd/6fdb7b-b06w04yl/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2.ism/vf_b06w04yl_6a7102ed-edad-41bc-b2e6-31d872a71c43.ism.hlsv2-audio=128000-video=5070000.m3u8?__gda__=1452640509_068f7ea3f1364de8d96e645a0261d278 12:15:12 T:1693705136 ERROR: OpenDemuxStream - Error creating demuxer 12:15:12 T:1693705136 NOTICE: CDVDPlayer::OnExit() 12:15:12 T:1693705136 DEBUG: OnPlayBackStopped: play state was 1, starting 1 12:15:12 T:1693705136 DEBUG: Thread DVDPlayer 1693705136 terminating 12:15:12 T:1947078656 DEBUG: OnPlayBackStopped: play state was 3, starting 0 12:15:12 T:1947078656 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc 12:15:12 T:1947078656 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop 12:15:12 T:1947078656 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.iplayerwww/?url=http%3A%2F%2Fwww.bbc.co.uk%2Fiplayer%2Fepisode%2Fb06w04z8%2Fbbc-business-live-12012016&mode=202&name=BBC+Business+Live+-+12%2F01%2F2016&iconimage=http%3A%2F%2Fichef.bbci.co.uk%2Fimages%2Fic%2F832x468%2Fp02spcn6.jpg&description=A+look+at+the+global+business+stories.&subtitles_url=&logged_in=False] RE: New plugin "iPlayer WWW" - DarrenHill - 2016-01-12 The BBC are cracking down and blocking a lot of VPN proxies to stop access from overseas. The one you are using may well be one of them. RE: New plugin "iPlayer WWW" - wjsx - 2016-01-13 (2016-01-12, 22:37)DarrenHill Wrote: The BBC are cracking down and blocking a lot of VPN proxies to stop access from overseas. The one you are using may well be one of them. Appreciate the information. This proxy continues to work well when I use any browser, though. That's why I'm asking if there's something in the way ffmpeg is called from the iplayer addon. RE: New plugin "iPlayer WWW" - DarrenHill - 2016-01-13 As I'm sure the captain may be able to elaborate on more, different apps can use different streams / servers / file types from the bbc server farm so some routes may work but others be blocked. I'm not a great expert on it, I just know we've had reports of some add-ons and apps working on devices where others on the same device fail. Look back a bit in this thread for some examples. The source the browser is using may well not be the exact same one that the add-on is. RE: New plugin "iPlayer WWW" - wjsx - 2016-01-13 Ah, very good point. I went through this thread but too quickly. I guess I have some reading to do. ![]() Thanks for the help. RE: New plugin "iPlayer WWW" - wjsx - 2016-01-13 (2016-01-12, 22:19)wjsx Wrote: I'm trying to use the iplayer addon through a UK-based proxy server and the call to ffmpeg is failing. I'm running Kodi on a RasPi2 and the problem occurs under either OSMC or Raspbian. I solved my problem. When ffmpeg is called by Kodi, it needs the shell environment variable "http_proxy" set correctly in order to use the same proxy that is set within Kodi. In other words, ffmpeg does not get the proxy info from Kodi. Now I'm wondering if there is a way to set and "unset" that environment variable only when I use and leave the iplayer addon. Suggestions, if any, are welcome. In any event, thanks for the help. It's a great addon and Kodi is terrific. RE: New plugin "iPlayer WWW" - Grand Total - 2016-01-13 (2016-01-13, 03:45)wjsx Wrote: I solved my problem. When ffmpeg is called by Kodi, it needs the shell environment variable "http_proxy" set correctly in order to use the same proxy that is set within Kodi. In other words, ffmpeg does not get the proxy info from Kodi.Thanks for this, it works perfectly. RE: New plugin "iPlayer WWW - CaptainT - 2016-01-13 (2016-01-13, 03:45)wjsx Wrote: I solved my problem. When ffmpeg is called by Kodi, it needs the shell environment variable "http_proxy" set correctly in order to use the same proxy that is set within Kodi. In other words, ffmpeg does not get the proxy info from Kodi. I don't know if that is possible, but even if it is, it would not be a good solution. Proxies should not be handled in the add-on, but in Kodi. If you use a proxy, it should be used for all streams in Kodi, so passing the correct environment variable to ffmpeg is up to Kodi, not the add-on. Having said that, it seems that your problems are related to the geoblocking implemented by the Beeb. I would like to repeat once again, that the usage of this add-on outside of the UK is simply not supported. |