Springen naar inhoud


Foto

Tunein radio plugin


  • Please log in to reply
Er zijn 75 reacties in dit onderwerp

#1 mfaraj57

  • Senior Member
  • 1605 berichten

+286
Excellent

Geplaatst op 2 juli 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

Veranderd door mfaraj57, 2 juli 2017 - 20:05


Re: Tunein radio plugin #2 Dream1975

  • Senior Member
  • 1626 berichten

+14
Neutral

Geplaatst op 2 juli 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


Veranderd door Dream1975, 2 juli 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
  • 1626 berichten

+14
Neutral

Geplaatst op 2 juli 2017 - 20:23

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

Bijgevoegde Bestanden


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
  • 1605 berichten

+286
Excellent

Geplaatst op 2 juli 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
  • 8458 berichten

+327
Excellent

Geplaatst op 2 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 2 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 3 juli 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
  • 1626 berichten

+14
Neutral

Geplaatst op 8 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 9 juli 2017 - 21:57

Thanks
Good idea,may apply in future

Re: Tunein radio plugin #10 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 9 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 10 juli 2017 - 04:53

thanks

i will do later



Re: Tunein radio plugin #12 Rick Hunter

  • PLi® Core member
  • 9048 berichten

+56
Good

Geplaatst op 11 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 11 juli 2017 - 16:17

Thank you Rick
Good work

Re: Tunein radio plugin #14 littlesat

  • PLi® Core member
  • 56123 berichten

+685
Excellent

Geplaatst op 11 juli 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
  • 1626 berichten

+14
Neutral

Geplaatst op 12 juli 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
  • 1605 berichten

+286
Excellent

Geplaatst op 12 juli 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
  • 644 berichten

+8
Neutral

Geplaatst op 12 juli 2017 - 12:57

Bijlage  enigma2_crash_1499759703.log   1,43K   6 Aantal bijlagenInstalled 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
  • 68309 berichten

+1719
Excellent

Geplaatst op 12 juli 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 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: Tunein radio plugin #19 ricki

  • Senior Member
  • 571 berichten

+3
Neutral

Geplaatst op 12 juli 2017 - 14:07

works very good om solo2



Re: Tunein radio plugin #20 jort38

  • Senior Member
  • 644 berichten

+8
Neutral

Geplaatst op 12 juli 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)



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers