Sometimes recording does not stop (1 Viewer)

koala84

Portal Member
December 7, 2008
25
0
Home Country
Austria Austria
TV-Server Version: 0.9.4.20955
MediaPortal Version: 1.0.0.0 RC4
MediaPortal Skin: blue2 wide
Windows Version: XP SP3
CPU Type: intel P4
HDD: 80gb
Memory: 512mb
Motherboard: Gigabyte
Video Card: nvidia geforce fx5200
Video Card Driver:
Sound Card:
Sound Card AC3:
Sound Card Driver:
1. TV Card: Compro T750
1. TV Card Type: Hybrid dvb-t/analog
1. TV Card Driver:
2. TV Card:
2. TV Card Type:
2. TV Card Driver:
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec: MPV Decoder
MPEG2 Audio Codec: MPA Decoder
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:



Hello All,

i using MP since a couple of months without any errors, but in the past days there was a problem with scheduled recordings. Tvserver starts recording as accepted, but sometimes it didn't finish. (I had to restart the pc manually) In tv.log:
"[11]: card: StopRecording 1
2010-07-29 02:09:15.515625 [Scheduler timer]: Scheduler: stop record did not succeed (trying again in 1 min.) ORF1 29.07.2010 00:20:18-29.07.2010 01:55:00 Manuell (ORF1)"

and in error.log there are a lot of lines:
"2010-07-29 02:07:50.765625 [11]: card: unable to connect to slave controller at:tu-wtoqhi1vpxqa"

I found an other thread about a same issue (https://forum.team-mediaportal.com/...erver-90/tv-server-wont-stop-recording-28238/ and https://forum.team-mediaportal.com/newcomers-forum-240/tv-recording-does-not-stop-progamm-end-69031/) but they are talking about tvserver-RC1.
I have RC4. I dont't use EPG, and if the record begins, the PC boots up, using RTC alarm clock (NO standby or hibernate). The recording was strated at 2010-07-29 00:20 to file E:\MediaPortal\TV\records\manual - ORF1 - 2010-07-29.ts . In error.log the errors appears at 2010-07-29 02:07 saying, that "Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte". Mysql server is running, and it should be ok! The recoridng is in ts, NOT in mpeg. I have no idea, how to reproduce this error.

What can be the problem?

Thanx a lot, Daniel
 

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
Are your seriously on this version:

TV-Server Version: 0.9.4.20955
MediaPortal Version: 1.0.0.0 RC4

If so, please upgrade to 1.1.0.

There is a chance somebody can give you some help, but since it is a quite old version the odds are gettings smaller by the day.
 

koala84

Portal Member
December 7, 2008
25
0
Home Country
Austria Austria
Thanx for your answer. I think, i have the cause of the problem. If there is a recording running, but the Mysql server crashes, then TVservice tries to reconnect to the Mysql, and doesn't finish the recording. But if Mysql becomes ok again, MP finishes it. And of course, if there are other recordings, they will be skipped! It seems the problem was NOT really with TVservice, but with Mysql.

Can you try something with MP 1.1.0? Schedule a record, and before it ends, stop Mysql (and take care Windows or something else doesn't restart it automatically). If the problem is still there, the recording will not finish.

Thanx again, Daniel
 

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
Thanx for your answer. I think, i have the cause of the problem. If there is a recording running, but the Mysql server crashes, then TVservice tries to reconnect to the Mysql, and doesn't finish the recording. But if Mysql becomes ok again, MP finishes it. And of course, if there are other recordings, they will be skipped! It seems the problem was NOT really with TVservice, but with Mysql.

Can you try something with MP 1.1.0? Schedule a record, and before it ends, stop Mysql (and take care Windows or something else doesn't restart it automatically). If the problem is still there, the recording will not finish.

Thanx again, Daniel

Here is what i did:
Open MP.
Schedule a recording.
Let it record for a while.
Kill MySQL process (service cannot be stopped, will also stop tvservice)
Let recording finish.
Output:

Code:
2010-08-01 10:51:21.273138 [scheduler thread(9)]: Scheduler: stop record NET 5 1-8-2010 10:50:02-1-8-2010 10:50:00 Tommy Teleshopping
2010-08-01 10:51:21.274139 [scheduler thread(9)]: card: StopRecording card=33, user=scheduler1294
2010-08-01 10:51:25.291368 [scheduler thread(9)]: Scheduler: stop record did not succeed (trying again in 1 min.) NET 5 1-8-2010 10:50:02-1-8-2010 10:50:00 Tommy Teleshopping
2010-08-01 10:51:25.293368 [TvClient-TvHome: HeartBeat transmitter thread(6)]: TCP connect took : 2
2010-08-01 10:51:25.294368 [TvClient-TvHome: HeartBeat transmitter thread(6)]: RemoteControl - Connected
2010-08-01 10:51:28.300540 [scheduler thread(9)]: scheduler: SchedulerWorker exception Error: DatabaseUnavailableUnclassified

Started mysql again after some time.
Output:

Code:
2010-08-01 10:53:15.054646 [scheduler thread(9)]: Scheduler: stop record NET 5 1-8-2010 10:50:02-1-8-2010 10:50:00 Tommy Teleshopping
2010-08-01 10:53:15.055646 [scheduler thread(9)]: card: StopRecording card=33, user=scheduler1294
2010-08-01 10:53:15.058647 [scheduler thread(9)]: card: StopRecording for card:33
2010-08-01 10:53:15.059647 [scheduler thread(9)]: tvdvbchannel.OnStopRecording subch=0, subch index=0
2010-08-01 10:53:15.060647 [scheduler thread(9)]: tvdvbchannel.OnStopRecording subch:0-0 tswriter StopRecording...
2010-08-01 10:53:15.062647 [scheduler thread(9)]: tvcard:FreeSubChannel: subchannels count 1 subch#0 keep graph=False
2010-08-01 10:53:15.062647 [scheduler thread(9)]: DVB subch:0 Decompose()
2010-08-01 10:53:15.066647 [scheduler thread(9)]: FreeSubChannel CA: freeing sub channel : 0
2010-08-01 10:53:15.067647 [scheduler thread(9)]: tvcard:FreeSubChannel : no subchannels present, stopping graph
2010-08-01 10:53:15.067647 [scheduler thread(9)]: dvb:StopGraph called
2010-08-01 10:53:15.068647 [scheduler thread(9)]: tvcard:FreeAllSubChannels
2010-08-01 10:53:15.069647 [scheduler thread(9)]: dvb:StopGraph
2010-08-01 10:53:15.076648 [scheduler thread(9)]: user:scheduler1294 remove
2010-08-01 10:53:15.077648 [scheduler thread(9)]: dvb:StopGraph called
2010-08-01 10:53:15.078648 [scheduler thread(9)]: tvcard:FreeAllSubChannels
2010-08-01 10:53:15.079648 [scheduler thread(9)]: dvb:StopGraph filterstate already stopped, returning.

It gives no indication it is still recording, so i assume it works.
 

koala84

Portal Member
December 7, 2008
25
0
Home Country
Austria Austria
ok, but did you stop both TVservice and Mysql? I meant, to stop only Mysql. (Yes if you go to contol center, you can't stop just only Mysql, because Tvservice depends on it, but if you open task manager, with ctrl+alt+del, or use pskill PsKill v1.12, you can kill the sql server, without stopping TVservice.) There is an interesting line in your log: stop record did not succeed (trying again in 1 min.). I have a lot of from this in my tv.log.
 

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
ok, but did you stop both TVservice and Mysql? I meant, to stop only Mysql. (Yes if you go to contol center, you can't stop just only Mysql, because Tvservice depends on it, but if you open task manager, with ctrl+alt+del, or use pskill PsKill v1.12, you can kill the sql server, without stopping TVservice.) There is an interesting line in your log: stop record did not succeed (trying again in 1 min.). I have a lot of from this in my tv.log.

I did exactly what i described, i only killed MySQL.
 

koala84

Portal Member
December 7, 2008
25
0
Home Country
Austria Austria
ok, but did you stop both TVservice and Mysql? I meant, to stop only Mysql. (Yes if you go to contol center, you can't stop just only Mysql, because Tvservice depends on it, but if you open task manager, with ctrl+alt+del, or use pskill PsKill v1.12, you can kill the sql server, without stopping TVservice.) There is an interesting line in your log: stop record did not succeed (trying again in 1 min.). I have a lot of from this in my tv.log.

I did exactly what i described, i only killed MySQL.


ok, thanx. I'll update soon...
 

riksmith

Portal Pro
April 18, 2009
1,856
322
Home Country
Netherlands Netherlands
ok, but did you stop both TVservice and Mysql? I meant, to stop only Mysql. (Yes if you go to contol center, you can't stop just only Mysql, because Tvservice depends on it, but if you open task manager, with ctrl+alt+del, or use pskill PsKill v1.12, you can kill the sql server, without stopping TVservice.) There is an interesting line in your log: stop record did not succeed (trying again in 1 min.). I have a lot of from this in my tv.log.

I did exactly what i described, i only killed MySQL.


ok, thanx. I'll update soon...

Keep in mind that update / upgrade is not possible. A full uninstall of your old software / database is required.
 

Users who are viewing this thread

Top Bottom