home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
help on debugging. 20 sec to start,stop,channel change
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="lar282" data-source="post: 334117" data-attributes="member: 10326"><p>Hi</p><p>I really need help tracking down a problem. Do not really think its mp or tvservers fault but still I need help.</p><p>Problem is that everything takes 20 sec in tv module. Stop tv =20 Sec. start tv=20 sec. channel change=20 sec. First I thought it was my disc that started to act funny and after I did a scandisc /f /r it actually worked once. Then it came back. I replaced the disk but still have the issue now. Didn’t care much before since I rarely used mp client on the server and it works flawless from a different computer! Now I bought a new projector and starting to use mp on the machine where the tvserver is and 20 sec is a long time….</p><p></p><p>Setup:</p><p>Computer A: Tv server and mediaportal - This is where I have trouble. It’s a xp mce 2005 fully patched with two dvb-T cards</p><p>Computer B: Mediaportal connected to Computer A’s TvServer Works perfect</p><p></p><p></p><p>Code in TvHome.cs. Added some debug to see where it stops:</p><p> //tv off</p><p> Log.Debug("Before saving settings");</p><p> Log.Info("TVHome:turn tv off");</p><p> SaveSettings();</p><p> Log.Debug("After saving settings");</p><p> TVHome.Card.User.Name = new User().Name;</p><p> Log.Debug("After new user");</p><p> TVHome.Card.StopTimeShifting();</p><p> Log.Debug("After stop time shifting");</p><p></p><p></p><p>The log shows this from MP:</p><p>2008-11-25 13:19:03.265625 [Info.][MPMain]: TVHome:turn tv off</p><p>2008-11-25 13:19:03.265625 [Info.][MPMain]: Going to save settings</p><p>2008-11-25 13:19:03.265625 [Info.][MPMain]: Done saving settings</p><p>2008-11-25 13:19:03.265625 [Debug][MPMain]: After saving settings</p><p>2008-11-25 13:19:03.312500 [Debug][MPMain]: After new user</p><p>2008-11-25 13:19:24.500000 [Debug][MPMain]: After stop time shifting</p><p>2008-11-25 13:19:24.500000 [Debug][MPMain]: g_Player.doStop() - stop</p><p>2008-11-25 13:19:24.500000 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False</p><p>2008-11-25 13:19:24.500000 [Info.][MPMain]: TSReaderPlayer: vmr9 disable</p><p>2008-11-25 13:19:25.078125 [Info.][MPMain]: state<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" />topped 0</p><p></p><p>So one can see that mp stalls on TVHome.Card.StopTimeShifting();</p><p>Why? I have no clue, but is sits there for 20 sec and then goes on.</p><p></p><p>Same log from tvserver shows that the server doesn’t get the call to stop tv until 20 sec later!</p><p>So, I need some help figuring out where the prob is. I shut down firewalls and antivirus but still same issue. No apperant entries in app log or system log. I think it’s a tcp connection timeout but have no clue how to verify. I do not want to install Visual studio on that machine since it’s a “production” htpc! And I can’t figure out how to attach to the tvservice.exe process and debug. Any here can help with that? I got so far that I started remote deb tool on that machine and I can attach to the process from my dev machine but then what? How can I insert breaks and step through code? Yes I built a debug verion and replced all files, but how and what then?</p><p></p><p></p><p>Please help me out because I am stuck</p><p></p><p>//Lasse</p></blockquote><p></p>
[QUOTE="lar282, post: 334117, member: 10326"] Hi I really need help tracking down a problem. Do not really think its mp or tvservers fault but still I need help. Problem is that everything takes 20 sec in tv module. Stop tv =20 Sec. start tv=20 sec. channel change=20 sec. First I thought it was my disc that started to act funny and after I did a scandisc /f /r it actually worked once. Then it came back. I replaced the disk but still have the issue now. Didn’t care much before since I rarely used mp client on the server and it works flawless from a different computer! Now I bought a new projector and starting to use mp on the machine where the tvserver is and 20 sec is a long time…. Setup: Computer A: Tv server and mediaportal - This is where I have trouble. It’s a xp mce 2005 fully patched with two dvb-T cards Computer B: Mediaportal connected to Computer A’s TvServer Works perfect Code in TvHome.cs. Added some debug to see where it stops: //tv off Log.Debug("Before saving settings"); Log.Info("TVHome:turn tv off"); SaveSettings(); Log.Debug("After saving settings"); TVHome.Card.User.Name = new User().Name; Log.Debug("After new user"); TVHome.Card.StopTimeShifting(); Log.Debug("After stop time shifting"); The log shows this from MP: 2008-11-25 13:19:03.265625 [Info.][MPMain]: TVHome:turn tv off 2008-11-25 13:19:03.265625 [Info.][MPMain]: Going to save settings 2008-11-25 13:19:03.265625 [Info.][MPMain]: Done saving settings 2008-11-25 13:19:03.265625 [Debug][MPMain]: After saving settings 2008-11-25 13:19:03.312500 [Debug][MPMain]: After new user 2008-11-25 13:19:24.500000 [Debug][MPMain]: After stop time shifting 2008-11-25 13:19:24.500000 [Debug][MPMain]: g_Player.doStop() - stop 2008-11-25 13:19:24.500000 [Info.][MPMain]: TSReaderPlayer:cleanup DShow graph False 2008-11-25 13:19:24.500000 [Info.][MPMain]: TSReaderPlayer: vmr9 disable 2008-11-25 13:19:25.078125 [Info.][MPMain]: state:Stopped 0 So one can see that mp stalls on TVHome.Card.StopTimeShifting(); Why? I have no clue, but is sits there for 20 sec and then goes on. Same log from tvserver shows that the server doesn’t get the call to stop tv until 20 sec later! So, I need some help figuring out where the prob is. I shut down firewalls and antivirus but still same issue. No apperant entries in app log or system log. I think it’s a tcp connection timeout but have no clue how to verify. I do not want to install Visual studio on that machine since it’s a “production” htpc! And I can’t figure out how to attach to the tvservice.exe process and debug. Any here can help with that? I got so far that I started remote deb tool on that machine and I can attach to the process from my dev machine but then what? How can I insert breaks and step through code? Yes I built a debug verion and replced all files, but how and what then? Please help me out because I am stuck //Lasse [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
help on debugging. 20 sec to start,stop,channel change
Contact us
RSS
Top
Bottom