Jump to content


Photo

IptvStreamlink


  • Please log in to reply
44 replies to this topic

#1 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 21 April 2018 - 13:48

Enigma2 plugin IptvStreamlink is attached below. It makes and installs favourite bouquets of tv channels from free internet sites.

 

This plugin uses server software Streamlink in the image. Method for installing Streamlink can be found here : - https://forums.openp...k-installation/

 

Install the attached plugin as usual. Please note that - after install of the bouquets - before first time use - Restart box/receiver.

 

Items included in the current version :-

 

Filmon - International tv with many UK channels

Tvcanli - Turkish tv hd quality

Tivustream - Mainly Italian tv

 

If you want tv from other internet sites - please post your requests.

 

Regards, pcd.

Attached Files



Re: IptvStreamlink #2 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 22 April 2018 - 08:45

Hi,

it seems to crash when urllib2.urlopen delivers 404 for web site not found.

 

ciao



Re: IptvStreamlink #3 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 22 April 2018 - 13:09

Hi,

it seems to crash when urllib2.urlopen delivers 404 for web site not found.

 

ciao

Please give an example and the crash log - so I can test. I did not get any crash. Only some bouquet channels did not open. This is normal because not every channel is open 24 hours a day. Also there may be country restriction for some channels. Regards.


Edited by pcd, 22 April 2018 - 13:11.


Re: IptvStreamlink #4 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 22 April 2018 - 18:57

Hi,

this is from the XXX version but I think they are very similar:

<  3968.871> getVideos url 1= http://www.adulttvlive.net/private-spice-brazzers-tv-embed/
<  3968.871> Here in client2 getUrl url = http://www.adulttvlive.net/private-spice-brazzers-tv-embed/
<  3969.417> Traceback (most recent call last):
<  3969.418>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 48, in action
<  3969.419>     res = self.actions[action]()
<  3969.419>   File "/usr/lib/enigma2/python/Plugins/Extensions/IptvStreamlinkXXX/adulttv/adulttv.py", line 177, in okClicked
<  3969.419>     self.BQwrite(name, url)
<  3969.419>   File "/usr/lib/enigma2/python/Plugins/Extensions/IptvStreamlinkXXX/adulttv/adulttv.py", line 186, in BQwrite
<  3969.420>     content2 = getUrl2(url, url)
<  3969.420>   File "/usr/lib/enigma2/python/Plugins/Extensions/IptvStreamlinkXXX/adulttv/adulttv.py", line 58, in getUrl2
<  3969.421>     response = urllib2.urlopen(req)
<  3969.421>   File "/usr/lib/python2.7/urllib2.py", line 155, in urlopen
<  3969.421>   File "/usr/lib/python2.7/urllib2.py", line 436, in open
<  3969.422>   File "/usr/lib/python2.7/urllib2.py", line 549, in http_response
<  3969.422>   File "/usr/lib/python2.7/urllib2.py", line 474, in error
<  3969.422>   File "/usr/lib/python2.7/urllib2.py", line 408, in _call_chain
<  3969.423>   File "/usr/lib/python2.7/urllib2.py", line 557, in http_error_default
<  3969.423> urllib2.HTTPError: HTTP Error 404: Not Found
<  3969.424> [ePyObject] (CallObject(<bound method ActionMap.action of <Components.ActionMap.ActionMap instance at 0x61f410a8>>,('SetupActions', 'ok')) failed)
here a restart of E2. This example is constantly repeatable on my boxes.

btw. I do not get UK live TV from film on in my list anything to take care of. I started plugin opened filmon, selected UK Live, red to end plugin and then restart of box but no new bouquet.

 

ciao



Re: IptvStreamlink #5 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 22 April 2018 - 19:08

Thank you. I will check. Does anything work for you in adulttv and filmon ?



Re: IptvStreamlink #6 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 23 April 2018 - 08:34

Hi, yes. What about UK Live? Anything to debug? I watched /etc/enigma2 while I tried UK live and there appeared nothing. Ralf

Re: IptvStreamlink #7 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 23 April 2018 - 09:49

Hi, yes. What about UK Live? Anything to debug? I watched /etc/enigma2 while I tried UK live and there appeared nothing. Ralf

Please replace adulttv.py with the attached. I will change in the next update. Re filmon - look in the debug of /IptvStreamlink/filmon/filmon.py.

 

Regards.

Attached Files



Re: IptvStreamlink #8 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 23 April 2018 - 10:13

Hi, thanks I will test this evening. ciao

Re: IptvStreamlink #9 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 23 April 2018 - 11:46

Hi,

I made a test with UK Live remotely:

a line #userbouquet.UK LIVE TV.tv is entered in userbouquet.tv but no file "userbouquet.UK LIVE TV.tv" or "userbouquet.UK LIVE TV.tv.del" is generated. I do not find a logfile anywhere neither in the plugin dir nor in temp.

 

Ralf



Re: IptvStreamlink #10 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 23 April 2018 - 13:34

Hi,

I made a test with UK Live remotely:

a line #userbouquet.UK LIVE TV.tv is entered in userbouquet.tv but no file "userbouquet.UK LIVE TV.tv" or "userbouquet.UK LIVE TV.tv.del" is generated. I do not find a logfile anywhere neither in the plugin dir nor in temp.

 

Ralf

No special log for this plugin. Please start enigma log then test the plugin.

 

For openpli enigma log commands :-

 

init 4
killall -9 enigma2
ENIGMA_DEBUG_LVL=4 enigma2 > /tmp/enigmaLog.txt 2>&1 &

 

Regards.
 


Edited by pcd, 23 April 2018 - 13:34.


Re: IptvStreamlink #11 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 23 April 2018 - 19:03

Hi,

<  1284.726> 
<  1284.726> In bouquet line 2= #DESCRIPTION CBS Action
<  1284.726> 
<  1284.726> In bouquet line 1= #SERVICE 5002:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/http%3a//www.filmon.com/channel/tru-tv
<  1284.726> 
<  1284.726> In bouquet line 2= #DESCRIPTION truTV
<  1284.727> 
<  1284.728> sh cmd = /usr/lib/enigma2/python/Plugins/Extensions/IptvStreamlink/filmon/mylist.sh 'UK LIVE TV' > /tmp/sh.txt &
<  1284.776> [Skin] processing screen MessageBox:
rm: can't remove '/etc/enigma2/userbouquet.UK': No such file or directory
rm: can't remove 'LIVE': No such file or directory
rm: can't remove 'TV.tv': No such file or directory
<  1284.881> [Skin] processing screen MessageBox_summary:
<  1284.892> [eInputDeviceInit] 0 160 1
<  1284.900> [InfoBarGenerics] KEY: 352 OK
<  1284.945> [eDVBDB] loading bouquet... /etc/enigma2//bouquets.tv
<  1284.945> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.deutschland.tv
<  1284.946> [eDVBDB] 53 entries in Bouquet userbouquet.deutschland.tv
<  1284.946> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.favourites.tv
<  1284.947> [eDVBDB] 8 entries in Bouquet userbouquet.favourites.tv
<  1284.947> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.ohnehd.tv
<  1284.948> [eDVBDB] 20 entries in Bouquet userbouquet.ohnehd.tv
<  1284.948> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.news.tv
<  1284.948> [eDVBDB] 14 entries in Bouquet userbouquet.news.tv
<  1284.949> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.dokus.tv
<  1284.949> [eDVBDB] 9 entries in Bouquet userbouquet.dokus.tv
<  1284.949> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.sky_sport.tv
<  1284.949> [eDVBDB] 5 entries in Bouquet userbouquet.sky_sport.tv
<  1284.950> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.musik.tv
<  1284.950> [eDVBDB] 7 entries in Bouquet userbouquet.musik.tv
<  1284.950> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.shopping.tv
<  1284.951> [eDVBDB] 20 entries in Bouquet userbouquet.shopping.tv
<  1284.951> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.uhd.tv
<  1284.951> [eDVBDB] 10 entries in Bouquet userbouquet.uhd.tv
<  1284.951> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.iptv_webcams.tv
<  1284.979> [eDVBDB] 776 entries in Bouquet userbouquet.iptv_webcams.tv
<  1284.979> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.fritz.tv
<  1284.981> [eDVBDB] 54 entries in Bouquet userbouquet.fritz.tv
<  1284.982> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.kabel.tv
<  1284.983> [eDVBDB] 64 entries in Bouquet userbouquet.kabel.tv
<  1284.984> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.tivustreamXXX.tv
<  1285.026> [eDVBDB] 1210 entries in Bouquet userbouquet.tivustreamXXX.tv
<  1285.027> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.cam4couple.tv
<  1285.028> [eDVBDB] 60 entries in Bouquet userbouquet.cam4couple.tv
<  1285.029> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.bongacamscouple.tv
<  1285.030> [eDVBDB] 51 entries in Bouquet userbouquet.bongacamscouple.tv
<  1285.031> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.cam4fem.tv
<  1285.033> [eDVBDB] 60 entries in Bouquet userbouquet.cam4fem.tv
<  1285.033> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.bongacamsfem.tv
<  1285.035> [eDVBDB] 56 entries in Bouquet userbouquet.bongacamsfem.tv
<  1285.035> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.chaturbate.tv
<  1285.039> [eDVBDB] 90 entries in Bouquet userbouquet.chaturbate.tv
<  1285.039> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.adulttv.tv
<  1285.040> [eDVBDB] 28 entries in Bouquet userbouquet.adulttv.tv
<  1285.040> [eDVBDB] 19 entries in Bouquet bouquets.tv
<  1285.041> [eDVBDB] loading bouquet... /etc/enigma2//bouquets.radio
<  1285.042> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.deutschland.radio
<  1285.047> [eDVBDB] 168 entries in Bouquet userbouquet.deutschland.radio
<  1285.047> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.oldies_klassik.radio
<  1285.051> [eDVBDB] 112 entries in Bouquet userbouquet.oldies_klassik.radio
<  1285.051> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.rock___pop.radio
<  1285.054> [eDVBDB] 96 entries in Bouquet userbouquet.rock___pop.radio
<  1285.054> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.iptv_deutsche_partymusik.radio
<  1285.057> [eDVBDB] 117 entries in Bouquet userbouquet.iptv_deutsche_partymusik.radio
<  1285.058> [eDVBDB] loading bouquet... /etc/enigma2//userbouquet.favourites.radio
<  1285.058> [eDVBDB] 0 entries in Bouquet userbouquet.favourites.radio
<  1285.058> [eDVBDB] 5 entries in Bouquet bouquets.radio
<  1285.058> [eDVBDB] Renumbering...
/usr/lib/enigma2/python/Plugins/Extensions/IptvStreamlink/filmon/mylist.sh: line 27: $PATH1: ambiguous redirect
<  1285.122> [eDVBDB] loading bouquet... /etc/enigma2//bouquets.tv

This might be the problem. The bouquet is generated as mylist.txt in the filmon directory but does not make it to /etc/enigma. I think the space in "UK LIVE TV" are causing the problem.

 

btw. could you use a special debug option? Now you are putting everything in a debug file which are quite a few mega byte each start. I have a debug log running all the time and this makes it difficult to read.

 

btw2. The crash with Error 404 is gone with your correction:-)

 

Ralf


Edited by Trial, 23 April 2018 - 19:05.


Re: IptvStreamlink #12 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 23 April 2018 - 20:17

For some reason it works here  :-

 Adding additional userbouquet userbouquet.UK LIVE TV.tv
[eDVBDB] loading bouquet... /etc/enigma2//userbouquet.UK LIVE TV.tv
[eDVBDB] 37 entries in Bouquet userbouquet.UK LIVE TV.tv

 

But the sh command should not work. I will replace the spaces like UK-LIVE-TV in the next update. Thanks for finding it.

 

For now please use the mylist.txt for this bouquet. Also if you delete the log file it will not build again. Regards.


Edited by pcd, 23 April 2018 - 20:19.


Re: IptvStreamlink #13 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 24 April 2018 - 08:08

Hi,

I already have UK-LIVE-TV in my bouquets:-)

 

ciao



Re: IptvStreamlink #14 dreamboxco

  • Senior Member
  • 321 posts

+4
Neutral

Posted 24 April 2018 - 14:14

GOOD :lol:



Re: IptvStreamlink #15 satforindo

  • Senior Member
  • 61 posts

0
Neutral

Posted 24 April 2018 - 15:27

Hi guys.

 

Did I miss something? My bouquets are still empty or "N/A", even though the user bouquets files are created inside /etc/enigma2.

 

What should I install more?

Attached Files



Re: IptvStreamlink #16 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 24 April 2018 - 15:38

You have no handler installed for service 5002, so Enigma doesn't know how to handle these links...


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.


Re: IptvStreamlink #17 Trial

  • Senior Member
  • 1,127 posts

+34
Good

Posted 24 April 2018 - 17:59

Hi,

install serviceapp and gstplayer.

 

ciao



Re: IptvStreamlink #18 rafaelrafael

  • Senior Member
  • 41 posts

+1
Neutral

Posted 24 April 2018 - 19:57

could I ask for help and needed files to install the latest streamlink to VU + Ultimo4k?

Re: IptvStreamlink #19 dreamboxco

  • Senior Member
  • 321 posts

+4
Neutral

Posted 24 April 2018 - 22:17

@pcd how can see this stream?

 

https://www.filmon.c...l/sat-1-schweiz



Re: IptvStreamlink #20 pcd

  • Senior Member
  • 759 posts

+88
Good

Posted 24 April 2018 - 23:32

@pcd how can see this stream?

 

https://www.filmon.c...l/sat-1-schweiz

It does not work even on my pc browser. Stops after 10 seconds and says 'Pay to watch'. :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users