the second recording starts right away without waiting for the first to end. Like it has higher prio or something.Maybe it is suppose to do this who knows! BUT I see ALOT of trashed TS files.I can't open them in mediaportal or any other application. Only happened so far on the first recording not the second. Maybe the tvservice kills the recording to fast without ending the TS file properly. Also seen this in the log once but not all of the time.
2007-10-08 12:32:21 B Exception :Error: StatementErrorUnclassified
Gentle.Common.GentleException: select id_Schedule, idChannel, scheduleType, programName, startTime, endTime, maxAirings, priority, directory, quality, keepMethod, keepDate, preRecordInterval, postRecordInterval, canceled, recommendedCard from Schedule; ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - En befintlig anslutning tvingades att stänga av fjärrvärddatorn.)
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParserStateObject.WriteSni()
at System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode)
at System.Data.SqlClient.TdsParserStateObject.ExecuteFlush()
at System.Data.SqlClient.TdsParser.TdsExecuteSQLBatch(String text, Int32 timeout, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
--- End of inner exception stack trace ---
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)
at Gentle.Framework.PersistenceBroker.RetrieveList(Type type, Key key, IList result, IDbConnection conn, IDbTransaction tr)
at Gentle.Framework.Broker.RetrieveList(Type type)
at TvDatabase.Schedule.ListAll()
at TvService.Scheduler.DoSchedule()
But as it was before my fix and after it, the logic goes like this.
If we have 2 recordings (a and b) on diff. transponders avail. on only 1 device - then we have a dilemma.
When rec. b is starting and rec. A is still recording, then rec. A is stopped in a normal way (should not corrupt).
Rec. A might not be complete though. Since rec. B is favoured.
Another approach would to "pad" the start recording time for rec. B to the end time of rec. A
Atleast I dont think priorities are used here.
May I ask why u stress out "diff transponders"? What if they are on the same and both A and B are scrambled AND my CAM is set to ONE channel only? I just realized that I tried on 2 scrambled that are on the same transponder BUT the log says they are not.(see part of log below)
( I take it that the TSID:1110 IS the transponder. If not ignore this)
To bad u didn't know about the corrupt TS file. Really a problem.
2007-10-08 12:40:51 6 Scheduler : time to record TvDatabase.Channel 2007-10-08 12:40:51-2007-10-08 12:55:00 MacGyver
2007-10-08 12:40:51 6 Controller: find free card for channel Kanal 5
2007-10-08 12:40:51 6 Controller: got 1 tuning details for Kanal 5
2007-10-08 12:40:51 6 Controller: channel #1 DVBT:tv:Kanal 5 Ltd Kanal 5 Freq:633875 ONID:8945 TSID:1110 SID:1050 PMT:41A FTA:False LCN:10000 BandWidth:8
2007-10-08 12:40:51 6 Controller: card:1 typevbT is available priority:1 #users:0 same transponder:False
2007-10-08 12:40:51 6 Controller: found 1 available
2007-10-08 12:40:51 6 Scheduler : record on free card:1 priority:1
2007-10-08 12:40:51 6 Scheduler : record, first tune to channel
2007-10-08 12:40:51 5 card:Tune 1 to Kanal 5
2007-10-08 12:40:51 5 card:user:scheduler66:1:-1 tune DVBT:tv:Kanal 5 Ltd Kanal 5 Freq:633875 ONID:8945 TSID:1110 SID:1050 PMT:41A FTA:False LCN:10000 BandWidth:8
2007-10-08 12:40:51 5 dvbt: TuneVBT:tv:Kanal 5 Ltd Kanal 5 Freq:633875 ONID:8945 TSID:1110 SID:1050 PMT:41A FTA:False LCN:10000 BandWidth:8
-----------------------------------------
cut out log, not interesting
2007-10-08 12:49:05 B Scheduler : time to record TvDatabase.Channel 2007-10-08 12:49:05-2007-10-08 13:40:00 Våra bästa år
2007-10-08 12:49:05 B Controller: find free card for channel TV3
2007-10-08 12:49:05 B Controller: got 1 tuning details for TV3
2007-10-08 12:49:05 B Controller: channel #1 DVBT:tv:Viasat AB TV3 Freq:634000 ONID:8945 TSID:1110 SID:5340 PMT:14DC FTA:False LCN:10000 BandWidth:8
2007-10-08 12:49:05 B Controller: card:1 typevbT is tuned to different transponder
2007-10-08 12:49:05 B Controller: card:1 typevbT is available priority:-99 #users:1 same transponder:False
2007-10-08 12:49:05 B Controller: found 1 available
2007-10-08 12:49:05 B Scheduler : all cards busy, check if any card is already tuned to channel:TvDatabase.Channel
2007-10-08 12:49:05 B Scheduler : no card is tuned to the correct channel. record on card:1 priority:1
2007-10-08 12:49:05 B Scheduler : record, first tune to channel
2007-10-08 12:49:05 9 card:Tune 1 to TV3
2007-10-08 12:49:05 9 card:user:scheduler67:1:-1 tune DVBT:tv:Viasat AB TV3 Freq:634000 ONID:8945 TSID:1110 SID:5340 PMT:14DC FTA:False LCN:10000 BandWidth:8
2007-10-08 12:49:05 9 card: to different transponder
2007-10-08 12:49:05 9 stop subchannel:0 user:scheduler66
2007-10-08 12:49:05 9 user is scheduler :scheduler66
2007-10-08 12:49:05 9 removing schedule with id:66
2007-10-08 12:49:05 C recListtopRecordingSchedule66
2007-10-08 12:49:05 C Scheduler : stop record TvDatabase.Channel 2007-10-08 12:40:56-2007-10-08 12:55:00 MacGyver
2007-10-08 12:49:05 8 card: StopRecording 1
2007-10-08 12:49:05 8 card: StopRecording for card:1
2007-10-08 12:49:05 8 subch:0 StopRecord()
2007-10-08 12:49:05 8 card: remove user:scheduler66 sub:0
So in ur case, the corrupted TS recording occurs simply b/c u have two b2b recordings og the SAME transponder but both channels are encrypted, and your card has a CAM limit of 1 channel.
Is this observation correct ?
If yes, could u submit a simple and complete log of this.
Just use the SQL I provided in this thread to quickly add short schedules without having to open MP gui
The case of recording b2b channels on diff. transponders works for u I guess ? both as FTA and ENCRYPTED ?
I assume it's YES. b/c the limiting factor here is the transponder on not the CAM limit.
well, if the frequency IS the factor of the "same transponder" then they ARE on differernt transponder.
Freq:633875 and Freq:634000
I just thought the TSID:1110 was the factor.
Yes it has only happended when rec A and B when they are both scrambled and diff freq but same TSID. I will test more and then post logs.
http://en.kingofsat.net/sat-sirius3.php
Above wont help on dvb-t but I have my own list. BUT simple looking at the line
channel #1 DVBT:tv:Viasat AB TV3 Freq:634000 ONID:8945 TSID:1110 SID:5340 PMT:14DC FTA:False LCN:10000 BandWidth:8
Should give us all the info one needs.