Sky UK/IT/AUS enhancements (1 Viewer)

Status
Not open for further replies.

clive1512

New Member
May 8, 2012
4
0
67
Home Country
United Kingdom United Kingdom
Thanks for your reply.
I'm not sure which logs & where to find them

The channels are still watchable
The channels epg were fine until yesterday
 

clive1512

New Member
May 8, 2012
4
0
67
Home Country
United Kingdom United Kingdom
O.K. Look and ye shall see :)
My epg log is:

2012-05-20 22:24:28.921875 [(14)]: EpgCard: allow grabbing for 29.96875 seconds on card 3
2012-05-20 22:24:58.937500 [(14)]: EpgCard: allow grabbing for 59.984375 seconds on card 3
2012-05-20 22:25:00.031250 [(3)]: dvb:mhw ready MHW 0 titles found
2012-05-20 22:25:00.031250 [(3)]: dvb:dvb ready.EPG 10 channels
2012-05-20 22:25:00.046875 [(3)]: Epg: card:3 received epg for 9 channels
2012-05-20 22:25:00.062500 [EPG Update thread(23)]: Epg: card:3 Updating database with new programs
2012-05-20 22:25:00.062500 [EPG Update thread(23)]: IdleEpgGrabber: Channel 4 lastUpdate:20/05/2012 22:13:26
2012-05-20 22:25:00.093750 [EPG Update thread(23)]: - Inserted 2 epg entries for channel Channel 4
2012-05-20 22:25:00.093750 [EPG Update thread(23)]: IdleEpgGrabber: no channel found for networkid:0x2 transportid:0x7F9 serviceid:0x23FC
2012-05-20 22:25:00.109375 [EPG Update thread(23)]: IdleEpgGrabber: no channel found for networkid:0x2 transportid:0x7F9 serviceid:0x23FD
2012-05-20 22:25:00.109375 [EPG Update thread(23)]: IdleEpgGrabber: no channel found for networkid:0x2 transportid:0x7F9 serviceid:0x23FE
2012-05-20 22:25:00.125000 [EPG Update thread(23)]: IdleEpgGrabber: no channel found for networkid:0x2 transportid:0x7F9 serviceid:0x23FF
2012-05-20 22:25:00.140625 [EPG Update thread(23)]: IdleEpgGrabber: no channel found for networkid:0x2 transportid:0x7F9 serviceid:0x2400
2012-05-20 22:25:00.140625 [EPG Update thread(23)]: IdleEpgGrabber: Film4 lastUpdate:20/05/2012 22:13:26
2012-05-20 22:25:00.156250 [EPG Update thread(23)]: - Inserted 2 epg entries for channel Film4
2012-05-20 22:25:00.171875 [EPG Update thread(23)]: IdleEpgGrabber: Film4 +1 lastUpdate:20/05/2012 22:13:27
2012-05-20 22:25:00.171875 [EPG Update thread(23)]: - Inserted 2 epg entries for channel Film4 +1
2012-05-20 22:25:00.187500 [EPG Update thread(23)]: IdleEpgGrabber: More4 +1 lastUpdate:20/05/2012 22:13:27
2012-05-20 22:25:00.203125 [EPG Update thread(23)]: - Inserted 2 epg entries for channel More4 +1
2012-05-20 22:25:00.218750 [EPG Update thread(23)]: Epg: card:3 Finished updating the database.
2012-05-20 22:25:00.218750 [EPG Update thread(23)]: EpgGrabbing: Stop - user epg
2012-05-20 22:25:22.984375 [DVB EPG timer(4)]: Grab for card:#3 transponder #11/23 channel: BBC 1 London
2012-05-20 22:25:22.984375 [DVB EPG timer(4)]: EpgCard: grab epg on card: #3 transponder: #10 ch:BBC 1 London
2012-05-20 22:25:28.968750 [DVB EPG timer(4)]: EpgGrabbing: Start
2012-05-20 22:25:28.984375 [DVB EPG timer(4)]: EpgCard: card: 3 starting to grab DVBS:tv:BSkyB BBC 1 London Freq:10773000 ONID:2 TSID:2045 SID:6301 PMT:0x100 FTA:True LCN:454 SymbolRate:22000 Modulation:ModNotSet Polarisation:LinearH InnerFecRate:Rate5_6 DisEqc:None band:Universal Pilot:NotSet RollOff:NotSet
2012-05-20 22:25:40.515625 [(10)]: EPG: grabber stopped..
2012-05-20 22:25:40.515625 [(10)]: EpgCard: card: 3 stop grabbing
2012-05-20 22:25:40.515625 [(10)]: EpgGrabbing: Stop - user epg
 

DJBlu

Portal Pro
August 14, 2007
1,670
813
Llanelli
Home Country
United Kingdom United Kingdom
miroslav

Jon,

Found an issue with the TV server not waking for series link info. Here is the fix.


Add the following to BusinessLayer.cs

Code:
if (rec.ScheduleType == (int)ScheduleRecordingType.SeriesLink)
      {
              Channel scheduleChannel = rec.ReferencedChannel();
              if (scheduleChannel == null)
                  return recordings;
              if (rec.SeriesId == "0")
                  return recordings;
 
              TvDatabase.Program currentProgram = scheduleChannel.GetNextProgram(dtDay, 0, rec.SeriesId);
     
              if (currentProgram == null)
                return recordings;
              Schedule recNew = rec.Clone();
              recNew.ScheduleType = (int)ScheduleRecordingType.Once;
              recNew.StartTime = new DateTime(currentProgram.StartTime.Year, currentProgram.StartTime.Month, currentProgram.StartTime.Day, currentProgram.StartTime.Hour, currentProgram.StartTime.Minute,
                                              0);
              recNew.EndTime = new DateTime(currentProgram.EndTime.Year, currentProgram.EndTime.Month, currentProgram.EndTime.Day, currentProgram.EndTime.Hour, currentProgram.EndTime.Minute, 0);
              recNew.Series = true;
              if (recNew.StartTime >= DateTime.Now)
              {
                  if (rec.IsSerieIsCanceled(recNew.StartTime))
                  {
                      recNew.Canceled = recNew.StartTime;
                  }
                  recordings.Add(recNew);
              }
              return recordings;
      }

Add the following to Channel.cs

Code:
public Program GetNextProgram(DateTime date, int tt, string seriesId)
    {
        SqlBuilder sb = new SqlBuilder(StatementType.Select, typeof(Program));
        sb.AddConstraint(Operator.Equals, "idChannel", IdChannel);
        sb.AddConstraint(Operator.Equals, "seriesId", seriesId);
        sb.AddConstraint(Operator.GreaterThan, "startTime", date);
        sb.AddOrderByField(true, "startTime");
        sb.SetRowLimit(1);
        SqlStatement stmt = sb.GetStatement(true);
        IList<Program> programs = ObjectFactory.GetCollection<Program>(stmt.Execute());
        if (programs.Count == 0)
        {
            return null;
        }
        return programs[0];
    }

Hope it helps.
 

DragonQ

Portal Pro
August 30, 2011
644
79
Home Country
United Kingdom United Kingdom
So with the current 1.2.3 build in this thread, PowerScheduler++ won't wake the HTPC up to record something you've set on Series Link?
 

jonm

Portal Pro
January 12, 2009
429
26
Wales
Home Country
Wales Wales
Hi miroslav

Just wondering if there's any possibility of an updated version so we can test MP 1.3.0 pretty please? ;)
 

miroslav22

Development Group Member
  • Premium Supporter
  • September 4, 2009
    703
    460
    Warwick
    Home Country
    United Kingdom United Kingdom
    Hello,

    Sorry (again!) that i've not been around much, i'm itching to get back to active development when I have a bit more time!

    @DJBlu thanks for the fix, i'll incorporate it :)

    I'll try and merge a 1.3.0 Alpha version in the next few days. It hopefully should be easy now there is a branch on github.
     

    Jay_UK

    Test Group
  • Team MediaPortal
  • October 6, 2009
    1,781
    283
    Derby
    Home Country
    United Kingdom United Kingdom
    Hi there,

    If you're feeling adventurous...any chance of looking into the issue of all cards needing to be free before EPG grabbing occurs? :)

    J.
     

    DJBlu

    Portal Pro
    August 14, 2007
    1,670
    813
    Llanelli
    Home Country
    United Kingdom United Kingdom
    Hi there,

    If you're feeling adventurous...any chance of looking into the issue of all cards needing to be free before EPG grabbing occurs? :)

    J.

    Bit naughty.

    Start a thread up in the wishlist :D
     
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom