Multiple M3U clients from the same IP?

Post your questions about DVBLink products running on Windows platform here!

Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 1:50 pm

Hi Guys,

From a previous thread and hunting around I found this quote:

Oberon wrote:Are user1 and user2 reside on the same PC?
get_playlist_m3u command uses IP of the client system to form the client ID.


Is it possible to have two clients from the same PC using M3U to access content? I'm currently running quite an old version 5.0.0 as it simply works in WMC for me. However as I look at other options to replace WMC I'm looking at a centralised server based solution that utilises M3U files to pull content for the remote client interface.

The only problem as you can tell is the server requests are coming from the same IP and therefore looks to DVBLink as the same client requesting a channel, which results in only being able to watch one channel at a time from a client.

Is there a way around this or should I give up on this now?

Cheers

mini
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm


Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 2:17 pm

What is/are your TV Sorce? (IPTV, TV Source ... )
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 2:53 pm

TV Source with multiple DVB-S2 tuners....I also have a trial of IPTV but it's not configured to do anything yet.


I've just run the upgrade to 5.5 server and now I have a broken Web Interface :oops:

I can still record in WMC though :)

[23/Sep/2015:14:43:13] DVB.CMN.AUTH Authorization True
[23/Sep/2015:14:43:13] DVB.CMN.BL Create domain ('common', 'C:\\Program Files (x86)\\DVBLogic\\DVBLink\\web_server\\common\\..\\locale', u'en', <gettext.GNUTranslations instance at 0x2037B9B8>).
[23/Sep/2015:14:43:13] DVB.CMN.SR Add configurator for Digiguide.
[23/Sep/2015:14:43:13] DVB.CMN.SR Add configurator for IPTV.
[23/Sep/2015:14:43:13] DVB.CMN.SR Warning: not found configurator for MC Guide Services.
[23/Sep/2015:14:43:13] DVB.CMN.BL Create domain ('tvsource', 'C:\\Program Files (x86)\\DVBLogic\\DVBLink\\web_server\\common\\..\\locale', u'en', <gettext.GNUTranslations instance at 0x204116E8>).
[23/Sep/2015:14:43:13] DVB.CMN.SR Add configurator for TVSource.
[23/Sep/2015:14:43:13] DVB.CMN.BL Create domain ('xmltv', 'C:\\Program Files (x86)\\DVBLogic\\DVBLink\\web_server\\common\\..\\locale', u'en', <gettext.GNUTranslations instance at 0x2041D9E0>).
[23/Sep/2015:14:43:13] DVB.CMN.SR Add configurator for XMLTV.
[23/Sep/2015:14:43:13] DVB.CMN.SA Search addons in: "C:\Program Files (x86)\DVBLogic\DVBLink\web_server\addons".
[23/Sep/2015:14:43:13] DVB.CMN.BL Create domain ('connect', 'C:\\Program Files (x86)\\DVBLogic\\DVBLink\\web_server\\common\\..\\locale', u'en', <gettext.GNUTranslations instance at 0x203D17B0>).
[23/Sep/2015:14:43:13] DVB.CMN.SA Added connect_server, "0.0.0.0:8080".
[23/Sep/2015:14:43:13] ENGINE Bus STARTING
[23/Sep/2015:14:43:13] ENGINE Started monitor thread '_TimeoutMonitor'.
[23/Sep/2015:14:43:14] ENGINE Serving on 0.0.0.0:8080
[23/Sep/2015:14:43:14] ENGINE Serving on 0.0.0.0:39876
[23/Sep/2015:14:43:14] ENGINE Bus STARTED
[23/Sep/2015:14:43:20] DVB.CMN.CS Start server config.
[23/Sep/2015:14:43:22] DVB.CMN.CS Load config Ok.
[23/Sep/2015:14:43:24] HTTP
Request Headers:
AUTHORIZATION: Basic RFZCTGlua1RWOlRhbm0yNSpkdmJwbg==
REFERER: http://192.168.0.2:39876/products/
HOST: 192.168.0.2:39876
CONNECTION: keep-alive
Remote-Addr: 192.168.0.2
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
USER-AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
COOKIE: disabled_issues=true
ACCEPT-LANGUAGE: en-US,en;q=0.5
ACCEPT-ENCODING: gzip, deflate
[23/Sep/2015:14:43:24] HTTP Traceback (most recent call last):
File "C:\Program Files (x86)\DVBLogic\DVBLink\web_server\lib.zip\cherrypy\_cprequest.py", line 645, in respond
response.body = self.handler()
File "C:\Program Files (x86)\DVBLogic\DVBLink\web_server\lib.zip\cherrypy\lib\encoding.py", line 188, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "cpjinja.py", line 55, in __call__
File "C:\Program Files (x86)\DVBLogic\DVBLink\web_server\lib.zip\cherrypy\_cpdispatch.py", line 29, in __call__
return self.callable(*self.args, **self.kwargs)
File "helper.py", line 353, in wrapper
File "helper.py", line 361, in prepare_messages
File "helper.py", line 470, in get_resources_params
RuntimeError: IDS_INTERNAL_ERROR
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 2:55 pm

Just try to do an update of dvblink server once more.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 2:56 pm

Or if you have dvblink backup file, it would be better to reinstall dvblink server and then restore all configuration with this one.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 2:58 pm

I did take a backup before trying to update, I've just tried the re-install once more. Will uninstall and re-install if that fails :)
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 3:00 pm

Did you do an uninstall of Connect server before doing update?
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 3:02 pm

Yes, the upgrader prompted me to uninstall connect before it would let me continue.
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 3:17 pm

Let's go back to your original question.
Is it possible to have two clients from the same PC using M3U to access content?

If i understand you correctly - then yes, what prevent you to do that?
Just for tests you can use VLC player:
- open a few players ( 2-3 or more )
- click: Ctrl+N
- enter there:
For the live TV channels: http://<DVBLink Server address>:<base streaming port>/mobile/?command=get_playlist_m3u
For the recorded TV files: http://<DVBLink Server address>:<base streaming port>/mobile/?command=get_recordedtv_m3u
- do it in all players, and all should work, only limited in the number of tuners and 8 threads simultaneously
- or if you need to open your channels list remotely, just do port forwarding (8100-8101 ) and in url below enter external ip
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 3:30 pm

I'll have to get back to you on the original question, following an uninstall, then reinstall nothing is working DVBLink service crashes....

Just uninstalling again and and renaming DVBLink folder in Program File x86 before re-installing....is there anything else that I should clear out?
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 3:35 pm

All should work, without any additional moves.
But if it not:
- uninstall dvblink server
- delete dvblink folder
- reboot PC
- install new dvblink server V5.5
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 3:49 pm

OK nearly backup and running....now it tells me the products require activation, but when I enter my user name and password it says already activated, the web interface says no license available...I can download the licence from my portal however where does it go?
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 3:50 pm

Ignore that think I've found the folder now :)
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Re: Multiple M3U clients from the same IP?

Postby the_man » Wed Sep 23, 2015 3:51 pm

Download and put license files to path: C:\Program Files (x86)\DVBLogic\DVBLink\share\licenses
Then restart dvblink server.
NETGEAR RNDU2000; Synology DS112j, DS 212j, DS213+, DS 712+; Western Digital WD ex2; Asustor AS3, RPI2 ...
PCTV 460,461e,292e; TT 4400, 4650CI;DVBSKy S960; DD octopus net; Inverto sat2ip multibox; TBS DVB-C ...
the_man
 
Posts: 4696
Joined: Mon Dec 02, 2013 1:11 pm

Re: Multiple M3U clients from the same IP?

Postby mini__me » Wed Sep 23, 2015 5:29 pm

the_man wrote:Let's go back to your original question.
Is it possible to have two clients from the same PC using M3U to access content?

If i understand you correctly - then yes, what prevent you to do that?
Just for tests you can use VLC player:
- open a few players ( 2-3 or more )
- click: Ctrl+N
- enter there:
For the live TV channels: http://<DVBLink Server address>:<base streaming port>/mobile/?command=get_playlist_m3u
For the recorded TV files: http://<DVBLink Server address>:<base streaming port>/mobile/?command=get_recordedtv_m3u
- do it in all players, and all should work, only limited in the number of tuners and 8 threads simultaneously
- or if you need to open your channels list remotely, just do port forwarding (8100-8101 ) and in url below enter external ip


OK I'm back up and running again now :D

So back to my question....the software I'm looking at doesn't appear to like importing an M3U that links through to the get_playlist_m3u link, so I have pulled the M3U from from a web browser and then saved it off and imported it into the software.

However as I have downloaded it from a browser the M3U contains an explicit Client ID, this means that when the server itself requests a new channel it cuts the currently streamed channel and tunes to the newly requested channel as DVBLink (quite rightly) thinks that it's the same client.

The M3U I import looks like this:

Code: Select all
#EXTM3U
#EXTINF:127,4seven
http://192.168.0.2:8081/dvblink/direct?client=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&channel=33510000
mini__me
 
Posts: 156
Joined: Fri Jul 31, 2009 2:09 pm

Next

Return to DVBLink Server on Windows platform

Who is online

Users browsing this forum: No registered users and 2 guests

cron