MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart (1 Viewer)

Status
Not open for further replies.

Kupferdings

New Member
July 9, 2010
4
0
Germany Germany
MediaPortal 2 Version: 2.1.3

Description
Hi there,

first of all many thanks for all the great work you are doing!
I run a MediaPortal 2 Server inside a Windows 10 Pro 1709 VM which is hosted by KVM / Qemu and can access Digital Devices Dual DVB-S2 Tuner card of the host by using PCI passthrough. This is all working very well.
There are two network interfaces in Windows 10, as there are two networks at my home. The problem is, that the TVServer forgets which interface to use on every restart of the system or even the service. The server configuration UI always shows "auto" as the selected option and the automatic selection selects the first interface of the two interfaces in the comboBox. It is possible to select the right interface and LiveTV works afterwards but after restart it is "auto" again and the first interface is used.

This is quite annoying in a multi homed environment as the TVServer is not reboot safe and requires regular manual work which strongly reduces the acceptance for the system of other family members.

Hopefully I don't missed anything. If you need any further information just let me know, I will try to do my best for solving this.


P.S.: Is there a special reason for just listening at one interface and not all interfaces? I don't know if it is related to this issue but e.g. UPnP works an all interfaces and a client can connect to the server from both networks but LiveTV only works in the selected network. This requires a more complex routing to make the TVServer available in more than one network. I asked this already in the german forum (Live TV in zwei Netzwerke streamen) but didn't get any answer. Should I open a second thread here for this topic?

Steps to Reproduce:
1. Start TVService
2. Start server configuration
3. Select Streaming Server configuration
4. ComboBox for interface selection shows "Auto" and contains two interfaces / ip adresses
5. Select second interface
6. Click "Apply" and wait for restart dialog to disappear
7. Everything is fine, server listens on port 554 of selected interface
8. Close server configuration
9. Restart TVService
10. Server listens on port 554 of different interface
11. Start server configuration
12. Select Streaming Server configuration
13. ComboBox for interface selection shows "Auto" again
 

ulischultz

Portal Pro
September 16, 2009
156
8
Munich
Germany Germany
I can confirm that. It always returns to "auto" after service restart.
But with "auto" streaming does not work if you have several ip-adresses on the server.
It only works if I select one specific IP.
 

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,431
    2,334
    Germany Germany
    Country flag
    If this is something embedded in the TVServer plugin, it is more fundamental. When TVE 3.0 was developed, multi-network environments were probably not that common.

    @morpheus_xx , can you comment on the issue? Is this something that can be brought up in the TVE rework thread?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,536
    7,038
    Germany Germany
    Country flag
    Indeed this looks like a bug inside MP2's implementation. The "server" gets reset to the hostname. This was done to fix startup issues when the old name/IP does no longer exists (host rename, IP address change).

    My logic does only consider the hostname in check, but does not include all the valid IP adresses of the host. I will look for a fix.

    References for later:
    MediaPortal/MediaPortal-1
    MediaPortal/MediaPortal-2
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    toricred MP2 - V2.3 MP2 2.3 Client won't start General 4
    Grisu002 MP2 - V2.3 MP2 2.3 Client startet nicht - bleibt beim Laden hängen Allgemeines Support- und Diskussionsforum 17
    M MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 1
    Scheibes Was passiert bei MP2? Allgemeines Support- und Diskussionsforum 42
    S Programmierte Aufnahme in MP2 - kein Aufwachen des PC Allgemeines Support- und Diskussionsforum 5
    morpheus_xx [Finished] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    morpheus_xx [Evaluate] Checking MP2 code portability to .Net Core MediaPortal 2 11
    da3dsoul Does MP2 not have any active devs? General 8
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    R [solved] Kein Player registriert Allgemeines Support- und Diskussionsforum 1
    -Merkur- MP2 Client startet nicht, "libXBMC_addon.dll" fehlt Allgemeines Support- und Diskussionsforum 1
    mp2-ulrich [solved] MP 2.2.3 spielt nur manche Sender Allgemeines Support- und Diskussionsforum 2
    H MP2 database won't keep in synch with recordings General 8
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    ge2301 [WiP] MP2Web - A platform independent web client for MP2 MediaPortal 2 72
    F Problems with new install of MP2 Newcomers Forum 3
    catalpa Bug MP2-837 Allgemeines Support- und Diskussionsforum 2
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 7
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7

    Similar threads

    Top Bottom