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

MP2 Product Manager
  • Team MediaPortal
  • May 16, 2008
    11,431
    2,333
    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,351
    6,945
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    ge2301 Android based client for MP2 MediaPortal 2 3
    R MP2 GUI Issues General 6
    P MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 1
    Lichloathe MP2 importing keyart instead of poster General 0
    Lichloathe Trakt for MP2 question General 7
    C Streaming/transcoding MP2 vs MP1? General 1
    P MP 2 - Request to add an additional TV series Filename protocal Feature Requests 0
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    CyberSimian MP2 synchronising of stoptime MediaPortal 1 Talk 5
    M Initial Setup MP2 (On Wndows 10) General 2
    R MP2 Client ist extrem langsam Allgemeines Support- und Diskussionsforum 4
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    T Amazon und Netflix in MP2 - Wie? Allgemeines Support- und Diskussionsforum 6
    J [solved] How to in MP2 General 19
    M [fixed] [MP2-831] 12h time format shown in TV Guide with Swedish language settings Submit: Bug Reports 27
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    B [solved] MP2.2.3 TV Guide not scrolling with mouse wheel General 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    Lehmden [WiP] [MP2-824] DLNA Server functionality MediaPortal 2 27
    R [will not fix] [MP2-832] MP2.2.2 subtitles not shown for WTV files Submit: Bug Reports 7
    N [fixed] [MP2-822] Folder View is not displaying individual media share elements Submit: Bug Reports 4
    B How to Search MP2 for Movies only in 7 day EPG that comes from the Antenna General 3
    R [fixed] [MP2-819] MP2 Server crashes on ATSC OTA channel scan Submit: Bug Reports 33
    HTPCSourcer [Evaluate] Remove obsolete menu entries from "MP2 TV Configuration" MediaPortal 2 0
    P MP2 Client Screen Flickering on Resume General 2
    Similar threads

























    Top Bottom