MediaPortal SVN-Snapshot:-08-09-2008 09-21h - Revision:19876.rar (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Both the Home and Professional version of Windows XP come with the tool Tskill . In addition, XP Professional has the more powerful tool Taskkill.
    Source: Managing Windows XP Programs from the Command Line: Taskkill and Tskill

    I think it's best to use PsKill, and distribute it along with MediaPortal
    PsKill v1.12
    It's a part of PsTools, which is a part of Windows Sysinternals, which is originally made by Mark Russinovich
    Uh, pressed accidently the "thanks" button... Most likely we cannot distribute that binary.
     

    maybeme

    Portal Member
    December 2, 2007
    45
    2
    Belgium Belgium
    You're right.

    License
    No part of PsTools may be redistributed in any way, or by any means, without the prior written permission of Sysinternals LLC. If you wish to redistribute

    PsTools, for example for use within an organization, please contact licensing@sysinternals.com.


    But you can ask? Or just use tskill if possible
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Something to test for:

    replace the "taskkill..." line in restart.vbs with "shell.Run "tskill Mediaportal", 0, true"
     

    Gixxer

    Retired Team Member
  • Premium Supporter
  • August 18, 2007
    1,383
    41
    36
    Spain
    Spain Spain
    as i stated before im having some issues with tvservice.

    when i boot the computer the service is started but i get a "no free card available" message.

    if i try to go to tvserver configuration i get a message saying to start tvservice, although its already running.

    if i kill it and run it again, sometimes it loads correctly, but normally i get this message...

    2008-08-10 17:16:49.328928 [13]: TVController:ValidateTvControllerParams - incorrect parameters used! cardId 1 _cards.ContainsKey(cardId) == False CardPresent False
    2008-08-10 17:16:49.348956 [13]: at TvService.TVController.ValidateTvControllerParams(Int32 cardId, Boolean checkCardPresent)
    at TvService.TVController.Enabled(Int32 cardId)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
    at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
    at System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
    at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
    at System.Runtime.Remoting.Channels.DispatchChannelSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.SoapServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
    at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
    at System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
    at System.Runtime.Remoting.Channels.RequestQueue.ProcessNextRequest(SocketHandler sh)
    at System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
    at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
    at System.Net.ContextAwareResult.CompleteCallback(Object state)
    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    at System.Net.ContextAwareResult.Complete(IntPtr userToken)
    at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
    at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
    at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
    only option is to reboot and repeat everything until it loads correctly doing the same exact thing.

    its running a T500 and ive tried setting the detect card from 0 seconds up to 240 seconds.

    any idea why i get this message that unables me to even get into tvserver configuration?

    :D
     

    ARE2

    Portal Pro
    May 9, 2008
    166
    16
    Germany
    Poland Poland
    Can you all with restart issue make this quick test please:

    - Start Mediaportal in window mode (Configuration->General->Untick start fullscreen)
    - Double click C:\Program files\Team MediaPortal\MediaPortal\restart.vbs

    is MP killed and restarted or not ?

    Simone

    Hi Chemelli,

    tried it now and the result was simple... Mediaportal started :) But how can I manage now that it does when it's coming from Hibernate? Sorry if that sounds strange but I'm not a developer, so sometimes I need a kickin to find out what a solution for a problem could be ;) If there is one for this behaviour I can do myself?

    :D so far for your attention
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Can you all with restart issue make this quick test please:

    - Start Mediaportal in window mode (Configuration->General->Untick start fullscreen)
    - Double click C:\Program files\Team MediaPortal\MediaPortal\restart.vbs

    is MP killed and restarted or not ?

    Simone

    Hi Chemelli,

    tried it now and the result was simple... Mediaportal started :) But how can I manage now that it does when it's coming from Hibernate? Sorry if that sounds strange but I'm not a developer, so sometimes I need a kickin to find out what a solution for a problem could be ;) If there is one for this behaviour I can do myself?
    Somehow the script seems to behave differently when PC wakes up from S3. I was able to reproduce the bug on my HTPC also. Could you test following, seems to work on my HTPC:

    replace the "taskkill..." line in restart.vbs with "shell.Run "tskill Mediaportal", 0, true"
     

    ARE2

    Portal Pro
    May 9, 2008
    166
    16
    Germany
    Poland Poland
    Can you all with restart issue make this quick test please:

    - Start Mediaportal in window mode (Configuration->General->Untick start fullscreen)
    - Double click C:\Program files\Team MediaPortal\MediaPortal\restart.vbs

    is MP killed and restarted or not ?

    Simone

    Hi Chemelli,

    tried it now and the result was simple... Mediaportal started :) But how can I manage now that it does when it's coming from Hibernate? Sorry if that sounds strange but I'm not a developer, so sometimes I need a kickin to find out what a solution for a problem could be ;) If there is one for this behaviour I can do myself?
    Somehow the script seems to behave differently when PC wakes up from S3. I was able to reproduce the bug on my HTPC also. Could you test following, seems to work on my HTPC:

    replace the "taskkill..." line in restart.vbs with "shell.Run "tskill Mediaportal", 0, true"

    Hi tourettes,

    tried and... wow :) It works! Mediaportal is starting up again after Hibernation.


    :D a lot :D
     

    stians

    New Member
    July 3, 2008
    2
    0
    Oslo
    Norway Norway
    If I recall correctly Sysinternals was bought by Microsoft a few years ago, so I doubt you'd have a lot of hope getting redistribution rights :(
     

    iosub

    Portal Pro
    April 26, 2006
    573
    30
    San Sebastian
    Can you all with restart issue make this quick test please:

    - Start Mediaportal in window mode (Configuration->General->Untick start fullscreen)
    - Double click C:\Program files\Team MediaPortal\MediaPortal\restart.vbs

    is MP killed and restarted or not ?

    Simone

    Here Vista Sp1, the "C:\Program files\Team MediaPortal\MediaPortal\restart.vbs works, but if I set on general option to restar on resume does not

    iosu
     

    zdeny

    Portal Member
    May 29, 2008
    5
    6
    Country flag
    Please, can somebody confirm to have this problem also ?

    Watching a channel in client - in MyTV; click on "Record Now"; after a while, stop recording by click on "Stop Record".
    After this, channel change no more possible; the "Unable to start timeshifting, No free card available" message showed.

    In TvServer Config / Manual Control I can see that two TimeShifts of this channel are in progress - one for watching (user: pcname - ok) and other for recording (user: schedulerXX - this should be stopped - but it isn't)... After stopping these by clicks on "Stop TimeShift", MyTV in client is working normally again - as before the manual recording...

    Thx
     

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

    OP Similar threads Forum Replies Date
    A MediaPortal crash (and restart) on LiveTV after Windows Update (Sep 2020) driver update for Intel HD Graphics 4600 General Support 0
    A VideoDatabaseV5.db3 lock not released on shutting down PC from MediaPortal Installation, configuration support 0
    ajs [News] MediaPortal 1.26 Pre-Release ready for testing! News and Announcements 0
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    M Add Radio channels and EPG to Mediaportal xmlTV 2
    Symphy Version 0.2.9.0 for MediaPortal 1.25 ASIO music player 0
    doskabouter Installing mediaportal MediaPortal 1 3
    A Mediaportal Allgemeines Support- und Diskussionsforum 0
    G Update von MediaPortal Installationsprobleme? 0
    ajs [News] MediaPortal 1 - 1.25 Released! News and Announcements 1
    horned_reaper Standby is prevented by MediaPortal client General Support 0
    U [solved] MediaPortal crashing on startup General Support 10
    g0rsq Info box randomly popping up when watching TV or other video MediaPortal 2 Newcomers Forum 1
    high [unanswered] Hallo möchte gerne Mediaportal. nutzen kann mich jemand anrufen? contactform feedback and requests 2
    ajs [News] MediaPortal 1.25 Pre-Release ready for testing! News and Announcements 0
    ajs [Rejected] Mediaportal Codename MediaPortal 1 48
    M 2nd (Touch-)Display Support on MediaPortal 2 such MPDisplay++? General 2
    N Steam release of MediaPortal MediaPortal 1 Talk 0
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    M Fehlerhafter Link auf der aktuellen MediaPortal Seite Page- und Forumsfeedback 0
    H 1.24.0 MP 1.24 high CPU utilization when 'Keep MediaPortal always on top' option enabled Bugreports 4
    mickb [solved] Mediaportal Stops working General Support 5
    J [solved] Newbie to MediaPortal 2 - Cannot open/run TV programs Newcomers Forum 4
    atlantic How to use Spotify inside Mediaportal? Listen Music 18
    horned_reaper MediaPortal configuration error log message General Support 1
    Similar threads

























    Top Bottom