Jump to content
allanlee

How to use designated plugins?

Recommended Posts

allanlee

Using one hardware (TBS6904) to receive multiple channels from different satellites.

 

Some channels from a specific broadcaster (for example, that one received by tuner 0) need additional tweaking while most others do not need (or need to use other different plugins, for example tuner 1).

 

Given that I have 4 tuners (tuner 0-3) in DMS, I created 4 sub-folders plugins1-4 in the plugins folder for them. However,  how could I assign plugin1 only for tuner 0 and plugin2 only for tuner 1?

 

Some plugins do not work when I put everything in the same folder, nor I want to get unnecessary potential side effects when have unused plugin loaded.

 

Hope I made myself clear. Thanks very much for the advice.

Share this post


Link to post
Nayef

i think via number device in hardware section & then you can set what first you want in list

 edit  "hardware.xml " C:\ProgramData\CMUV\DVBViewer\hardware.xml

Share this post


Link to post
allanlee
4 hours ago, Nayef said:

 edit  "hardware.xml "

 

Thank you for the comment but I'm afraid this does not help.

 

I'm receiving different satellites and they are separated by channel groups. The first hardware used must be the first recording timer activated (or the first channel requested via IPTV streaming clients). It's not possible to let whichever hardware start first.

 

Given that they need different plugin configurations, how could I, or is it possible to assign "pluginx" folder to a designated hardware?

 

 

Share this post


Link to post
Nayef

i think via "number"

"Plugin1" for  hardware(1)

Untitled-1.jpg

Share this post


Link to post
allanlee
On 2017/10/25 at 11:05 AM, Nayef said:

"Plugin1" for  hardware(1)

 

Thanks for the info - do you see such behavior in your system?

 

I'll also try it out today.

Share this post


Link to post
e123enitan

Sorry to jump in, I have (TBS 6985) four tuners,  I have always wonder how to configure the tuner label as 0-3 to plugin, pls could you share your settings once you get it right.

 

Cheers!

Share this post


Link to post
allanlee
On 2017/10/25 at 11:05 AM, Nayef said:

i think via "number"

"Plugin1" for  hardware(1)

 

In my system seems not to be the case - usage of pluginx is dependent on the order of recording timer (or streaming) activation. After quite a few observations I found that regardless on the "number" of hardware, plugins4 is always the first one used, followed by the hardware for next active timer using plugins3, then 2, then 1.

 

Could you confirm your mentioned behavior? How did you managed to make it if so?

 

Many thanks.

 

Share this post


Link to post
majstang

allanlee is right. After years and years of usage I never managed to get that working either (tie a plugin to a designated tuner). It is simply not intended or built that way. 

Share this post


Link to post
Griga

It took me some time to understand the DMS code behind it.

 

majstang is right. As far as I can see it is not a per hardware, but a per channel assignment allowing to use different plugin instances for two or more channels on the same transponder received from the same hardware. When a channel is tuned (which does not necessarily include hardware tuning because the transponder may already be tuned) the DMS picks the first plugin instance from its list that is not occupied with a different channel (!) yet.

 

Besides that there is no fixed order by number, but the internal list of plugins is sorted by priority (and in case of equal priority by name). The priority is an integer value exported by plugins (or 0 by default if they don't). The idea behind it is to let the plugin with the highest priority see the transport stream first if there are two or more plugins receiving the same stream. Dunno in which setting this is of importance.

 

What allanlee wants would imply the following:

  • only one plugin per folder (so that its index in the internal plugin list equals the folder number)
  • drop the plugin sorting  (so the index remains unchanged)
  • introducing a fixed hardware <--> plugin index assignment. This would disable the possibility to handle a second channel from the same transponder with another plugin instance.

Doesn't look very promising to me ;)  I would rather re-use the already existing channel group mechanism (which is designed for channel -> hardware assignment) analogously for a channel -> plugin assignment, so that channels belonging to a certain group are only handled by plugins for which this group is enabled. However, the question is how a user defined set of groups can be assigned to a plugin or a plugin folder. Maybe by a small text file containing something like ACD (-> the plugin or plugins in this folder are suitable for channels belonging to group A, C or D).... with "all groups" as default if the file is not present. This wouldn't break the existing plugin handling, but extend it in a flexible way.

 

  • Like 1

Share this post


Link to post
allanlee
6 hours ago, Griga said:

I would rather re-use the already existing channel group mechanism (which is designed for channel -> hardware assignment) analogously for a channel -> plugin assignment, so that channels belonging to a certain group are only handled by plugins for which this group is enabled.

This wouldn't break the existing plugin handling, but extend it in a flexible way.

 

 

Thank you sooooo much for looking into it.

 

If a channel group <-> plugin assignment is feasible that would be even much much better! It's indeed a brilliant idea enabling more flexibility.

 

Can't wait for this feature. ^_^

 

I'll be more than happy to help testing out, if that's implemented.

 

Share this post


Link to post
Tjod

@GrigaIf you change the plugin handling in the DMS, you should change it in the DVBViewer as well.

The DVBViewer uses pluginsX folders as well. The main playback uses Plugins, but PiP and recordings are using pluginsX.

Share this post


Link to post
Derrick

I want to point to a serous problem with the plugin architecture. The GUI is showing the settings only for the main plugin, which is not used by the DMS.

Share this post


Link to post
Griga

Please explain more in detail. I don't understand what you mean. The DMS doesn't (and can't) support displaying plugin UIs because it is running as service in the system account.

Share this post


Link to post
allanlee
7 minutes ago, Derrick said:

I want to point to a serous problem with the plugin architecture. The GUI is showing the settings only for the main plugin, which is not used by the DMS.

 

As far as I know, there's no way to access the GUI for plugins loaded with DMS, since the service process is started under SYSTEM account, thus no GUI or try icon would show up in the system UI for a standard windows user.

 

Could you elaborate?

Share this post


Link to post
Derrick

A clumsy workaround: start the DVBV without DMS and  fix the settings for the main plugin then copy the settings to the relevant plugin(s) and start again with DMS.

Share this post


Link to post
allanlee
1 minute ago, Derrick said:

A clumsy workaround: start the DVBV without DMS and  fix the settings for the main plugin then copy the settings to the relevant plugin(s) and start again with DMS.

 

I believe this is another issue / a separate topic - how to access the GUI of plugins loaded with DMS.

 

I agree that what you mentioned is an option to work-around, and fortunately, the plugins I need to use could be configured via editing ini files, or they don't need any configuration.

 

However, the problem I encountered, as well as e123enitan and majstang, does not seem to be solved by the settings for plugins themselves.

Share this post


Link to post
Griga

Let's rather focus on the original topic instead of mixing up different things:

 

2 hours ago, allanlee said:

If a channel group <-> plugin assignment is feasible that would be even much much better!

 

I wonder how it can be done best. There are different possibilties:

  • Renaming the plugins accordingly, e.g. MyPlugin(ACD).dll. This per-plugin-solution would avoid having to read additional files. However, it won't work if something relies on a particular DLL name (the DMS doesn't).
  • Adding an INI file with the DLL name, e.g. MyPlugin.ini for MyPlugin.dll, that contains the allowed channel groups. It is an extensible format so that more conditions can be added in future if necessary, e.g. frequency, service ID, orbital position... However, this per-plugin solution requires that no INI with the same name exists yet.
  • Adding an INI file with a common name like PluginFolder.ini (similar to the hidden desktop.ini in special Windows folders). This per-folder-solution would apply to all contained plugins.

Experienced plugin users should comment about it...

Share this post


Link to post
allanlee
2 minutes ago, Griga said:
  • Adding an INI file with a common name like PluginFolder.ini (similar to the hidden desktop.ini in special Windows folders). This per-folder-solution would apply to all contained plugins.

 

Personally I prefer the per-folder solution - which seems to be the most straightforward solution for my case.

The per-plugin solutions may have potential conflicts with existing files used / created by the plugins. If finally this would be the way to go, maybe something special should be considered, i.e. MyPlugin.DVBViewer.ini for MyPlugin.dll

 

Would appreciate more (different) opinions and ideas.

 

Share this post


Link to post
Griga

No more feedback? Then let's try.... the upcoming DMS release 2.0.4 will contain the following for testing purpose:

  • Added: Plugins: Plugin usage can be restricted to channels with certain channel groups by storing a text file Plugins.ini in the Media Server Plugin folders (Plugins1, Plugins2...). The content applies to all plugins in the folder and looks like this (example):
[Settings]
;allowed groups specified by the letters A...H.
Groups=ADE

The setting defaults to all groups if the file is missing. Please note: This is an experimental feature that may be subject to changes. It will not appear in the official change log yet.

 

Share this post


Link to post
allanlee
On 2017/10/30 at 11:03 AM, Griga said:

DMS release 2.0.4 will contain the following for testing purpose:

  • Added: Plugins: Plugin usage can be restricted to channels with certain channel groups

 

 

Thank you very much for adding this feature.

 

Initial testing looks great. Will keep my observations for longer time and feedback here in case of any issue.

 

Share this post


Link to post
Bernhard Berger

I just wanted to leave a big and bold THANK YOU for this (unfortunately completely undocumented) feature!

 

I badly needed this and I can now finally use the plugins (only) for the channels I need to!

 

Please do NOT drop this feature, it really comes in handy!

Share this post


Link to post
This thread is quite old. Please consider starting a new thread rather than reviving this one.

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

    • MOS-Marauder
      By MOS-Marauder
      Hallo Leute.. Lang ist es her das ich tatsächlich mal nachfragen musste weil was nicht out of the Box lief...

      Mein Problem ist folgendes:

      Ich habe im DMS eine DVB-S2 PCiE Karte..und seit heute noch einen DVB-T2 USB Stick. (mit BDA Treiber).
      Erkannt wird die Sat karte problemlos. Die DVB-T2 wird als "Astrometa DTV Filter" erkannt. Das alleine ist noch kein Problem.
       
      Das Problem ist: Er reicht sie nicht an den DVBViewer durch. Heisst ich kann keinen Sendersuchlauf usw machen.
      Tunertyp ist mit DVB-T2 korrekt erkannt.(Und Einstellung Terrestrisch).
       
      Im DVBViewer steht unter Hardware logischerweise nur der DMS drin. (Allerdings als Tunertyp DVB-S2 wegen der Sat Karte)
       
      Die T2 taucht schlicht nirgends auf.
       
      Wenn ich das ganze ummodele und im Viewer nach Hardware suchen lasse findet er den Stick und kann ihn benutzen. 
      Aber Sinn der Sache war es alles über DMS laufen zu lassen.
       
      Wo könnte da der Fehler liegen? Habe ich evtl etwas übersehen ?
       
       
      Chris
       
       
       
       
    • sir drake
      By sir drake
      Hallo Griga,
      ich möchte ein meinem Programm neben dem CHANNEL-NAME auch die Quelle( SAT/Internet...HLS Deutsch....)  einer Aufnahme anzeigen.
      In einem TIMER-RECORD habe kann ich hierfür den Node  <CHANNEL ID> zerlegen und benutzen.
      In einem RECORDING-RECORD habe ich nur den Node >CHANNEL>xxxx</CHANNEL>
      Das reicht leider für meine Zwecke nicht aus.

      <recording id="98" charset="255" start="20181021195500" duration="001000">
      <channel>Das Erste</channel>
      <channel ID>1234567890</channel ID>
      <file>
      d:\_aufnahmen\2018-10-21_19-59-23_das erste_tagesschau.ts
      </file>
      <title>Tagesschau</title>
      <image>2706243175_SM.jpg</image>
      </recording>
       
      Vielleicht kannst du diesen Node optional beim Aufruf hinzufügen:
       
      ....://localhost:8089/api/recordings.html?utf8=1&amp;images=1;channel_id=1
       
       
      vg & Dank 
      Sir Drake
    • kafisc
      By kafisc
      Hi zusammen,
       
      heute bin ich auf ein komisches Phänomen gestoßen.
      Das Programm "Das Erste HD" auf Astra 19.2E läuft mit dem DVBViewer ohne Probleme (Win10 64bit 1709, DMS 2.0.4.0, DVBV 6.0.4.0).
      Sobald ich jedoch versuche das Programm über den DMS zu schauen, passiert nichts.
       
      Das ist der einige Sender, der von dem komischen Verhalten betroffen ist. Alle anderen Sender haben diesen Problem nicht.
       
      "Das Erste HD" auf Kabel UM läuft ohne Probleme auf dem DVBViewer und dem DMS.
      Anbei findet Ihr den exportieren Sender, sowie die support.zip und die datei streaming.m3u (Das Erste HD Playlist Sat".
       
      Probiert habe ich bisher ohne Erfolg:
      - Neustart DMS
      - Neustart PC
      - Sender gelöscht und durch neuen Sendersuchlauf hinzugefügt
      - Sender umbenannt
       
      VLC wirft den folgenden Fehler:
        
       
      Debug-Log DMS:
       
      Über Tipps würde ich mich sehr freuen.
       
      Vielen Dank im Voraus & viele Grüße
      kafisc
      support.zip
      Das Erste HD (AC3,deu).ini
      streaming.m3u
    • J. Peters
      By J. Peters
      Hallo,
       
      es gibt offenbar immer mehr netzwerkfähige A/V-Receiver und ähnliche Geräte, die sich prima für AirPlay und ChromeCast (Audio) eignen und sich mit Hilfe verschiedener Apps ... zum Beispiel BubbleUPnP, mConnect Player Lite, C5 Creation 5 - Stream DLNA Cast Player, AllCast oder AllConnect - Play and Stream ... über ein Smartphone oder Tablet steuern lassen. Mit ihnen kann man auch einfach auf Musikserver zugreifen.
       
      Seit kurzem habe ich einen Pioneer A/V-Receiver VSX-S520D und bin beigeistert, auch von der Fernsteuerungs-Anwendung namens "Pioneer Remote App". Den DVBViewer Media Server <DMS> steht dort mittels UPnP bzw. DLNA als Musikserver zur Verfügung.
       
      Nun wäre es klasse, wenn auch flac-Dateien im DMS inklusive Tags unterstützt würden, um sie in Musik bzw. Audio genauso zu finden und abspielen zu können wie mp3-Dateien. Vermutlich dürfte es viele DVBViewer-Anwender geben, die ihre CDs im Laufe der Zeit so wie ich in Form von flac-Files auf einer Festplatte abgelegt haben, welche sich einfach im DMS einbinden lässt - ohne gleich ein NAS betreiben zu müssen. Leider werten die Fritz!Boxen keine flac-Informationen bzw. Tags aus, so dass diese Alternative auch ausscheidet.
       
      Dann würde sich der DMS noch besser als bisher auch als Musikserver eignen, der Radio (bei mir DVB-C) und Musik (bislang nur mp3) leicht verfügbar macht.
       
      Wie seht Ihr das?
       
      Viele Grüße,
      J. Peters
    • allanlee
      By allanlee
      Updated to DVBViewer Pro 6.0.4, DMS 2.0.4 and TrandEdit 4.2.1
       
      If there's an ongoing recording in DMS , it will "grab" the tuner from DMS without any warning or notification.
       
      At the meantime however, DMS "Status" tab still displays as normal (except for data rate decreasing and file size remaining the same). Seems that it does not even know the tuner what "robbed" away by TransEdit.
       
      See this behavior in 2 of my PCs. Is it a new - "feature" - of the new version? In previous versions TransEdit will tell me something like "Initialize device failed" or "No hardware available".
×
×
  • Create New...