Jump to content
Lars Andersen

TS Stream device

Recommended Posts

Lars Andersen

I'm still in the middle of setting up my IPTV system with kodi as frontend.

Right now I'm testing several IPTV providers. Quite often I record two streams at a time. The providers seems to handle this in two ways. A) Either they give me two separate accounts or B ) allowing one account to have two streams running at the same time.

I have at the moment not added any hardware devices and iptv streams are playing ok. But I don't get any warnings if i'm about to schedule a timer that violate the max two streams I'm allowed to use.  Or if I start a live streaming from the tvguide and the system all ready is recording two streams.

I can see there is a hardware device "TS Stream device"  and "DVB IPTV network device". Do I need to setup any of those and how does this work with the A) and B ) senario?

 

 

Share this post


Link to post
Griga

Launch DMSTweaker.bat, look for the "Automatically create TS Stream devices on demand" option, uncheck it and read the description at the bottom.

Share this post


Link to post
Lars Andersen

Ah. Nice 🙂

 

I disabled "Automatically create TS Stream devices on demand" option. Added two TS streams devices and it seems to do the trick. Thanks!

I'm coming from MediaPortal and argusTV where conflicts are nicely shown in the TV guide.

I will "play" a little with this and try to figure out what is the best way to see and correct recording conflicts. 

Not sure if I can see a conflict in the DVBViewer web TVguide. I can see the conflicting timers in Kodi is marked with error. That is good. 

If anyone have tips and trick to share regarding conflicts then just post it here 🙂

Share this post


Link to post
Griga
vor 2 Stunden schrieb Lars Andersen:

Not sure if I can see a conflict in the DVBViewer web TVguide.

 

You can't. In DVBViewer and the DMS web interface conflicts are shown in the timer list.

 

Share this post


Link to post
Lars Andersen

Scenario 2 (one account  allowed to have two streams running at the same time) is tested ok. The xmltv guide is looking perfect.

 

Next week I will be testing scenario 1 (a provider with two different accounts).

I'm not 100% sure how to do the setup. Do I need channel groups for this? A and B for the two ts stream devices. 

Regarding the TV guide - ideally only "one" guide should shown. I guess it will be like that when I have paired two channels together.

Is the hardware devices prioritized (from top-down)? If I will add some DVB-T2 usb sticks for a little bunch of channels. I will put that on the top.  

Sorry. Just got a little carried away. I'm asking questions to soon since I have not tried anything yet. I can probably figure this out myself when I start next week. 

 

 

Share this post


Link to post
Lars Andersen

I'm stuck with this: My iptv provider have given me two different accounts so I can record two streams simultaneously.

 So I added two roots in channel editor with exactly the same channels but different address (url's containing the account info).

First root has channel group A and the second group B. Also added two TS stream devices in DMS.

But now I have too switch between the two roots in order to schedule recordings. 

I was hoping for only one guide and the system automatically choose the right ts streams device. A if it's ready and B if A is working.

Can you see what I mean or maybe I have not explained it good enough.


 

Share this post


Link to post
Griga
vor 10 Stunden schrieb Lars Andersen:

So I added two roots in channel editor with exactly the same channels but different address (url's containing the account info).

 

How does the account info look like? Is it just the usual http://username:password@example.com...? If not, is only one (contiguous) URL part different, or is the account information split into several parts?

 

vor 10 Stunden schrieb Lars Andersen:

First root has channel group A and the second group B. Also added two TS stream devices in DMS.

But now I have too switch between the two roots in order to schedule recordings. 

 

Automating it requires account information per device, not per URL. Let's say a placeholder for the account information in the URL like @@, and a character string configurable per TS Stream device that replaces @@ when the device is used for the URL. Preparing one device for account A and another one for account B in this way would guarantee that only one stream per account is received. The DMS would automatically use the next free device/account.

 

What do you think about it? DVBViewer/DMS don't provide such a mechanism yet, but it wouldn't be difficult to implement, as far as I can see.

 

Share this post


Link to post
Lars Andersen
4 hours ago, Griga said:

What do you think about it? DVBViewer/DMS don't provide such a mechanism yet, but it wouldn't be difficult to implement, as far as I can see.

 

I think that might do it! I' very interested in this. I'm ready for testing anytime 🙂

 

The URL structure is like this where 18022 is identifying the channel:

http://example_iptv.com:8080/username1/password1/18022
http://example_iptv.com:8080/username2/password2/18022

Share this post


Link to post
Griga
vor 21 Minuten schrieb Lars Andersen:

http://example_iptv.com:8080/username1/password1/18022

 

OK, that should work with http://example_iptv.com:8080/@@/18022. In the meantime Ive checked the DMS code. There is a string field in the hardware data structure that is unused by TS Stream devices up to now and suitable for storing a new configuration string like username1/password1. It doesn't look like much work. I'll post here when a DMS test version is ready that you can try.

 

Share this post


Link to post
Lars Andersen
1 hour ago, Griga said:

I'll post here when a DMS test version is ready that you can try.

That would be great to test 🙂

Share this post


Link to post
Griga

Please check your PMs...

 

Share this post


Link to post
Lars Andersen

Thanks Griga!

 

Something is not working. What I have done is adding "TS Streams device 1" and "TS Streams device 2" in DMS.
In the corresponding new setting ("Replace in URL") I have

 

For TS Streams device 1:
@@=username1/password1 

 

For TS Streams device 2:
@@=username2/password2

 

For both devices all channel groups from A-H is checked (the default setting).
Clicked ok and closed/open DMS again to check that the setting is still ok.

In the channel editor I have exported an ini file with all my channels. Opened the ini file in a text editor and search/replace username/password with @@. Imported the file back. Save/closed DVBViewer. Restarted DMS.
Streams properties of a channel looks like this now http://example_iptv.com:8080/@@/18022.


But the channel wont play in DVBViewer or kodi. Like the @@ parameter is not transferred to the url.

 

Just to check myself I have copy/pasted username1/password1 into the channel editors stream properties like this
http://example_iptv.com:8080/username1/password1/18022
Clicked apply and the channel plays fine.

Share this post


Link to post
Lars Andersen

I was thinking if this could be part of the issue. 

I have organised the channels in categories. I have a folder structure like this

 

01 Movie

02 Movie

03 Sport

...

...

 

Some channels can be duplicated in more than one folder. 

Share this post


Link to post
Griga

There is something I've overlooked... I've only tested it with .m3u8 (HLS) URLs, not with pure transport streams wrapped in HTTP. Since your URLs don't contain a file extension like .ts, the DMS does not know at first what it is. So it starts guessing, opens it as (internet) radio stream, does not replace the @@ in this case, gets no data and therefore never gets to know what it really is.

 

It should work if you tell the DMS what it is by changing http://... in the URLs to ts://... It will also make tuning faster, because the DMS doesn't try the wrong thing first. However, the trick doesn't work with https:// URLS.

 

Anyway, I will add the replace mechanism also for internet radio in order to avoid this kind of trouble and send you an update later.

 

Share this post


Link to post
Lars Andersen

I can confirm it works so far with ts://   🙂

 

I will setup some more recordings for further tests. Looking good!

 

 

Share this post


Link to post
Griga

I've uploaded an update. See PM.

 

There is one thing to be considered in future: Your usernames / passwords appear in the svchardware.xml and maybe also in the svcdebug.log, so they will get public if you attach a support.zip in the forum. So before creating it delete / remove your credentials!

 

Share this post


Link to post
Lars Andersen
On 10/27/2019 at 9:19 AM, Griga said:

I've uploaded an update. See PM.

 

There is one thing to be considered in future: Your usernames / passwords appear in the svchardware.xml and maybe also in the svcdebug.log, so they will get public if you attach a support.zip in the forum. So before creating it delete / remove your credentials!

 

 

Ok. Thanks. Have been testing the latest version that works with http and so far no issues. I have not tested internet radio.

Actually there might be an issue anyway. Kodi is my main frontend and no issues there. Live tv works and also recordings.

Live tv in DVBViewer does not work. I just select a channel from the channel list and the channel do not play (black screen and tried with ts:// and http://). 

 

 

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • Skorp17
      By Skorp17
      Seit 2 Tagen wird bei Telekom-Entertain - Sendern kein Bild und kein Ton mehr angezeigt, außerdem ist nach Aufruf des DBViewers auch kein Webseitenaufruf mehr über die Browser (Edge. Firefox)  möglich. obwohl die Verbindung besteht und Fernsehen über den Media-Receiver funktioniert.
      Neu installiert wurde eine Update von GDATA Total Security auf die Version 25.0.5.2, m.E. tritt das Problem seit diesem Zeitpunkt auf.
    • raido343
      By raido343
      Hi!
      I can't get IPTV working in DVBViewer Pro.
      Now, what i have done:
      - TransEdit (4.2.1.1) -> New List -> DVB IPTV
      - Blind Scan -> IPs and port -> Scan
      - Scan ready, now Update All and close, in TransEdit windows Save and save channels list.
      - DVBViewer -> Settings -> Options -> Hardware -> Add -> DVB IPTV Network Device -> Apply -> OK
      - DVBViewer -> Channel Editor -> Import the channels list -> Selecting earlier saved list -> Open
      All channels founded are in list but not working. Is there someting more what i have to set up?
    • leviscar
      By leviscar
      Hi All,
      I have used and currently still use Neutrino CL (CL=Channel List) plugin:
      http://www.DVBViewer.tv/forum/topic/42918-customized-programmliste-neutrinocl-plugin/
       
      Surely many users have used and appreciated it.
      But I would report the same a brief description of this plug-in, in order 
      to highlight its great usefulness.  
      Neutrino CL is an add-on supported by many osd interfaces, with the following key features:
       
      - It shows your channel list, organized in different sub-lists. 
      Each sub-list corresponds to a folder that you have previously defined in the channel editor.
      When the neutrino CL is displayed you can simply press left and rigth keys
      to switch between different sub-lists.
      Up and down keys are used to scroll, and enter to select the channel.
       
      - EPG information are also showed in a very synthetic way. At the righ of each channel name
      you can immediately see which is the current program broadcasted on that channel.
       
      I will had some plugin snapshots as next post. 
       
      Unfortunately the plugin is not yet mantained by its creator, Pmneo.
      Last revision date is January 14, 2013.  
      But the good news is that the creator, kindly shared the source code for possible
      future development by other people. 
       
      The most important current limitation (due to the fact that the plug-in has not been updated since almost 4 years)
      is that the IPTV channels are not fully supported: IPTV channels list are recognized and displayed,
      but the EPG information is not correctly managed and displayed for them.
       
      I do not have any experience on DVBViewer plugin development, neither on Delphi language.
      But I have experience on other programming languages. 
      So I gave a look at the Plugin Delphi code looking for the possible reasons why IPTV EPG information
      is not correctly imported and displayed.
      The main plugin source code file seems to be 'UPlugin.pas'. 
      Another important source file is 'plgGlobals.pas' containg data and function definitions.
      Looking for the string 'tuner' I noticed that the 'TS stream' tuner type (used for the IPTV channels)
      is not supported.
      I also notice that the EPG information is extracted form the DVBViewer database using the channel 
      SID. This is another problem for the IPTV channel, because they have a dummy SID parameter,
      often set to 1 for all of them (it should be instead be univocal, as happens for DVB-T/S channels).
       
      So it seems that in order to support EPG data for IPTV channel, two main  modification
      are needed:
      1)extend the recognized 'tuner' types, by adding the 'TS stream' category;
      2)don't use the SID as acces key to retrieve the EPG data, but another channel univocal parameter.  
       
      Is there someone expert in plugin developing who could provide help 
      to upgrade this plugin?
      I think it could be very useful and appreciated to all the users who still are using this
      very nice and powerful plugin. 
      I do not see any other equivalent plugin with the same unique and very handy features...
    • laola
      By laola
      Hallo beisammen - vermutlich ist es ganz einfach - baer irgendwie fehlt mir die zündene Idee...
       
      Also - ich habe DVBViewer/Mediaserver2.03/Kodi V17 problemlos am laufen (4 SAT-Karten - bis zu 6 Clients). Alles kein Problem. 
       
      Nun möchte ich aber gerne noch den IPTV client in meinem Fernseher mit den Signalen von meinem HTPS Server zum Laufen bringen. Ich hätte gedacht, dass eine m3u-Liste zum Exportieren vom DVB Server ausgereicht hätte. Getan - aber dort tauchen dann nur die IPTV Kanäle auf, die ich zuvor importiert hatte. Ich dachte eigentlich, für jeden DVB-Kanal wird eine (interne) IP/port Adresse vergeben und dann wird mittels  IPTV client darauf zugegriffen. Dies hätte evtl. auch noch den Vorteile, über "normale" IPTC clients auf dem Handy auf meine SAT Sender zugreifen zu können...
       
      Wie gesagt - vermutlich ganz einfach - aber mir fehlt die Idee...
       
      Danke
      laola 
    • Hendrik Nielsen
      By Hendrik Nielsen
      Hallo,
       
      ich bin im Moment dabei die IPTV-funktionalität anhand von TS-Streams zu testen. 
      Die Einrichtung hat soweit geklappt, Streams laufen und sind in z.b. Kodi oder Webinterface abspielbar. 

      Was ich nun gerne möchte ist, dass der gesamte Traffic für die TS-Streams - sei es Aufnahme oder Live-TV - über ein bestimmtes Netzwerkinterface "geladen" wird. 
      Ich habe ein "Ts-Stream Device" in der Hardwarekonfiguration hinzugefügt. Diesem habe ich bei UDP/RTP Interface die gewünschte IP-Adresse zugewiesen.
      Der Traffic wird dennoch über das primäre Netzwerkinterface geroutet. 
      Daraufhin habe ich das TS Stream Device entfernt und probiert einen TS-Stream über das Webinterface ohne ein TS-Device zu starten. Siehe da, es funktioniert auch ohne vorher hinterlegtes TS Stream Device. Es wird also bei "Anfrage" eines TS-Streams automatisch ein temporäres TS Stream Device erstellt welches wohl einfach die Standardeinstellungen verwendet. Das lässt sich im Webinterface unter Status nachvollziehen. Auf einmal existiert dort nämlich ein TS Stream Device. Dieses bleibt dann so lange aktiv bis ich den Service beende und wieder starte. Das gleiche Passiert auch im DVBViewer selbst wenn ich darüber einen TS-Stream TV-Kanal abspiele. Ohne vorher hinterlegtes TS Stream Device wird trotzdem der TS-Stream geladen.
       
      Wie kann ich erreichen dass Aufnahmen und Live-TV von TS-Streams immer über ein bestimmtes Netzwerkinterface geladen werden, bzw. wie kann ich forcieren, dass auch für Live-TV die im Media Server hinterlegten TS Stream Devices genutzt werden.
×
×
  • Create New...