PDA

View Full Version : First enigma2 Torrent Player



mfaraj
17-08-20, 09:51
torrentPlayer 1.0

Transmission has been known for longtime as the only enigma2 torrent search engine and the known plugin eMission based on this library.
Although transmission has many good points like extensive,easy to setup and has webinterface but unfortunately has bad points in the enigma2 environment ,it is heavy with slow performance ,consumes memory and more than that has not sequential download property which able us to watch torrent movie after downloading small percentage.
In the late years developers succeeded to bind bittorrent c+ library to python as libtorrent.so,libtorrent is light,easy to manage and more than that has sequential download property which make us watching the movie after downloading small percentage.
Many when hear word torrents think about illegality and viruses but this is not the case in most of the times.Torrents is high technology to download large files with high speed without exhausting web servers.Movies and series now have very high quality and 4k quality but with large size ,which mean that normal streaming and classical downloading methods are unable to cope with this development ,so torrents streaming is the proper choice in this case.
I made torrentPlayer as first player depends and connects with libtorrent with reference to known and popular torrent websites like rarbg,ytlst and thepiratesbay.
It is fantastic entertainment experience as you can watch 4k movies and very high quality movies and tvshows instantly without waiting long time to download then watch.

setup:
download this ipk package (http://tunisia-dreambox.info/TSplugins/torrentPlayer/enigma2-plugin-extensions-torrentplayer_1.0_all.ipk) and move it to /tmp directory and install by telnet

opkg install /tmp/*.ipk

or by using this script in the telnet

wget http://tunisia-dreambox.info/TSplugins/torrentPlayer/installer.sh -O - | /bin/sh


Features:
-extract data from known popular safe torrent sites.
-Built in subssupport for subtitles
-Include powerful search by using new virtualkeyboard with windows interface supported by history and google suggestions and available with any language
-Use of imdb search engine to display movies data as well as movie trailer
-Player with support for exteplayer3,gstplayer in addition to defualt image player.
-Attractive simple interface.
-And much more...


https://i.postimg.cc/65MFvMTn/menu.jpg

https://i.postimg.cc/brN3YjxM/search.jpg

https://i.postimg.cc/zGMMd3Cf/1.jpg


https://i.postimg.cc/k5bHL9sv/2.jpg

https://i.postimg.cc/ydCGH5r4/6.jpg

https://i.postimg.cc/TPgkC02k/7.jpg

https://i.postimg.cc/Hxm6KMVT/8.jpg

mfaraj
18-08-20, 06:02
torrentPlayer 1.1
fixed some bugs in first version

for setup by telnet copy and paste this script:


wget http://tunisia-dreambox.info/TSplugins/torrentPlayer/installer.sh -O - | /bin/sh


or move this ipk package (http://tunisia-dreambox.info/TSplugins/torrentPlayer/enigma2-plugin-extensions-torrentplayer_1.1_all.ipk) to tmp and apply this command in telnet

opkg install /tmp/*.ipk

The plugin needs libtorrent c++ library,the above script install the library to your stb either arm or mipsel but other some stb processors architecture may be not accept libtorrent.
also libtorrent needs some image requirement as updated lib6c library and openssl ,so in some outdated images may fail.
however the plugin tested with openvix,openatv and pure2 and all are updated and no problem with installing libtorrent.
if you have setup problem send the telnet setup log to the coder.

kryton
19-08-20, 22:01
Sounds like a great idea and some good work has gone into it.
Installs fine but unfortunately it just hangs when opening the app and i have to restart my box to clear it.

Edision OS mini +
MIPS and Openvix version 5.2.043

60509

Also how do you uninstall it. It does not appear in extensions or systemplugins.

Edit: Managed to remove it by deleting it from usr/lib/enigma2/python/Plugins/Extensions

Hope future updates fix my problem as it looks good.

Andy_Hazza
19-08-20, 23:25
Sounds like a great idea and some good work has gone into it.
Installs fine but unfortunately it just hangs when opening the app and i have to restart my box to clear it.

Edision OS mini +
MIPS and Openvix version 5.2.043

60509

Also how do you uninstall it. It does not appear in extensions or systemplugins.

Edit: Managed to remove it by deleting it from usr/lib/enigma2/python/Plugins/Extensions

Hope future updates fix my problem as it looks good.

You’ll need to update to version 5.3.039 as you’re on an old image.


Sent from my iPhone using Tapatalk

kryton
19-08-20, 23:51
You’ll need to update to version 5.3.039 as you’re on an old image.


Sent from my iPhone using Tapatalk

Ah yes ive just noticed that after re-reading the write up.
Cheers pal.

mfaraj
20-08-20, 09:22
thanks krypton for feedback
it is running smoothly in my vusolose openvix
however to know the reason for the plugin in your system you have to upload for me the log file from
/tmp/torrentPlayer/torrentPlayer.log
may be compatibility with some skins.

cargen
21-08-20, 19:37
It is not working for me.
It freezes at the start

See log below



date:2020-08-21 19:34:15.261877
box model:mutant51
image:OpenVix-5.3
Gstreamer version:1.17.0.1
python version:2.7.15
enigma version:oe2.0
torrentPlayer version:1.1 lastupdate:f18082020
addon:
*****None
**********************************
bootlogo.py:line: #!/bin/sh
bootlogo.py:line: #!/bin/sh
bootlogo.py:line: ##setup command=wget http://tunisia-dreambox.info/TSplugins/torrentPlayer/installer.sh -O - | /bin/sh
bootlogo.py:line: #lock=mkmlw12345
bootlogo.py:line: #software_updates=torrent client for enigma2
bootlogo.py:line: #builddate=
bootlogo.py:line: #last_update=
bootlogo.py:line: version=1.1
bootlogo.py:version: 1.1
bootlogo.py:line: ######Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/bootlogo.py", line 178, in disappear
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/startmenu.py", line 50, in <module>
NameError: name 'adTools' is not defined
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/bootlogo.py", line 178, in disappear
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/startmenu.py", line 50, in <module>
NameError: name 'adTools' is not defined
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/bootlogo.py", line 178, in disappear
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/startmenu.py", line 50, in <module>
NameError: name 'adTools' is not defined
Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/bootlogo.py", line 178, in disappear
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/startmenu.py", line 50, in <module>
NameError: name 'adTools' is not defined

configs.py:config error: No module named requestsTraceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/configs.py", line 216, in <module>
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/lib/subsapi.py", line 2, in <module>
ImportError: No module named requests


Sent from my Nokia 6.1 using Tapatalk

mfaraj
22-08-20, 09:15
Thanks @cargen for feedback and for the detailed log
log showed two errors one related to requests and can be fixed from telnet by

opkg update
opkg install python-requests
The other error regarding file adTools, i do not have explanation other than adTools.py not extracted during the plugin setup ,error like this should be in all images in all situations.
resetup by the script method mentioned above may fix the problem.

cargen
22-08-20, 13:12
It Is opening fine after running the commands but I get the following error when I click on movies

I have installed libtorrent manually and still not working



date:2020-08-22 13:09:47.493132
box model:mutant51
image:OpenVix-5.3
Gstreamer version:1.17.0.1
python version:2.7.15
enigma version:oe2.0
torrentPlayer version:1.1 lastupdate:f18082020
addon:
*****None
**********************************
pltools.py:returned data: Loading data...
pltools.py:returned data: Loading data...Traceback (most recent call last):
File "/usr/lib/enigma2/python/Plugins/Extensions/torrentPlayer/screens/addonstart.py", line 78, in startaddon
ImportError: libtorrent-rasterbar.so.10: cannot open shared object file: No such file or directory

pltools.py:returned data: Libtorrent is not installed in your box,send /tmp/torrentPlayer/torrentPlayer.log file to the coder

Sent from my Nokia 6.1 using Tapatalk

mfaraj
22-08-20, 14:27
@cargen
thanks
may be you put the wrong libtorrent package for your cpu type,each architecture has its own package.
i have to see the telnet log file or supply me with result of this telnet command to decide which package suitable for your receiver


uname -m

cargen
22-08-20, 14:40
See below


.root@mutant51:~# uname -m
armv7l
root@mutant51:~#

Sent from my Nokia 6.1 using Tapatalk

mfaraj
22-08-20, 15:19
Thanks
It is armv71
the setup script should install the right package for this architecture but without the setup log i do not know what happaned
however you can install manually from one of these package after extraction the files
libtorrent-1.2.0 (http://tunisia-dreambox.info/TSmedia/software_official/libtorrent/armv71/libtorrent-1.2.0.tar.gz)

or

libtorrent-1.2.4 (http://tunisia-dreambox.info/TSmedia/software_official/libtorrent/armv71/libtorrent-1.2.4.tar.gz).

which one according to the output of this command for openssl

opkg list_installed openssl

if it is openssl 1.0 then the first package if it openssl 1.1 then the second package

cargen
22-08-20, 15:54
Thanks
It is armv71
the setup script should install the right package for this architecture but without the setup log i do not know what happaned
however you can install manually from one of these package after extraction the files
libtorrent-1.2.0 (http://tunisia-dreambox.info/TSmedia/software_official/libtorrent/armv71/libtorrent-1.2.0.tar.gz)

or

libtorrent-1.2.4 (http://tunisia-dreambox.info/TSmedia/software_official/libtorrent/armv71/libtorrent-1.2.4.tar.gz).

which one according to the output of this command for openssl

opkg list_installed openssl

if it is openssl 1.0 then the first package if it openssl 1.1 then the second packageI don't have openssl installed. Do I have to install it as well?

Where do I get the setup log?

Sent from my Nokia 6.1 using Tapatalk

ccs
22-08-20, 15:57
maybe /tmp/torrentPlayer/torrentPlayer.log

cargen
22-08-20, 15:58
I have just rerun the install script and I think it is working now.

Thanks

Sent from my Nokia 6.1 using Tapatalk

mfaraj
22-08-20, 16:21
Nice it worked for you finally
for future you may get the setup log file when using putty
from the right mouse click menu
https://i.postimg.cc/QdPHL7wN/screenshot-324.png

and for the software errors as mentioned by @ccs from the
/tmp/torrenPlayer/torrentPlayer.log

1554leslie
22-08-20, 20:08
Great looking plugin and looking forward to trying this

ade1970
28-08-20, 02:10
Not working on zgemmah7s with 5.3.039, I used openvix, under vix, install from ipk, after telnet to/tmp. all looked good then just reboots with a crash and if try and run it just freezes on opening screen as per others....I initially put 1st the one on 1.0, then 2nd 1.1, then uninstalled under plugins and deleted root directory left too; I then reinstalled ipk and same. thing...gutted ):

Andy_Hazza
28-08-20, 07:37
Not working on zgemmah7s with 5.3.039, I used openvix, under vix, install from ipk, after telnet to/tmp. all looked good then just reboots with a crash and if try and run it just freezes on opening screen as per others....I initially put 1st the one on 1.0, then 2nd 1.1, then uninstalled under plugins and deleted root directory left too; I then reinstalled ipk and same. thing...gutted ):

Shame you didn’t provide any logs for the author to look at.


Sent from my iPhone using Tapatalk

mfaraj
28-08-20, 14:22
Not working on zgemmah7s with 5.3.039, I used openvix, under vix, install from ipk, after telnet to/tmp. all looked good then just reboots with a crash and if try and run it just freezes on opening screen as per others....I initially put 1st the one on 1.0, then 2nd 1.1, then uninstalled under plugins and deleted root directory left too; I then reinstalled ipk and same. thing...gutted ):
Thanks for feedback
i did not test in this box but it runs with openvix in vusolo.
However you can help me to fix errors for this box by sending for me the crashlog
crash reported to me to missed python-request library in the system ,try to install it then try again
in telnet window(putty,dcc) after opening connection with box

opkg update
opkg install python-requests
also better to use setup script method for the plugin because it checks for requirements and free space before installing the plugin.


wget http://tunisia-dreambox.info/TSplugins/torrentPlayer/installer.sh -O - | /bin/sh

ade1970
11-11-20, 20:20
Ok, firstly apologies for not getting back to this thread sooner. in my defence at that time, my box crashed so I put PurE2 on for a while so I could test out the fnc apps. it was good (as is time remaining feature on front lcd instead of clock). However, openvix is far superior is every way and although I missed the fnc's thought I'd give this another try. I transferred over the version 1.0. & ran as instructed above & it rebooted, I then opened it via menu -torrentplayer, a pop up asked if I wanted to update to v 2.1, I said yes, it updated itself!! I went to menu, torrent player, opened it and went to search. BAZINGA!!! It works, I'm a dunce (but learning and know when to say sorry). So grateful for this torrent player I can't even start to thank you! You guys are legends :cool:

Cirrus
11-04-21, 10:00
Hi, is this still being supported? I installed it and while it looks like it works, none of the buttons on the main screen do anything and the top of the main screen says that it's not been installed? I can provide log files if needed.

thanks