MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » untested "work in progress" builds » svn-builds archive » untested MediaPortal and TV-Server 1.0 RC2 svn-builds


untested MediaPortal and TV-Server 1.0 RC2 svn-builds This forum contains untested builds of MediaPortal and TV-Server. You need MediaPortal 1.0 RC2 and / or TV-Server 1.0 RC2 installed to use them. Please use the Bugreport Forums for Bug-reporting!

Reply
 
Thread Tools Display Modes
Old 2008-08-10, 20:15   #21 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts


Default

Quote:
Originally Posted by maybeme View Post
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.
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
Old 2008-08-10, 20:26   #22 (permalink)
Portal Member
 
Join Date: Dec 2007
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post

Country:


Default

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
maybeme is offline   Reply With Quote
Old 2008-08-10, 20:43   #23 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts


Default

Something to test for:

replace the "taskkill..." line in restart.vbs with "shell.Run "tskill Mediaportal", 0, true"
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
Old 2008-08-10, 21:14   #24 (permalink)
Portal Tester
 
Gixxer's Avatar
 
Join Date: Aug 2007
Age: 24
Posts: 523
Thanks: 20
Thanked 6 Times in 6 Posts

Country:

My System

Default

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...

Quote:
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.ServerObjectTerm inatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Messaging.ServerContextTer minatorSink.SyncProcessMessage(IMessage reqMsg)
at System.Runtime.Remoting.Channels.CrossContextChann el.SyncProcessMessageCallback(Object[] args)
at System.Runtime.Remoting.Channels.ChannelServices.D ispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
at System.Runtime.Remoting.Channels.DispatchChannelSi nk.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.SoapServerFormatt erSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.BinaryServerForma tterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
at System.Runtime.Remoting.Channels.Tcp.TcpServerTran sportSink.ServiceRequest(Object state)
at System.Runtime.Remoting.Channels.SocketHandler.Pro cessRequestNow()
at System.Runtime.Remoting.Channels.RequestQueue.Proc essNextRequest(SocketHandler sh)
at System.Runtime.Remoting.Channels.SocketHandler.Beg inReadMessageCallback(IAsyncResult ar)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.Run(ExecutionCon text 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.Compl etionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(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?

Gixxer is offline   Reply With Quote
Old 2008-08-10, 21:38   #25 (permalink)
Portal Member
 
Join Date: May 2008
Location: Germany
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by chemelli View Post
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?

so far for your attention
ARE2 is offline   Reply With Quote
Old 2008-08-10, 21:44   #26 (permalink)
Portal Developer
 
Join Date: Jan 2005
Age: 30
Posts: 3,462
Thanks: 92
Thanked 115 Times in 93 Posts


Default

Quote:
Originally Posted by ARE2 View Post
Quote:
Originally Posted by chemelli View Post
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:

Quote:
replace the "taskkill..." line in restart.vbs with "shell.Run "tskill Mediaportal", 0, true"
__________________
http://day2.no-ip.org/

"Commy64 - The problem there is that Oprah was on. MP tried to save you by blanking the screen"
tourettes is offline   Reply With Quote
Old 2008-08-10, 22:38   #27 (permalink)
Portal Member
 
Join Date: May 2008
Location: Germany
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by tourettes View Post
Quote:
Originally Posted by ARE2 View Post
Quote:
Originally Posted by chemelli View Post
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:

Quote:
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.


a lot
ARE2 is offline   Reply With Quote
Old 2008-08-10, 23:28   #28 (permalink)
Portal User
 
Join Date: Jul 2008
Location: Oslo
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

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
stians is offline   Reply With Quote
Old 2008-08-11, 03:08   #29 (permalink)
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 433
Thanks: 7
Thanked 24 Times in 15 Posts

My System

Default

Quote:
Originally Posted by chemelli View Post
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
iosub is offline   Reply With Quote
Old 2008-08-11, 12:35   #30 (permalink)
Portal User
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

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
zdeny is offline   Reply With Quote
Reply

Bookmarks

Tags
0921h, revisionrar

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVEngine3 Snapshot: 09-09-2007 01-21h Revision 15812 MediaPortal-BOT untested 'Nightly Builds' of TV-Server 1 2007-09-09 01:21
TVEngine3 Snapshot: 09-08-2007 01-21h Revision 15792 MediaPortal-BOT untested 'Nightly Builds' of TV-Server 1 2007-09-08 01:21


All times are GMT +1. The time now is 13:28.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden