Please find attached a new enigma2 plugin BBCiplayer.
Regards, pcd.
Posted 10 July 2018 - 13:22
Is this a standard alone plugin or for use with Kodidirect?
I used as standalone on a mutant HD51
error.log
Here in default-py sys.argv = ['/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py', '1', ''] Here in default-py sys.argv B= ['plugin://plugin.video.iplayerwww/', '1', ''] Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py", line 42, in <module> import ipwww_common as Common File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/resources/lib/ipwww_common.py", line 6, in <module> import requests File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/scripts/script.module.requests/lib/requests/__init__.py", line 43, in <module> import urllib3 ImportError: No module named urllib3
e.log was blank
porncenter.txt
plugin.video.iplayerwww
test.txt
in action=
Posted 14 July 2018 - 23:50
Is the module: python-urllib3 installed?
No it wasn't. Hopefully it can be added to the dependencies for next version.
However, next stumbling block is below. I am afraid I don't know which package to install for "chardet"
Here in default-py sys.argv = ['/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py', '1', ''] Here in default-py sys.argv B= ['plugin://plugin.video.iplayerwww/', '1', ''] Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py", line 42, in <module> import ipwww_common as Common File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/resources/lib/ipwww_common.py", line 6, in <module> import requests File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/scripts/script.module.requests/lib/requests/__init__.py", line 44, in <module> import chardet ImportError: No module named chardet
Reason I asked whether plugin was standalone or not is because of the text in the on the plugin page as shown in the attached screenshot.
Posted 15 July 2018 - 22:37
I've placed the files.. but got a GSOD
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 69, in action
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
File "/usr/lib/enigma2/python/Plugins/Extensions/ITV/plugin.py", line 3015, in okClicked
self.okClicked2()
File "/usr/lib/enigma2/python/Plugins/Extensions/ITV/plugin.py", line 3040, in okClicked2
self.stream()
File "/usr/lib/enigma2/python/Plugins/Extensions/ITV/plugin.py", line 3218, in stream
self.p = os.popen(cmd)
OSError: [Errno 12] Cannot allocate memory
But I think this must be moved into the ITV plugin postings..
Edited by Rick Hunter, 15 July 2018 - 22:38.
Posted 15 July 2018 - 22:41
But funny to mention is that the Same error appears with the BBC iPlayer plugin.
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 69, in action
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3015, in okClicked
self.okClicked2()
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3040, in okClicked2
self.stream()
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3218, in stream
self.p = os.popen(cmd)
OSError: [Errno 12] Cannot allocate memory
Seen with a Develop image at the Mutant HD51.
With debug I see this:
idx = 1
In StartPlugin_mainmenu okClicked B self.name = plugin.video.iplayerwww
In StartPlugin_mainmenu SELECT[0] = plugin.video.iplayerwww
DEBUG = 1
StartPlugin_mainmenu self.arg = '/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py' '1' ''
going in default-py Now = 2018-07-15 23:43:37.178527
python /usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py 1 ''
In StartPlugin_mainmenu timenow 0.0
In StartPlugin_mainmenu cmd = python /usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py 1 ''
cmd = python /usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py 1 ''
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 69, in action
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 49, in action
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3015, in okClicked
self.okClicked2()
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3040, in okClicked2
self.stream()
File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugin.py", line 3218, in stream
self.p = os.popen(cmd)
OSError: [Errno 12] Cannot allocate memory
[ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0xb0288850>>,('OkCancelActions', 'ok')) failed)
[gRC] main thread is non-idle! display spinner!
Killed
Edited by Rick Hunter, 15 July 2018 - 22:44.
Posted 15 July 2018 - 22:55
What box?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 15 July 2018 - 23:30
Edited by samsamsam, 15 July 2018 - 23:32.
Posted 15 July 2018 - 23:36
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 16 July 2018 - 02:37
Not got the crash, just this error
Here in default-py sys.argv = ['/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py', '1', ''] Here in default-py sys.argv B= ['plugin://plugin.video.iplayerwww/', '1', ''] Traceback (most recent call last): File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/default.py", line 42, in <module> import ipwww_common as Common File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/plugins/plugin.video.iplayerwww/resources/lib/ipwww_common.py", line 6, in <module> import requests File "/usr/lib/enigma2/python/Plugins/Extensions/BBCiplayer/scripts/script.module.requests/lib/requests/__init__.py", line 90, in <module> from urllib3.exceptions import DependencyWarning ImportError: cannot import name DependencyWarning
I definitely have urllib3 installed
root@mutant51:~# opkg install python-urllib3 Package python-urllib3 (1.2-r0) installed in root is up to date. root@mutant51:~#
Posted 16 July 2018 - 09:02
I have tested with latest openpli 6. They are all working. I will try to find out what your problems may be. Perhaps restart enigma may solve.
@samsamsam
There is a reason for using os.popen. It returns all outputs from the python runs. Writing outputs to files slows the process.
It has been working well for KodiLite. These smaller plugins each actually include a mini kodi which can run big (and slow in enigma2) kodi addons without changing. Your IPTVplayer and Tsmedia copy methods from kodi addons but you have to recode them.
Regards, pcd..
0 members, 1 guests, 0 anonymous users