Custom Data Grabber including Sky UK Channel/EPG Grabber (6 Viewers)

richardc1983

Portal Pro
October 10, 2012
251
24
Leeds
Home Country
United Kingdom United Kingdom
2 of the cards do not have CAM assigned. That's how it's setup.


They are not nova s cards. They are dvbsky s952.


As for network problems the logs were gathered on the main server pc so the database its complaining about lack of connectivity is running on localhost

Hi there,

DJBlu is the best/only person who can really help.

Are you running Nova S2 cards?

From looking at your previous logs I can see a few things:

An error is thrown:

[2013-11-18 19:28:11,005] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: BDA MPEG2 Transport Information Filter
[2013-11-18 19:28:11,006] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: MediaPortal Ts Analyzer
[2013-11-18 19:28:11,006] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: MPEG2-Demultiplexer
[2013-11-18 19:28:11,007] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: Inf Tee
[2013-11-18 19:28:11,008] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: mdapifilter0
[2013-11-18 19:28:11,009] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: Inf Tee Second
[2013-11-18 19:28:11,011] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: AVStream TS Capture
[2013-11-18 19:28:11,012] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: Professional DVB Digital TV DVBS2
[2013-11-18 19:28:11,013] [Log ] [scheduler thread] [INFO ] - Remove filter from graph: Generic Network Provider
[2013-11-18 19:28:11,014] [Log ] [scheduler thread] [INFO ] - free devices...
[2013-11-18 19:28:11,014] [Log ] [scheduler thread] [INFO ] - decompose done...
[2013-11-18 19:28:11,015] [Log ] [scheduler thread] [DEBUG] - CardReservation.RemoveTuneTicket: removed reservation with id=329, tuningdetails=DVBS:tv:BSkyB ITV HD Freq:10993750 ONID:2 TSID:2036 SID:12130 PMT:0x100 FTA:True LCN:178 SymbolRate:22000 Modulation:ModQpsk Polarisation:LinearH InnerFecRate:Rate5_6 DisEqc:None band:Universal Pilot:NotSet RollOff:NotSet
[2013-11-18 19:28:11,015] [Log ] [scheduler thread] [INFO ] - card: SignalTuneEvent card: 4 / subch: 0
[2013-11-18 19:28:11,016] [Log ] [scheduler thread] [INFO ] - scheduler: recording failed, lets try next available card.
[2013-11-18 19:28:11,017] [Log ] [scheduler thread] [INFO ] - Scheduler: stop failed record ITV HD 01/01/0001 00:00:00-18/11/2013 20:00:00 Coronation Street
[2013-11-18 19:28:11,018] [Log ] [scheduler thread] [ERROR] - System.NullReferenceException: Object reference not set to an instance of an object.
at TvService.Scheduler.FindFreeCardAndStartRecord(RecordingDetail recDetail, IUser user, ICollection`1 cards, Int32 maxCards, IDictionary`2 tickets, CardReservationRec cardResImpl)

[2013-11-18 19:28:11,020] [Log ] [scheduler thread] [INFO ] - scheduler: recording failed, lets try next available card.
[2013-11-18 19:28:11,021] [Log ] [scheduler thread] [INFO ] - Scheduler: stop failed record ITV HD 01/01/0001 00:00:00-18/11/2013 20:00:00 Coronation Street
[2013-11-18 19:28:11,021] [Log ] [scheduler thread] [INFO ] - scheduler: no free cards found for recording.

Also, it is reporting Card 5 and 6 do not have CAMs assigned?

You also seem to have a network/connectivity issue at times:

[2013-11-18 01:50:20,336] [Log ] [11 ] [INFO ] - Controller:Timeshifting stopped on card:5
[2013-11-18 01:50:20,337] [Log ] [TS_File_Cleanup] [INFO ] - card: delete timeshift files C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live5-0.ts
[2013-11-18 01:50:20,337] [Log ] [11 ] [INFO ] - RTSP: remove stream stream5.0
[2013-11-18 01:50:20,338] [Log ] [TS_File_Cleanup] [INFO ] - card: trying to delete C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live5-0.ts.tsbuffer
[2013-11-18 01:50:20,339] [Log ] [Channel state thread] [DEBUG] - Controller: DoSetChannelStates for 506 channels
[2013-11-18 01:50:20,349] [Log ] [Channel state thread] [ERROR] - ChannelState.DoSetChannelStates: An unknown error occured while setting channel states - select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel;
Error: StatementErrorUnclassified
Gentle.Common.GentleException: select idTuning, idChannel, name, provider, channelType, channelNumber, frequency, countryId, isRadio, isTv, networkId, transportId, serviceId, pmtPid, freeToAir, modulation, polarisation, symbolrate, diseqc, switchingFrequency, bandwidth, majorChannel, minorChannel, videoSource, audioSource, isVCRSignal, tuningSource, band, satIndex, innerFecRate, pilot, rollOff, url, bitrate from TuningDetail where idChannel = ?idChannel; ---> System.Threading.ThreadAbortException: Thread was being aborted.
at System.Net.UnsafeNclNativeMethods.OSSOCK.send(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BufferedStream.FlushWrite()
at System.IO.BufferedStream.Flush()
at MySql.Data.MySqlClient.MySqlStream.Flush()
at MySql.Data.MySqlClient.NativeDriver.ExecuteCommand(DBCmd cmd, Byte[] bytes, Int32 length)
at MySql.Data.MySqlClient.NativeDriver.Query(Byte[] bytes, Int32 length)
at MySql.Data.MySqlClient.Statement.ExecuteNext()
at MySql.Data.MySqlClient.PreparableStatement.ExecuteNext()
at MySql.Data.MySqlClient.PreparableStatement.Execute()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.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.Execute(SqlStatement stmt, IDbConnection dbConnection, IDbTransaction dbTransaction)
at Gentle.Framework.SqlStatement.Execute()
at TvDatabase.Channel.ReferringTuningDetail()
at TvDatabase.TvBusinessLayer.GetTuningChannelsByDbChannel(Channel channel)
at TvService.ChannelStates.DoSetChannelStates(IDictionary`2 cards, ICollection`1 channels, ICollection`1 allUsers, IController tvController)System.Threading.ThreadAbortException: Thread was being aborted.
at System.Net.UnsafeNclNativeMethods.OSSOCK.send(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.BufferedStream.FlushWrite()
at System.IO.BufferedStream.Flush()
at MySql.Data.MySqlClient.MySqlStream.Flush()
at MySql.Data.MySqlClient.NativeDriver.ExecuteCommand(DBCmd cmd, Byte[] bytes, Int32 length)
at MySql.Data.MySqlClient.NativeDriver.Query(Byte[] bytes, Int32 length)
at MySql.Data.MySqlClient.Statement.ExecuteNext()
at MySql.Data.MySqlClient.PreparableStatement.ExecuteNext()
at MySql.Data.MySqlClient.PreparableStatement.Execute()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader()
at Gentle.Framework.SqlStatement.Execute(IDbConnection conn, IDbTransaction tr)

[2013-11-18 01:50:20,352] [Log ] [11 ] [DEBUG] - CiMenuSupported called cardid 3
[2013-11-18 01:50:20,353] [Log ] [Channel state thread] [INFO ] - ChannelStates.DoSetChannelStates took 13 msec

I'm tired, so I could be talking rubbish! LOL

J.
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I think part of the problem with the "no signal" stuff is that you're using satellite dish motor(s). I suspect DJBlu may have removed some critical handling for your particular tuners.
    In relation to the networking issues: I don't think they're as critical, but I do recommend you configure your PC with a static IP address. It helps with stability.
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    I think part of the problem with the "no signal" stuff is that you're using satellite dish motor(s). I suspect DJBlu may have removed some critical handling for your particular tuners.
    In relation to the networking issues: I don't think they're as critical, but I do recommend you configure your PC with a static IP address. It helps with stability.

    I am not using motors, its just a standard satellite dish with freesat channels nothing else. Yes the card has options to control a motor but I dont need this and neither is there physically a motor on the dish.

    Regarding the static ip, there is now a static ip for the main server but the clients do not have static ip's do you suggest they have them set up?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I am not using motors, its just a standard satellite dish with freesat channels nothing else. Yes the card has options to control a motor but I dont need this and neither is there physically a motor on the dish.
    So no switches, motors etc. etc. etc.?
    If so, I recommend you disable motor control as having it enabled can unnecessarily slow down tuning (and confuses people like me ;) ).

    How are you feeding the 4 tuners?
    Does your LNB have 4 independent feeds, or do you have a splitter or multiswitch of some kind?
    Is it possible that the cause of the problem is that you're not providing power to the LNB in all situations?
    Have you connected the power connector on both cards?

    Regarding the static ip, there is now a static ip for the main server but the clients do not have static ip's do you suggest they have them set up?
    You can do static IPs for the clients if you want, but not necessary in my opinion.
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    No motors, or switches etc etc, just the computer, cards, the 4 feeds from the quad LNB which has 4 independent feeds. Just double checked and the motor is definitely unticked on each tuner. Unless there is a different method to fully disable?

    The power connectors are connected on both cards also, initially when I first set it all up forgot to connect the power and it wouldnt do anything.

    I am sure there is enough power, like I say its intermittent and sometimes no issues even if all 4 tuners are recording etc. It resolves after restarting tv service but could then work ok for a few hours or days or a few minutes before going funny again.

    Would be good if DJBlu could respond, I have had these issues for a while now and submitted the required logs etc and the guys on the main forum say they cannot support it as it is not their own build and refer me to here.

    Regards
    Richard.

    I am not using motors, its just a standard satellite dish with freesat channels nothing else. Yes the card has options to control a motor but I dont need this and neither is there physically a motor on the dish.
    So no switches, motors etc. etc. etc.?
    If so, I recommend you disable motor control as having it enabled can unnecessarily slow down tuning (and confuses people like me ;) ).

    How are you feeding the 4 tuners?
    Does your LNB have 4 independent feeds, or do you have a splitter or multiswitch of some kind?
    Is it possible that the cause of the problem is that you're not providing power to the LNB in all situations?
    Have you connected the power connector on both cards?

    Regarding the static ip, there is now a static ip for the main server but the clients do not have static ip's do you suggest they have them set up?
    You can do static IPs for the clients if you want, but not necessary in my opinion.
     
    Last edited:

    onelegend

    MP Donator
  • Premium Supporter
  • July 16, 2010
    351
    42
    39
    Bournemouth
    Home Country
    United Kingdom United Kingdom
    Has it only started occurring after an upgrade/particular version?

    If so is downgrading an option?
    until Djblu can take a look, he is obviously busy at the moment, seems to be a number of issues with the newer plugin versions
     

    onelegend

    MP Donator
  • Premium Supporter
  • July 16, 2010
    351
    42
    39
    Bournemouth
    Home Country
    United Kingdom United Kingdom
    Mm1352000, would it be worth while Richard dropping down to a single tuner card?

    No one else seems to be reporting tuner lock issues and most run single cards I believe (correct me if wrong :) ).

    Just trying to think of ways to get the stability up for time being
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Mm1352000, would it be worth while Richard dropping down to a single tuner card?
    I'm sorry, I really don't know. If Richard is certain his signal quality is fine then I don't know what more I could suggest. I've never looked at DJBlu's code so I don't know what may or may not help.
     

    richardc1983

    Portal Pro
    October 10, 2012
    251
    24
    Leeds
    Home Country
    United Kingdom United Kingdom
    Mm1352000, would it be worth while Richard dropping down to a single tuner card?

    No one else seems to be reporting tuner lock issues and most run single cards I believe (correct me if wrong :) ).

    Just trying to think of ways to get the stability up for time being

    My brother runs the same setup and cards but only a single card whereas I have two. He has no issues with his setup. We even have the same pc's.

    The signal quality is fine and has been checked. Like I say when the tv service is restarted it's fine for a bit.
     

    onelegend

    MP Donator
  • Premium Supporter
  • July 16, 2010
    351
    42
    39
    Bournemouth
    Home Country
    United Kingdom United Kingdom
    Worth trying to duplicate his setup for now?
    That's what I would personally do, you lose tuners but less tuners in return for stability is far more important imo, once it's stable then work on trying to get the other tuners working when Djblu is back being active.
     

    Users who are viewing this thread

    Top Bottom