Jump to content


Photo

Tunein radio plugin


  • Please log in to reply
77 replies to this topic

#1 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 2 July 2017 - 20:02

Tunein is most popular internet radio
first enigma plugin for tunein radio
google images slide show for related images during listening
 
setup:
wget http://tunisia-dreambox.info/TSplugins/TuneinRadio/TuneinRadioInstaller.sh -O - | /bin/sh
 
 
RO_YA-272017-1621.jpg
 
Al_Kahera_Wal_Nas-172017-180.jpg
 
Chroma_Radio_Nature-172017-1849.jpg
 
Chroma_Radio_New_Age-272017-1637.jpg

Edited by mfaraj57, 2 July 2017 - 20:05.


Re: Tunein radio plugin #2 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 2 July 2017 - 20:12

Also comes with a handy install script I see  ;)

 

Will test it tonight when I'm home, thanks again for your plugins


Edited by Dream1975, 2 July 2017 - 20:13.

Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Tunein radio plugin #3 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 2 July 2017 - 20:23

When starting the plugin and selecting a station it starts playing, but then crashes. See enclosed the log.

Attached Files


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Tunein radio plugin #4 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 2 July 2017 - 20:58

thanks dream1975

i do not know why this happened ,i do have this error in my dm900 openatv

the line line 1316 in main.py should be changed from

self['handlung'].setText(name)

to 

self['handlung'].setText(str(name))

however i will send update as soon as possible



Re: Tunein radio plugin #5 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 2 July 2017 - 21:08

Maybe name.encode('utf-8', 'ignore') instead?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: Tunein radio plugin #6 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 2 July 2017 - 21:17

Maybe name.encode('utf-8', 'ignore') instead?

may be name of station contains unicode characters so better to use your suggestion

but the crash log indicates the name is not string,in case of unicode characters will give different error message

  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/main.py", line 1316, in loadscreen
    self['handlung'].setText(name)
  File "/usr/lib/enigma2/python/Components/VariableText.py", line 12, in setText
TypeError: in method 'eLabel_setText', argument 2 of type 'std::string const &'


Re: Tunein radio plugin #7 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 3 July 2017 - 04:52

Also comes with a handy install script I see  ;)

 

Will test it tonight when I'm home, thanks again for your plugins

yes i find the script way is a lot easier so the user use same script for any new coming version,thank you

the error now  fixed just,re-install the script



Re: Tunein radio plugin #8 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 8 July 2017 - 21:59

@mfaraj57 Plugin works great now, thx

 

Maybe it is also an idea to have this opening post (and the one of TSmedia) at https://wiki.openpli.org/Plugin_Wiki for ease of finding and how to install with the wget option. But I'll leave that up to you


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Tunein radio plugin #9 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 9 July 2017 - 21:57

Thanks
Good idea,may apply in future

Re: Tunein radio plugin #10 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 9 July 2017 - 22:02

Put in on e2openplugins and everyone can use it...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Tunein radio plugin #11 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 10 July 2017 - 04:53

thanks

i will do later



Re: Tunein radio plugin #12 Rick Hunter

  • PLi® Core member
  • 9,064 posts

+56
Good

Posted 11 July 2017 - 00:12

@mfaraj57 Plugin works great now, thx

 

Maybe it is also an idea to have this opening post (and the one of TSmedia) at https://wiki.openpli.org/Plugin_Wiki for ease of finding and how to install with the wget option. But I'll leave that up to you

I've started to make a article.

 

In the next day's to come I'll complete the article including screenshots.

 

https://wiki.openpli...ki:Tunein_Radio


Plinux member We have a.. (ehmm.. morgage) house.

Re: Tunein radio plugin #13 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 11 July 2017 - 16:17

Thank you Rick
Good work

Re: Tunein radio plugin #14 littlesat

  • PLi® Core member
  • 57,062 posts

+698
Excellent

Posted 11 July 2017 - 16:54

An someone put it in the 3rd party feed for the time being?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Tunein radio plugin #15 Dream1975

  • Senior Member
  • 1,634 posts

+14
Neutral

Posted 12 July 2017 - 07:09

Wouldn't it be better to wait for mfaraj57 to put it on e2openplugins (waiting a few days longer won't hurt, and in the mean time people can install it as stated in the opening post).


Mutant HD2400, OpenPLi nightly, 2x DVB-C & 2x DVB-S

Mutant HD51, OpenPLi nightly, 1x DVB-C & 1x DVB-S

Wavefrontier T55 (Astra 1,2,3 en HB)

Smartcards Ziggo (Irdeto) and CDS (Seca) on Oscam

 


Re: Tunein radio plugin #16 mfaraj57

  • Senior Member
  • 1,605 posts

+286
Excellent

Posted 12 July 2017 - 09:39

WanWizard contacted me by pm to facilitate adding the plugin to e2openplugins but i will busy in my work for few days ,after that i will do that



Re: Tunein radio plugin #17 jort38

  • Senior Member
  • 651 posts

+8
Neutral

Posted 12 July 2017 - 12:57

Attached File  enigma2_crash_1499759703.log   1.43KB   6 downloadsInstalled it using the WGET link (succesfully) on ET10000 Openpli 4.0 Stable.

Started ok, but when I wanted to search for RTE Lyric (Ireland) it crashed.

 

After full reboot due to GS repeated the search; same result.


Vu+ Ultimo 4K (4 TB HD, DVBS FSB, DVBC FBC & OpenPli 9),

Xtrend ET10000 (1 DVBS works via ethernet & OpenPli 9),

Xtrend ET10000 (DVBT2 & OpenPli 9, located in Thailand). Only latest stable releases.

Xtrend ET10000 (works via ethernet & OpenPli 9) and

Xtrend ET8000 (1 TB HD, 1 DVBT2 & works via ethernet & OpenPli 9)


Re: Tunein radio plugin #18 WanWizard

  • PLi® Core member
  • 70,219 posts

+1,798
Excellent

Posted 12 July 2017 - 13:25

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/main.py", line 724, in startloaddata
    self.datalist()
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/main.py", line 641, in datalist
    from Plugins.Extensions.TuneinRadio.addons.radio.TuneinRadio.default import process_mode
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/default.py", line 28, in <module>
    import tunein
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/tunein.py", line 27, in <module>
    context=disable_sslcertificte()
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/tunein.py", line 23, in disable_sslcertificte
    context = ssl.create_default_context()
AttributeError: 'module' object has no attribute 'create_default_context'

This code is not compatible with OpenPLi 4. OpenPLi 4 uses Python v2.7.3, while create_default_context() is only introduced in Python v2.7.9.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (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: Tunein radio plugin #19 ricki

  • Senior Member
  • 604 posts

+3
Neutral

Posted 12 July 2017 - 14:07

works very good om solo2



Re: Tunein radio plugin #20 jort38

  • Senior Member
  • 651 posts

+8
Neutral

Posted 12 July 2017 - 16:42

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/main.py", line 724, in startloaddata
    self.datalist()
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/main.py", line 641, in datalist
    from Plugins.Extensions.TuneinRadio.addons.radio.TuneinRadio.default import process_mode
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/default.py", line 28, in <module>
    import tunein
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/tunein.py", line 27, in <module>
    context=disable_sslcertificte()
  File "/usr/lib/enigma2/python/Plugins/Extensions/TuneinRadio/addons/radio/TuneinRadio/tunein.py", line 23, in disable_sslcertificte
    context = ssl.create_default_context()
AttributeError: 'module' object has no attribute 'create_default_context'
This code is not compatible with OpenPLi 4. OpenPLi 4 uses Python v2.7.3, while create_default_context() is only introduced in Python v2.7.9.

I see. Thank you. I Will wait for stable release 6.*

Vu+ Ultimo 4K (4 TB HD, DVBS FSB, DVBC FBC & OpenPli 9),

Xtrend ET10000 (1 DVBS works via ethernet & OpenPli 9),

Xtrend ET10000 (DVBT2 & OpenPli 9, located in Thailand). Only latest stable releases.

Xtrend ET10000 (works via ethernet & OpenPli 9) and

Xtrend ET8000 (1 TB HD, 1 DVBT2 & works via ethernet & OpenPli 9)



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users