Can't watch any channels, but scan works (2 Viewers)

RobNorthcott

MP Donator
  • Premium Supporter
  • October 9, 2007
    540
    102
    Dartmoor, England
    Home Country
    United Kingdom United Kingdom
    Country flag
    Right... I've had a bit more time to investigate and it seems like the first difference in the tvservice log between when it was working and now is where it should say "Controller: setup streaming", but instead we get the "invalid class" error.
    On the "3rd party checks" page of Tv Server Config it is saying that the streaming port (554) is "already bound", whatever that means. I can't find anything else using port 554, and so far I've failed to find a port that it's happy with by guesswork (I've tried running tcpview and netstat -ano and looking for gaps but I can't find one that MP is happy with - and 554 doesn't actually seem to be in use). Could this be significant, and in that case any suggestions how I can find a free port?
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    Already bound, that sounds like that port is in use by some other program.
    Checking here it says that the port is available and neststat -ano gives me that my tvserver is listening on that.
    But I don't use rtsp for streaming, it's set to unc, perhaps you can try that and see if it works?
     

    RobNorthcott

    MP Donator
  • Premium Supporter
  • October 9, 2007
    540
    102
    Dartmoor, England
    Home Country
    United Kingdom United Kingdom
    Country flag
    But I don't use rtsp for streaming, it's set to unc, perhaps you can try that and see if it works?
    It looks like there is no option to change that in the TvServer setup. It always listens on RTSP, but the MP front-end uses UNC by default for single-seat. So I don't think there's a way to stop the tvservice setting up the RTSP port. I can't find any evidence of 554 being used by anything on my machine, and every other port I've tried that appears to be in an empty range is also detected by TvSetup as "already bound". Very odd...
     

    RobNorthcott

    MP Donator
  • Premium Supporter
  • October 9, 2007
    540
    102
    Dartmoor, England
    Home Country
    United Kingdom United Kingdom
    Country flag
    The MP TvServer setup seems to "think" all ports are bound, but I'm convinced they aren't really. I suspect that whatever MP uses to check if the port is available is failing, and the failsafe behaviour is to show the "port already bound" message. I wonder what it's trying to do to check if the port is available... I've tried reinstalling the Visual C++ libraries.

    (I know I'm spending far too long on this when I should just be reinstalling the whole system, but I feel like I'm too far down the hole to give up now :) )
     

    RobNorthcott

    MP Donator
  • Premium Supporter
  • October 9, 2007
    540
    102
    Dartmoor, England
    Home Country
    United Kingdom United Kingdom
    Country flag
    OK, digging through the source now :/
    It seems like the TvSetup doesn't actually check if the port is available - it reads TvControl.RemoteControl.Instance.StreamingPort from the current tvservice instance and if that returns 0 (presumably because it didn't get as far as setting the port up when tvservice started because of the invalid class error) then it assumes "already bound". So that message is a bit of a red herring. Need to look directly at why tvservice can't set up the streaming.
     

    RobNorthcott

    MP Donator
  • Premium Supporter
  • October 9, 2007
    540
    102
    Dartmoor, England
    Home Country
    United Kingdom United Kingdom
    Country flag
    Well I gave in and reinstalled the machine from scratch. All working properly again now, which is good, but a shame I couldn't find out what was actually wrong. Windows updates turned off for now just in case...
     

    Users who are viewing this thread

    Similar threads

    A few months ago my broadband package was compulsorily updated to a no-limit and much-more-expensive package, so I could now consider streaming video from the internet. (My previous broadband package had a 16GB per month limit, which made regular streaming from the internet a non-starter.) However... There seem to be a constant...
    A few months ago my broadband package was compulsorily updated to a no-limit and much-more-expensive package, so I could now...
    I have the most recent version of MP2, running on a PC with up-to-date Windows 10. Until recently I have been able to receive and...
    Replies
    5
    Views
    220
    I completely uninstalled MP1 and installed MP2. Audio is now good. I'm relieved, and I suppose a little glad to have been forced to make the switch, because I'm already liking MP2 more. But still, the original problem remains a frustrating mystery.
    I completely uninstalled MP1 and installed MP2. Audio is now good. I'm relieved, and I suppose a little glad to have been forced...
    I am running 1.29 Pre-release on Windows 10 Pro. I use MP only to watch TV through my Hauppauge tuner card. I am suddenly getting...
    Replies
    13
    Views
    583
    So after a long search and a lot of experiments I did find out the culprit: I did disable events of the Common Information Model Object Manager. As soon as they are disabled TV server will always show "port 554 is already bound". Enabling/disabling events is done by this reg key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM]...
    So after a long search and a lot of experiments I did find out the culprit: I did disable events of the Common Information Model...
    I've got a Digital Devices Cine S2 V7A Twin and a DigitalEverywhere FloppyDTV for Satellite TV. I've been running MediaPortal 1.4.0...
    Replies
    1
    Views
    365
    Just to wrap this up I did eventually get MP2 installed, the above mentioned error was resolved once I uninstalled MP1. I then had firewall issues with MP2, the client could not see the server unless I turned the firewall off on the server, all rules seemed present and correct, so I eventually uninstalled MP2 as I needed a working...
    Just to wrap this up I did eventually get MP2 installed, the above mentioned error was resolved once I uninstalled MP1. I then had...
    I'm not quite sure what I've done, but somehow I seem to have broken our Mediaportal installation. I'm running it as a TV server...
    Replies
    6
    Views
    3K
    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system hdd and decided it was time for a clean install anyway. Other hardware (C2D, 8 Gb ram, no tv cards - IP only) unchanged. Was running an earlier Win10 version with MP 1.24 which had been updated for years...
    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
    Having used MP1 since 15 years, these epg related problems occuring after a fresh install stumble me. Needed to change a system...
    Replies
    0
    Views
    435
    Top Bottom