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

smursfter

Portal Pro
August 16, 2009
69
2
Home Country
England England
Not sure about it working as I haven't got a freeview card in my machine as well but I wouldn't of thought it would break any other scanning.

But 1 thing to mention which you didn't do in your steps for setting up is that both setup tv-engine and setup mediaportal svns need to be installed on both machines ie clients and tv server.

What make of dvb-t do you have? have you tested it with 1.2 beta without the svn? What Operating System are you using?
Maybe with some more info some1 else could confirm it working or not.

Rich

Ok I installed the client svn onto the server and the only thing it did is install the client, which has no purpose on the server AFAIK.
Am I missing something?
 

psykix

MP Donator
  • Premium Supporter
  • July 10, 2009
    785
    46
    Wirral
    Home Country
    United Kingdom United Kingdom
    Hi DJBlu,

    Just tried to run another Channel Scan and the "Index was outside the bounds of the array" has started again. Have tried deleting the Database, using the plugin from the first post. It seems to start timeshifting on the EPG channel, and sometimes it will keep creating new channel instances on my DVB-S2 card until I stop TV Service. :confused:

    Edit: Tried reinstalling TV Server, no joy :(

    I was having some very very weird goings on with my setup.. The client in the other room would be on the same channel as the main server - however, whilst the client was working ok, the main server every now and then would "loop" the video (for want of a better word).

    I only realised this when I had Sky News on, and the time was 15 mins behind what it should have been. I thought it had been timeshifted, but it hadn't - pressing stop or changing channel didn't fix the issue. A restart of TV Service was the only thing that would sort it..

    Anyway, changes were made in 1.2.0 beta whereby the default for the TV cards when idle has been set to Pause. I have changed this to Stop, and so far I haven't seen the issue occur again - I wonder if your issue is related?

    If not, then sorry for the rambling!
     

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    Hi DJBlu,

    Just tried to run another Channel Scan and the "Index was outside the bounds of the array" has started again. Have tried deleting the Database, using the plugin from the first post. It seems to start timeshifting on the EPG channel, and sometimes it will keep creating new channel instances on my DVB-S2 card until I stop TV Service. :confused:

    Edit: Tried reinstalling TV Server, no joy :(

    I was having some very very weird goings on with my setup.. The client in the other room would be on the same channel as the main server - however, whilst the client was working ok, the main server every now and then would "loop" the video (for want of a better word).

    I only realised this when I had Sky News on, and the time was 15 mins behind what it should have been. I thought it had been timeshifted, but it hadn't - pressing stop or changing channel didn't fix the issue. A restart of TV Service was the only thing that would sort it..

    Anyway, changes were made in 1.2.0 beta whereby the default for the TV cards when idle has been set to Pause. I have changed this to Stop, and so far I haven't seen the issue occur again - I wonder if your issue is related?

    If not, then sorry for the rambling!

    Thanks for the reply, I've got all my cards set to STOP graph instead of pause, even tried DVB-S instead of generic. No joy.

    There is a weird error I noticed in the error.txt file but it's not in the file I uploaded, will attach when I get home.
     

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    OK so the error I'm currently seeing in the log is this when I try and Grab an EPG or channels with the plugin:

    Code:
    2011-05-31 21:34:37.653600 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:34:37.700400 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:38:07.348800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:38:07.395600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:38:44.492400 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:38:44.539200 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:42:16.826200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:42:16.873000 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:44:02.843800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:44:02.890600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:47:08.905000 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:47:08.951800 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:52:04.727800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:52:04.774600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1

    10.0.1.1 is my MS LOOPBACK network adapter that I use for my single seat TV service, there's no firewall on this adapter and TV service is working just fine, live TV and all. Any suggestions?
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    OK so the error I'm currently seeing in the log is this when I try and Grab an EPG or channels with the plugin:

    Code:
    2011-05-31 21:34:37.653600 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:34:37.700400 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:38:07.348800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:38:07.395600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:38:44.492400 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:38:44.539200 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:42:16.826200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:42:16.873000 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:44:02.843800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:44:02.890600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:47:08.905000 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:47:08.951800 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-05-31 21:52:04.727800 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-05-31 21:52:04.774600 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1

    10.0.1.1 is my MS LOOPBACK network adapter that I use for my single seat TV service, there's no firewall on this adapter and TV service is working just fine, live TV and all. Any suggestions?

    Try changing the 10.0.1.1 to the name of the PC instead.
     

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    Try changing the 10.0.1.1 to the name of the PC instead.

    Just had a go, no go I'm afraid.

    Code:
    2011-06-01 18:31:55.595200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:31:55.648200 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-06-01 18:34:25.402200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:34:25.451200 [scheduler thread(16)]: card: unable to connect to slave controller at:HTPC

    Going to have a last ditch attempt, nuke everything (mediaportal) and start again. :eek:

    Funny thing is it starts timeshifting when I hit grab, I can see it in the manual control section and even the file being created, slowly getting bigger. It's like it starts timeshifting then gives up. Weird. Logs from my last attempt attached.
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    Try changing the 10.0.1.1 to the name of the PC instead.

    Just had a go, no go I'm afraid.

    Code:
    2011-06-01 18:31:55.595200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:31:55.648200 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-06-01 18:34:25.402200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:34:25.451200 [scheduler thread(16)]: card: unable to connect to slave controller at:HTPC

    Going to have a last ditch attempt, nuke everything (mediaportal) and start again. :eek:

    Check the IP of the TV Server is 10.0.1.1

    Click TV Servers -> Right click and "Change Streaming Settings" Check it is 10.0.1.1
     

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    Try changing the 10.0.1.1 to the name of the PC instead.

    Just had a go, no go I'm afraid.

    Code:
    2011-06-01 18:31:55.595200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:31:55.648200 [scheduler thread(10)]: card: unable to connect to slave controller at:10.0.1.1
    2011-06-01 18:34:25.402200 [TVService(6)]: TvService OnStart failed : System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Thread.SleepInternal(Int32 millisecondsTimeout)
       at TvService.TvServiceThread.OnStart()
    2011-06-01 18:34:25.451200 [scheduler thread(16)]: card: unable to connect to slave controller at:HTPC

    Going to have a last ditch attempt, nuke everything (mediaportal) and start again. :eek:

    Check the IP of the TV Server is 10.0.1.1

    Click TV Servers -> Right click and "Change Streaming Settings" Check it is 10.0.1.1

    Yep, all present and correct. Both there and in the Streaming Server tab :confused:
     

    bob808

    MP Donator
  • Premium Supporter
  • June 14, 2008
    295
    32
    Hampshire
    Home Country
    United Kingdom United Kingdom
    I have a strange behaviour - I schedule recordings, or set series links and after a day or so they all vanish... I think that this is down to the way that channels are being scanned, and if the channel is removed or renamed the schedule is lost... eg Nick Jr (kids love peppa pig!) smetimes is called Nick Jr and sometimes Nick Jr. with the fullstop added.

    Also channels that dont broadcast all the time like Cbeebies loses its schedule.

    Any logs helpful for this DJBlu - or is this known and I have missed a trick somewhere?

    thanks

    bob
     

    wonkyd

    Retired Team Member
  • Premium Supporter
  • August 29, 2007
    792
    177
    Home Country
    United Kingdom United Kingdom
    I've just finished reinstalling, no joy I'm afraid. :(

    I did however spot this in the TSWriter logs, look at the last few lines...

    Code:
    01-06-2011 20:01:03.871 Recorder: TIMESHIFT Start 'F:\timeshift\live2-0.ts.tsbuffer'
    01-06-2011 20:01:03.949 Recorder: TIMESHIFT start of audio detected
    01-06-2011 20:01:03.980 Recorder: TIMESHIFT clear TS packet queue
    01-06-2011 20:01:03.980 CDiskRecorder::WriteToTimeshiftFile() - Reset write buffer throttle
    01-06-2011 20:01:03.980 CDiskRecorder::Flush() - Throttle to 376 bytes
    01-06-2011 20:01:03.980 Recorder: TIMESHIFT Info : Next broadcaster program clock reference rollover : 0 days 15:33:42 0
    01-06-2011 20:01:04.11 CDiskRecorder::Flush() - Throttle to 564 bytes
    01-06-2011 20:01:04.11 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 11 start: 12 BufferPos: 5 SectionLength: 2 - Discarding section and moving to next packet
    01-06-2011 20:01:04.42 CDiskRecorder::Flush() - Throttle to 940 bytes
    01-06-2011 20:01:04.120 CDiskRecorder::Flush() - Throttle to 940 bytes
    01-06-2011 20:01:04.152 CDiskRecorder::Flush() - Throttle to 940 bytes
    01-06-2011 20:01:04.214 CDiskRecorder::Flush() - Throttle to 940 bytes
    01-06-2011 20:01:04.245 CDiskRecorder::Flush() - Throttle to 940 bytes
    01-06-2011 20:01:04.386 CDiskRecorder::Flush() - Throttle to 1880 bytes (max)
    01-06-2011 20:01:04.386 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 11 start: 12 BufferPos: 5 SectionLength: 2 - Discarding section and moving to next packet
    01-06-2011 20:01:04.588 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 11 start: 12 BufferPos: 5 SectionLength: 2 - Discarding section and moving to next packet
    01-06-2011 20:01:04.885 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 11 start: 13 BufferPos: 6 SectionLength: 3 - Discarding section and moving to next packet
    01-06-2011 20:01:05.88 !!! CSectionDecoder::OnTsPacket Entered infinite loop. pid: 11 start: 13 BufferPos: 6 SectionLength: 3 - Discarding section and moving to next packet

    It continues doing that until I stop the service. I think the error before was a red herring, caused by when I force stop the TV Service. Any ideas?
     

    Users who are viewing this thread

    Top Bottom