Custom Data Grabber including Sky UK Channel/EPG Grabber | Page 259

Discussion in 'General Development (no feature request here!)' started by DJBlu, May 19, 2011.

  1. chrissnow

    chrissnow Portal Pro

    Joined:
    January 21, 2011
    Messages:
    50
    Likes Received:
    3
    Occupation:
    Electronics Engineer
    Location:
    Nottingham
    Ratings:
    +3 / 0
    Home Country:
    United Kingdom United Kingdom
    Hi,



    I'm using the latest bits and have noticed that if you use the check on these days at x:xx it never updates, manual grab works fine.

    I've confirmed this on another setup and since the latest grabber it broke that too, will try the every x hours options instead.

    I also get a bit of break up immediatly after the grabber starts, nothing major but a bit annoying.
    Thanks
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Jay_UK
    • Team MediaPortal

    Jay_UK Test Group

    Joined:
    October 6, 2009
    Messages:
    1,781
    Likes Received:
    250
    Occupation:
    Enterprise Architect
    Location:
    Derby
    Ratings:
    +271 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hi there,

    I have the same issue, scheduled grabs don't work.

    I will dig out some logs and post later...

    J.
     
  4. onelegend
    • Premium Supporter

    onelegend MP Donator

    Joined:
    July 16, 2010
    Messages:
    351
    Likes Received:
    38
    Gender:
    Male
    Occupation:
    Web Developer
    Location:
    Bournemouth
    Ratings:
    +42 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Rewrite as didn't make sense :)

    Thought it was my setup as no one had posted theirs wasn't grabbing. I have clean installed (mepo 1.4), the latest grabbers auto grab doesn't appear to work - every 3 hours and at a specific time.

    I thought it was power sched not waking the system as it doesn't appear to turn on but I have tried setting it to grab at a set time and leaving the system

    Will reproduce and post logs as well if you need then djblu
     
    Last edited: November 29, 2013
  5. chrissnow

    chrissnow Portal Pro

    Joined:
    January 21, 2011
    Messages:
    50
    Likes Received:
    3
    Occupation:
    Electronics Engineer
    Location:
    Nottingham
    Ratings:
    +3 / 0
    Home Country:
    United Kingdom United Kingdom
    Mine stays awake 24\7 so its not sleep based. had hoped it was just the at x time that was broken.
    Will try and remember to scan manualy daily untill fixed. I also assumed it was just me so didnt bother reportign untill now!
     
  6. richardc1983

    richardc1983 Portal Pro

    Joined:
    October 10, 2012
    Messages:
    251
    Likes Received:
    18
    Gender:
    Male
    Location:
    Leeds
    Ratings:
    +25 / 3
    Home Country:
    United Kingdom United Kingdom
    Any update on my issue with regards the tuners not tuning in? We have tried it with the standard version of mp and no issues were found.
     
  7. onelegend
    • Premium Supporter

    onelegend MP Donator

    Joined:
    July 16, 2010
    Messages:
    351
    Likes Received:
    38
    Gender:
    Male
    Occupation:
    Web Developer
    Location:
    Bournemouth
    Ratings:
    +42 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    heres my debug logs djblu for the grabber not auto grabbing

    first was from sleep, note the system does not wake to do the grab
    second was from wake and setting it to grab whilst system is on

    powersched is waking to do recordings etc no problem, this build was working fine, its since updating the plugin
     
  8. Jay_UK
    • Team MediaPortal

    Jay_UK Test Group

    Joined:
    October 6, 2009
    Messages:
    1,781
    Likes Received:
    250
    Occupation:
    Enterprise Architect
    Location:
    Derby
    Ratings:
    +271 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hi there,

    The grabbing will not wake the system, DJBlu has already stated that.

    With mine, I reboot the system at alternative days at 2:55am (the system stays awake for 15 minutes or longer)

    I have the grab scheduled for 3:00am.

    If I recall, the logs show the system is fully up and running within two minutes or so, so is just twiddling its thumbs at 3am.

    J.
     
  9. richardc1983

    richardc1983 Portal Pro

    Joined:
    October 10, 2012
    Messages:
    251
    Likes Received:
    18
    Gender:
    Male
    Location:
    Leeds
    Ratings:
    +25 / 3
    Home Country:
    United Kingdom United Kingdom
    Any update at all please. Getting to end of my tether with this now and no one seems to have come back regarding this issue. Very bad tonight constant no signal and not recording. The tuners appear in red on the manual control. Restarting the tv service sometimes works but now getting tv service unable to start messages. Attached are latest logs. Please help.
     
  10. Jay_UK
    • Team MediaPortal

    Jay_UK Test Group

    Joined:
    October 6, 2009
    Messages:
    1,781
    Likes Received:
    250
    Occupation:
    Enterprise Architect
    Location:
    Derby
    Ratings:
    +271 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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.
     
  11. bob808
    • Premium Supporter

    bob808 MP Donator

    Joined:
    June 14, 2008
    Messages:
    295
    Likes Received:
    16
    Gender:
    Male
    Location:
    Hampshire
    Ratings:
    +17 / 0
    Home Country:
    United Kingdom United Kingdom
    Is anyone else getting this error where not all cards are picked up - it definitely worked with a previous version of the plugin
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!