[no Bug] SlimTVClient doesn't work remotely (1 Viewer)

MJGraf

Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,475
    1,385
    Country flag
    Hi everybody,

    I'm having a problem with SlimTVClient when the client runs on a different machine than the (tv-)server.

    What I did is:
    Start MP2-Client on a different machine than TVE3 is running on.
    Go to SlimTVClient
    Start streaming a channel

    Logs attached. To me, both exceptions are unclear.

    1. The German part can be translated as "illegal character in path". The resource path "{04affa6c-ea42-4bd3-aa6f-c16dcef1d693}://0|rtsp://htpc_ffm:554/stream2.0" looks fine to me. The only illegal character I could imagine is "|", but in the code I saw that this seems to be inserted intentionally.

    2. EVRPresenter.dll is present in "\plugins\VideoPlayers".

    When I start MP2-Client on the same machine as the TVE3, it works. Any help appreciated!

    Michael
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: SlimTVClient doesn't work remotely

    Hi,

    the first exception is "normal" (although not nice ;)): I need to have a way to distinguish master from PiP video stream. I do this currently by adding "0|" or "1|" in front of the rtsp: Maybe I'll change to some kind of suffix or I'll improve error handling in VideoPlayerBuilder.

    The LiveTv Player is used correctly:
    [2011-10-03 10:14:06,475] [41236 ] [Thread7 ] [DEBUG] - LiveTvPlayer: Initializing for media item 'rtsp://htpc_ffm:554/stream2.0'
    [2011-10-03 10:14:06,475] [41236 ] [Thread7 ] [DEBUG] - LiveTvPlayer: Initialize EVR
    [2011-10-03 10:14:07,395] [42157 ] [Thread7 ] [DEBUG] - LiveTvPlayer: Stop playing
    [2011-10-03 10:14:07,445] [42207 ] [Thread7 ] [WARN ] - LiveTvPlayer: Error playing media item 'Resource '{04affa6c-ea42-4bd3-aa6f-c16dcef1d693}://0|rtsp://htpc_ffm:554/stream2.0' at system 'bcec7594-a30e-4dc6-bc69-9124b1afa6d0'
    but anyhow the EvrPresenter is not loaded correctly, maybe because of missing references. Are you able to playback a normal video file locally? If not I would bet on missing VC runtime dlls.

    Thanks for testing and reporting :)

    Morpheus
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,475
    1,385
    Country flag
    Thanks, Morpheus!

    Playing video file locally works (added a network share, on which there are some DVD-ISOs, as local share and even that worked). What runtime do you mean? I just installed MS VC++ 2010 (from April 2010) and it didn't help.

    btw: I didn't install the SlimDX Runtime on that client because the rest of MP2-Client works without problems. Could that be the reason?

    Thanks again,
    Michael
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: SlimTVClient doesn't work remotely

    strange... my own compiled versions do look like:
    Code:
    +---SlimTvClient
    |   |   plugin.xml
    |   |   SlimTvClient.dll
    |   |   SlimTvInterfaces.dll
    |   |   
    |   +---Language
    |   |       strings_en.xml
    |   |       
    |   \---Skin
              ...
    
    +---VideoPlayers
    |   |   DirectShowLib-2005.dll
    |   |   EVRPresenter.dll
    |   |   plugin.xml
    |   |   VideoPlayers.dll
    |   |   
    |   \---Language
    |           strings_en.xml
    Can you try to simply copy "DirectShowLib-2005.dll" and "EVRPresenter.dll" into SlimTvClient folder?
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: SlimTVClient doesn't work remotely

    Additional note: the SlimDX.dll should be present inside the SkinEngine plugin, so it should be ready for use (otherwise no rendering would be possible)
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,475
    1,385
    Country flag
    Hi Morpheus,

    Sorry, installing the VC Runtime did help. Should have looked into the logs...
    Since installing the VC Runtime there was a different exception in the log:

    [2011-10-03 11:59:30,598] [52519 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Initializing for media item 'rtsp://htpc_ffm:554/stream2.0'
    [2011-10-03 11:59:30,613] [52535 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Initialize EVR
    [2011-10-03 11:59:32,431] [54352 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Adding audio renderer
    [2011-10-03 11:59:32,431] [54352 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Adding preferred codecs
    [2011-10-03 11:59:32,460] [54381 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Adding file source
    [2011-10-03 11:59:32,466] [54387 ] [Thread57 ] [DEBUG] - LiveTvPlayer: Stop playing
    [2011-10-03 11:59:32,471] [54392 ] [Thread57 ] [INFO ] - Releasing filter MediaPortal.UI.Players.Video.VideoPlayer+EnhancedVideoRenderer, remaining references: 1
    [2011-10-03 11:59:32,603] [54524 ] [Thread57 ] [WARN ] - LiveTvPlayer: Error playing media item 'Resource '{04affa6c-ea42-4bd3-aa6f-c16dcef1d693}://0|rtsp://htpc_ffm:554/stream2.0' at system 'bcec7594-a30e-4dc6-bc69-9124b1afa6d0'
    System.Runtime.InteropServices.COMException (0x80040154): Die COM-Klassenfactory für die Komponente mit CLSID {B9559486-E1BB-45D3-A2A2-9A7AFE49B23F} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80040154.
    bei MediaPortal.UI.Players.Video.TsVideoPlayer.AddFileSource()
    bei MediaPortal.UI.Players.Video.VideoPlayer.SetMediaItemLocator(IResourceLocator locator)
    bei MediaPortal.Plugins.SlimTvClient.SlimTvPlayerBuilder.GetPlayer(IResourceLocator locator, String mimeType)

    Searching in the sourcecode pointed me to tsreader, which has this CLSID. I then realized that tsreader.ax is not yet part of the MP2-Client project, copied the one from my MP 1.2 installation over to the MP2-Client directory and did a "regsvr32 tsreader.ax": Tada - it works :)
    This also explains why it worked when I started MP2-Client on the same machine as TVE3: The latter is my regular htpc, which has of course MP 1.2 installed - and therefore tsreader.ax is registered. My current MP2-Client test machine is my laptop - no MP 1.2, no tsreader...

    Anyway: Thanks a lot for your help!

    First thoughts: I'm really impressed. The laptop only has a wlan connection, but streaming SD channels works flawlessly, even streaming two SD channels in pip mode works over wlan. Streaming HD channels works as well (cyberlink codec doesn't seem to work, I only get a black picture without any error message, but MS standard codec is fine). Only streaming two HD channels in pip mode was too much in that configuration :)

    One thing, that would be really nice (although it's really only a minimal thing, but when you want to test, it's a bit annoying): SlimTVClient doesn't remember the last selected channel group. The first channelgroup im my configuration is always "all channels". Although I don't have DVB-S here (only DVB-C), there are about 200-300 channels in that group. Therefore, when entering SlimTVClient, it always takes quite long until al the channels are loaded. I have a "standard" group with about 20 channels, which I'm regularly watching. If SlimTVClient could remeber that I last selected this group, this would make testing a lot easier (i.e. faster). I know, this is only minimal, so if you don't have the time, just forget about this (for now) ;)

    Last thing I noticed (but this may be a general topic not related to SlimTVClient): When I enter SlimTVClient and it takes so long to load the channels, the rotating "wait cursor" (or whatever it's called) doesn't show until I move my mouse. It first looks like nothing happened - only when I move the mouse, the wait cursor appears to tell me that something is going on in the background.

    Conclusion: Wow!!! If you leave aside my lack of knowledge on what has to be installed, I've seen many commercial alpha builds that were less stable than this snapshot git-compilation! I can just encourage everyone with just a little bit of programming knowledge (and mine is really a tiny little bit) to jump into MP2, compile the sources and enjoy! (and of course post proper bug reports to make MP2 as stable as MP1.2 :D ). I'm still browsing though the source code to better understand the concepts of MP2, but from what I've seen this is not only a media application but a real media framework with endless possibilities for add-ons. So let the plugins come :)

    cheers,
    Michael
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    41
    Freiburg im Breisgau, Germany
    Germany Germany
    AW: SlimTVClient doesn't work remotely

    Michael,
    thanks very much for your detailed bug reports and for your compliments!
    I hope you'll enjoy playing with MP2 :)

    Albert
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: SlimTVClient doesn't work remotely

    Thanks Michael!

    We already talked about requirement of TsReader.ax anywhere in the installer thread, but I totally forgot this...

    I hope you will enjoy MP2 even more in future :)
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: Re: SlimTVClient doesn't work remotely

    One thing, that would be really nice (although it's really only a minimal thing, but when you want to test, it's a bit annoying): SlimTVClient doesn't remember the last selected channel group. The first channelgroup im my configuration is always "all channels".
    I will implement this feature soon, it is already on my "todo-list" ;)

    Meanwhile you should change the channel group order inside SetupTv, move the "All Channels" to the last position. At least I did this to have my "Favoriten" Group at first :)
     

    morpheus_xx

    Lead Dev MP2
  • Team MediaPortal
  • March 24, 2007
    11,390
    6,966
    Germany Germany
    Country flag
    AW: SlimTVClient doesn't work remotely

    Feature to remember/restore last channel group is now implemented :D
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    D PS3 Bluetooth Remote Remotes 1
    henrysinn Remote - W10 Gyro by Pepper Jobs General 8
    G Remote control suggestions? MediaPortal 1 Talk 16
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    F MCE Remote has no focus General 6
    TLD Can not watch tv from remote clients Television (MyTV frontend and TV-Server) 19
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    D Full fuctional htpc - Silverstone Case - Digital Devices Cine S2 - SSD - IR Remote For Sale 1
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    S Remote button to change audio and subtitle on / off General 10
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    brena MCE Remote Disable Volume Mapping Input / Output interfaces 0
    T How to add missing buttons IR Server Suite (IRSS) 0
    P MP2 TV Server crashes when starting - throws error remoting exception General 2
    R Problem with MP1 and WifiRemote Skins and Plugins Installer (MPEI) 8
    A FB funktioniert plötzlich nicht mehr korrekt Allgemeines Supportforum 0
    A Let TV Server sleep whilst remote client active General Support 0
    B TV Remote Watch / Listen Media 0
    B iPhone app for MCE remote General Support 2
    T Can Emprex 3009ARF III MCE Remote Control be used to toggle Fullscreen/Windowed mode?? Remotes 7
    G [solved] Mini EPG purpose? General 2
    N [Proposal] Make text input using remote control easier MediaPortal 2 4
    S Mediaportal 1.22 Pre-Release remote live-tv freezes MediaPortal 1.22 Pre Release 0
    N [Proposal] Make text input possible with remote control in SMS style MediaPortal 2 1
    Similar threads

























    Top Bottom