[Help Us!] TvServer does not handle stop request (1 Viewer)

michael_t

Portal Pro
November 30, 2008
1,258
813
Germany Germany
MediaPortal Version: 1.2.0 Alpha
Windows Version: Windows 7


Since MP 1.2.0 Alpha the TvService does not handle stop requests ("net stop tvservice") properly. The TvService process is ended (aborted), but the OnStop() routines are not run (neither in tvservice nor in the tvservice plugins).
To reproduce the situation call "net stop tvservice" or stop the running tvservice from control panel. In the tv log you will not find any OnStop() or cleanup code, the log just finishes without any notice (therefore it makes no sense to provide a log).

Michael
 

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi there

    I think I'm seeing the same thing. Sometimes I also can't kill TvService.exe from task manager or with taskkill - it just refuses to "die". Requires a restart...
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    United Kingdom United Kingdom
    Country flag
    in 1.2 the service has been changed to asynchronous start/stop so when you stop service it will return instantly but service will not stop straight away.

    If you leave this a minute or so does the service end?
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    I'm 90% sure that the correct answer is no. I'm not really patient enough to wait very long though. I usually restart the computer in frustration after 30 seconds or so.
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    ...furthermore, like michael_t says, the graphs are never disposed even if the TV Server process does stop in response to manual control in TV Server config or stop/restart from service management...
     

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

    OP Similar threads Forum Replies Date
    E TVserver RTSP Input / Output interfaces 0
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    Dark Eyes Updated to Windows 10, now TVServer won't work Installation, configuration support 1
    badboyxx TV card is listed as unknown in TV-server config General 4
    G MP 1.21 TVserver race condition when cant delete recording triggered by episode management General Support 0
    T How do I install the Kodi TVServer plugin General 8
    C Manual Control doesn't work anymore inside TVServer General Support 4
    I TVServer issues Installation, configuration support 2
    T Things I wish I had known setting up and first using TVServer for good reception of DVB-T Installation, configuration support 0
    da3dsoul Does MP2 not have any active devs? General 8
    C Hauppauge HVR-1265 -- does it work with MP1? MediaPortal 1 Talk 1
    M [solved] WTV Files does not play on client, MPEG files works well General 1
    D Does Schedules Direct work with mp 1.24? General Support 3
    J [solved] Blu-ray disc playback does not work. Bugreports 15
    horned_reaper [solved] When playing music Fanart does not shuffle Fanart Handler 20
    bigboss97 Does anyone has a SoundGraph imon remote file for MP2 to share? General 0
    horned_reaper [solved] When playing music Fanart does not appear immediately after downloading Fanart Handler 272
    D [solved] EPG Buddy for MP2 - Does it work? General 5
    L [solved] Why does Mediaportal 2 need access to my webcam? General 2
    R Directx 9.0 June 2010 does not install on Windows 10 x64, ends up with weird failure / no debug file Installation, configuration support 0
    M What does MP homeserver detection need at the client end, and what does the server need to transmit? General 6
    R TV menu icon does not work to return from sub-menu item Submit: Bug Reports 4
    N [confirm] Calling RemoveScheduleForProgramAsync does not stop the recording if it is currently in progress MediaPortal 2 1
    drumrob Time does not fit in white space 1.22 Pre Release 6
    N [Finished] [MP2-806] Playing a recorded radio program does not show screen to allow skipping forward, etc MediaPortal 2 141
    Similar threads

























    Top Bottom