Jump to content


tosbaha

Member Since 31 Jul 2013
Offline Last Active 18 Oct 2014 23:12
-----

Posts I've Made

In Topic: Playing IPTV green screen(log attached)

27 September 2014 - 15:25

Thanks for overwhelming amount of responses. It is good to have such a helping community. If you find this thread with a google search just do what I did. Switch to newnigma2. No green screen ever.


In Topic: Bug latest Images ... GREENSCREEN BONJOUR

26 September 2014 - 14:34

Been there done that. Here is what is happening and how to fix it. OpenWebif calls current bonjour API with wrong parameters and it crashes. There are two things you can do

1. First comment out bonjour API. Open /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/httpserver.py and go to end of file you will see something like below

# BJ
def BJregisterService(protocol, port):
    try:
        from Plugins.Extensions.Bonjour.Bonjour import bonjour
        service = bonjour.buildService(protocol, port, 'OpenWebif')
        bonjour.registerService(service, True)
        return True

change it like below

# BJ
def BJregisterService(protocol, port):
    try:
        #from Plugins.Extensions.Bonjour.Bonjour import bonjour
        #service = bonjour.buildService(protocol, port, 'OpenWebif')
        #bonjour.registerService(service, True)
        return True

2. Call buildservice with correct parameters to create true bonjour service. Easy way is change

bonjour.buildService(protocol, port, 'OpenWebif')

 

line to

bonjour.buildService(protocol, port)

Or if you really want to see OpenWebif in the description of avahi services use buildServiceFull api. If you want to test those patches make sure you delete http.service from etc/avahi/services


In Topic: Playing IPTV green screen(log attached)

26 September 2014 - 10:10

It is also interesting that some URLs work. and I also made some URLS work by using livestreamer. Here is couple of tests

 

Doesn't work

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8:NASA
#DESCRIPTION NASA

#SERVICE 1:0:1:0:0:0:0:0:0:0:http%3a//www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8:NASA2
#DESCRIPTION NASA2

Works

#SERVICE 1:0:1:0:0:0:0:0:0:0:http%3a//127.0.0.1%3a88/hlsvariant%3a//http%3a//www.nasa.gov/multimedia/nasatv/NTV-Public-IPS.m3u8:NASA4
#DESCRIPTION NASA4
#SERVICE 4097:0:1:0:0:0:0:0:0:0:rtmp%3a//yayin.tvdunyasi.tv/live/balkanrtv:Balkan
#DESCRIPTION Balkan

Is there anything that I can do to fix this? Thanks.


In Topic: Playing IPTV green screen(log attached)

26 September 2014 - 01:34

Sorry for uploading wrong crash file. Here is the correct crash log.