I'm trying to use the enigma client from Mac http://www.enigma-tv.com
X
-
[allgemein] E2 webif api?
I cant start a client to connect how do I seem to get and run the server?
I'm trying to use the enigma client from Mac http://www.enigma-tv.comStichworte: -
-
tiMote is the App for Andrioid. At the MAC you can use the browser. (http://ip-from-your-box)
Or did I misunderstand you?
-
Zitat von Wonderdoc Beitrag anzeigenIch denke eher, dass er das Plug-in meint, welches e2 web Anfragen auf die Titan webif Api Mapt.
Kommentar
-
Zitat von Einstein Beitrag anzeigenJa, habe ich auch im Einsatz. Port 8080 muss eingestellt werden!
This is the below info I have set in my pc:
web port: 8080
stream port 8001
username: root
password: root
how do I change the user name? as it is not listed in the configuration file and I need to alter it for compatibility with enigma plugin in kodi/ xbmc?
I believe I configure the below file to configure the server but username is missing?
/mnt/swapextensions/etc/e2webserv.conf
Code:# e2 web port port=8080 # e2 data port dataPort=8001 # titan web port titanPort=80 # titan data port titanDataPort=22222
Kommentar
-
Zitat von GOst4711 Beitrag anzeigenweb and stream do not need a user.
Code:24/08/2017 12:46:07 AM : Zap to TVNZ 1 URL with User/Password = http://:@192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0: VLC Option 1 = :http-reconnect=true Sent HTTP command : /web/stream.m3u?ref=1:0:1:40b:16:2f:6400000:0:0:0:&name=nothing VLC Option 2 = :audio-track=1 Sent HTTP command : The remote server returned an error: (404) Not Found. Sent HTTP command : /web/epgnext?bRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "bouquets.english.tv" ORDER BY bouquet
Code:http://:@192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0:
Code:http://:@192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:
Zuletzt geändert von professor_jonny; 23.08.2017, 14:06.
Kommentar
-
This is the client I'm using:
http://www.enigma-tv.com/modules/download/
this is the settings I'm using to connect to TitanNit e2 webif api:
# e2 web port=8080
local streamport 8001
username: root
password: root
This is the stream the enigma-tv client expects once I connect to my receiver:
Code:http://192.168.1.20:22222/1:0:1:40b:16:2f:6400000:0:0:0:
Code:http://192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:
Code:http://192.168.1.20:22222/1035%2c3080214
would it be worthwile providing a capture with wireshark or a port mirror for the devs to look at ?Angehängte DateienZuletzt geändert von professor_jonny; 24.08.2017, 12:59.
Kommentar
-
Zitat von GOst4711 Beitrag anzeigentiMote is the App for Andrioid. At the MAC you can use the browser. (http://ip-from-your-box)
Or did I misunderstand you?
Also kodi / xbmc use tuxbox and e2webif plugins so I can set up my satellite decoder and connect with kodi to stream tv, recordings, view EPG, schedule recordings picons etc...
I would be happy to recompile or do a translation for Tiview if source was available.
Kommentar
-
I have played with the server via command line and the plugin e2webif replys to a get service command and puts the incorrect port number in the m3u file it sends to the client it uses the titan port and not the e2 port.
So you get a e2 response in the form of a playlist as expected with the titan wefif port in the response.
This is a bug in e2webif plugin.
Code:http://192.168.1.20:8080/web/service.m3u
Code:# e2 web port port=8080 # e2 data port dataPort=8001 # titan web port titanPort=80 # titan data port titanDataPort=22222
Code:#EXTM3U #EXTVLCOPT--http-reconnect=true http://192.168.1.20:22222/
Code:#EXTM3U #EXTVLCOPT--http-reconnect=true http://192.168.1.20:8001/
http://sbnc.dyndns.tv/trac/ticket/537Zuletzt geändert von professor_jonny; 06.09.2017, 20:34.
Kommentar
-
Hi,
the streamport 22222 with titan service ref is the correct one in m3u.
ago123 wroted in his thread, that an stream request to port 8001 with E2-Service-ref will return an redirect link to the real titan dataport 22222 with titan-Service-ref.
The client-app must then use the redirect-URL for the stream.
A stream request for E2 service 1:0:1:40b:16:2f:6400000:0:0:0:
http://192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:
return the redirect url to the real streamlink with port 22222 and Titan service 1035%2c3080214
http://192.168.1.20:22222/1035%2c3080214
It is not possible to uses a E2-Service-ref direkt with titan port 22222
The port 8001 is only used on E2webServer to get the redirect link to the real titan stream-url.
If you request the service.m3u on port 8080, then you get the m3u to the real titan stream-url(22222 with titan service-ref).
Kommentar
-
Zitat von Wonderdoc Beitrag anzeigenHi,
the streamport 22222 with titan service ref is the correct one in m3u.
ago123 wroted in his thread, that an stream request to port 8001 with E2-Service-ref will return an redirect link to the real titan dataport 22222 with titan-Service-ref.
The client-app must then use the redirect-URL for the stream.
A stream request for E2 service 1:0:1:40b:16:2f:6400000:0:0:0:
http://192.168.1.20:8001/1:0:1:40b:16:2f:6400000:0:0:0:
return the redirect url to the real streamlink with port 22222 and Titan service 1035%2c3080214
http://192.168.1.20:22222/1035%2c3080214
It is not possible to uses a E2-Service-ref direkt with titan port 22222
The port 8001 is only used on E2webServer to get the redirect link to the real titan stream-url.
If you request the service.m3u on port 8080, then you get the m3u to the real titan stream-url(22222 with titan service-ref).
When I make a request to download a stream via m3u it is returning incorrect data, basically I get the titan data port mixed with the e2 service request in the url.
below is what it replys within the m3u the titan port with the e2 web format so redirection does not work as it is invalid link the port should be 8001 so redirection works or use the correct titan service reference right from the bat in the m3u.
http://192.168.1.20:22222/1:0:1:40b:...6400000:0:0:0:
The plugin is returning an incorrect e2 url for redirection within the m3u file sent via the e2 server or it is putting the incorrect service reference field format into the m3u file.
This depends on the server if it asks for an m3u file to stream or if it sends the web if string directly so it will work with some e2 web if clients and it wont with others depending on how they ask to stream the service.Zuletzt geändert von professor_jonny; 13.09.2017, 01:25.
Kommentar
-
Hi,
I have Test it on my sh4 ufs922 Receiver.
If i send a request
http://192.168.31.100:8001/1:0:1:40b...6400000:0:0:0:
I get a redirect url to
http://192.168.31.100:22222/1035%2c3080214
That is correct.
If i send a request
http://192.168.31.100:8080/web/strea...6400000:0:0:0:
I get a Playlist.m3u8 file.
If i take a look into the file, i can Not see any Problems.
#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://192.168.31.100:22222/1035,3080214
If i send a request
http://192.168.31.100:8080/web/strea...:&name=nothing
I get a playlist.m3u8 File, too.
If i Open it, it seems all ok.
#EXTM3U
#EXTVLCOPT--http-reconnect=true
http://192.168.31.100:22222/1035,3080214
Kommentar
-
Please take a Look in the /tmp/e2webserv.log file.
http://192.168.31.100:8001/1:0:1:40b...6400000:0:0:0:
Code:13.09 07:16:26 [2af604c0] DBG SRV -- new request 13.09 07:16:26 [2af604c0] INF SRV -- GET /1:0:1:40b:16:2f:6400000:0:0:0: 13.09 07:16:26 [2af604c0] DBG CLI -- GET: /queryraw?getaktservice 13.09 07:16:26 [2af604c0] DBG CLI -- OK, len=100 13.09 07:16:26 [2af604c0] DBG CLI -- GET: /queryraw?switch&1035&3080214 13.09 07:16:26 [2af604c0] DBG CLI -- OK, len=100 13.09 07:16:26 [2af604c0] INF SRV -- 302 Moved Temporarily, loc=http://192.168.31.100:22222/1035%2c3080214 13.09 07:16:26 [2af604c0] DBG SRV -- request handled
You can see it in the Logfile
Code:13.09 06:08:55 [29760000] INF SRV -- start server: GsE2TitanBridge/1.1.14
Kommentar
Nicht konfiguriertes PHP-Modul
Einklappen
E2 webif api?
Einklappen
Kommentar