Jump to content


Photo

FTA/Encrypted flag in ServiceScan/lamedb


  • Please log in to reply
158 replies to this topic

Re: FTA/Encrypted flag in ServiceScan/lamedb #81 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 5 May 2014 - 13:50

Hi,

simply to see if there are nice new channels which can be watched.

 

I think I have a plugin which zapps through all channel in a bouquet. This might be a solution. If someone is interested in this flag start such a plugin in the evening and in the morning all flags are there.

 

ciao



Re: FTA/Encrypted flag in ServiceScan/lamedb #82 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 5 May 2014 - 14:52

OK, I have now been convinced this flag is quite useful but hopefully the impact on scanning time will not be too significant.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: FTA/Encrypted flag in ServiceScan/lamedb #83 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 5 May 2014 - 15:12

and why put into bouquets services, which cannot be decoded ?

Well, I would not put them in any bouquet. But none of the services on 'exotic' satellites are in any of my bouquets; I go through them via the 'all' list (per satellite or per provider).

Re: FTA/Encrypted flag in ServiceScan/lamedb #84 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 5 May 2014 - 15:21

As stated earlier this doesn't work for all providers on service scan directly, as only some provide the proper flags to detect if the service is encrypted or not.
Else you have to do a PMT-Scan for each service, which would make the scan speed worse.

Scan speed practically unchanged.
Let's bring this patch to a logical conclusion.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: FTA/Encrypted flag in ServiceScan/lamedb #85 dhwz

  • Senior Member
  • 227 posts

+20
Neutral

Posted 5 May 2014 - 16:22

@Dima73

Hm are you sure you don't mix two different things here? The normal encryption flag is in the SDT which is read on service scan. If this flag is missing we have to read the PMT of each service to know if the service is encrypted or not, and reading PMT/CAT is heavily slowing down the scan. Thats the reason why PMT is only read on zap.


Edited by dhwz, 5 May 2014 - 16:25.


Re: FTA/Encrypted flag in ServiceScan/lamedb #86 Dimitrij

  • PLi® Core member
  • 10,334 posts

+351
Excellent

Posted 5 May 2014 - 16:46

@Dima73

Hm are you sure you don't mix two different things here? The normal encryption flag is in the SDT which is read on service scan. If this flag is missing we have to read the PMT of each service to know if the service is encrypted or not, and reading PMT/CAT is heavily slowing down the scan. Thats the reason why PMT is only read on zap.

It is possible to make configurable.
As an option.

'Disable background scanning' yes/no/no(check encrypted flag)

And same in standart scan.


Edited by Dima73, 5 May 2014 - 16:49.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: FTA/Encrypted flag in ServiceScan/lamedb #87 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 5 May 2014 - 20:58

I will make nothing configurable... Please I suggest this is enouygh... Zapping through the channels performa the pmt scan for a channel...

Edited by littlesat, 5 May 2014 - 20:59.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: FTA/Encrypted flag in ServiceScan/lamedb #88 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 5 May 2014 - 21:49

Zapping through the channels performa the pmt scan for a channel...

Yes, that works fine. And I can't think of any reason to disable backgroundscanning (partially).
But what about PMT when doing a normal scan?

Re: FTA/Encrypted flag in ServiceScan/lamedb #89 Huevos

  • PLi® Contributor
  • 4,668 posts

+163
Excellent

Posted 6 May 2014 - 00:17

OK, I have now been convinced this flag is quite useful but hopefully the impact on scanning time will not be too significant.

Obviously every process takes time, but are we really bothered about a few milliseconds for such a big benefit.



Re: FTA/Encrypted flag in ServiceScan/lamedb #90 Trial

  • Senior Member
  • 1,128 posts

+34
Good

Posted 6 May 2014 - 08:09

Hi,

when I start a scan it takes 8-10 minutes and I normally eat lunch or walk the dog in the meantime so I do not care as long as it is not 10 times as long.

 

Has anybody, with more knowledge than me (simple), ever thought about a real background scan similar to the pseudo recording of EPG refresh on a second tuner or a timed scan in the night?

 

Perhaps Huevos the blind scan expert:-)

 

ciao



Re: FTA/Encrypted flag in ServiceScan/lamedb #91 Huevos

  • PLi® Contributor
  • 4,668 posts

+163
Excellent

Posted 6 May 2014 - 08:39

I suggest this is enouygh.

Seems like a big waste of effort to get this up and running in the first place if it is not going to be optimized so it works properly.



Re: FTA/Encrypted flag in ServiceScan/lamedb #92 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 6 May 2014 - 17:31

I told from the beginning that this is chaleging....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: FTA/Encrypted flag in ServiceScan/lamedb #93 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 6 May 2014 - 18:17

I told from the beginning that this is chaleging....

and that makes it even more fun to get it right :)

Re: FTA/Encrypted flag in ServiceScan/lamedb #94 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 6 May 2014 - 18:25

But it should still be possible... does the FTA flagging works for the providers were it is going wrong...?


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: FTA/Encrypted flag in ServiceScan/lamedb #95 Huevos

  • PLi® Contributor
  • 4,668 posts

+163
Excellent

Posted 7 May 2014 - 16:31

Ok, after doing a full scan (Clear before scan) of 28.2E every channel shows as unencrypted . Here is an example:

158b:011a0000:07e5:0002:1:0
FOX
p:BSkyB

After a zap it shows the encryption flag. And after a restart this shows up in lamedb. Example:

158b:011a0000:07e5:0002:1:0
FOX
p:BSkyB,c:000200,c:010294,c:020240,c:031ffe,C:0963,C:0961,C:0960

But the scan does know the channel is encrypted because an 'FTA only' scan does not find the channel,


Edited by Huevos, 7 May 2014 - 16:32.


Re: FTA/Encrypted flag in ServiceScan/lamedb #96 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 7 May 2014 - 16:35

But the scan does know the channel is encrypted because an 'FTA only' scan does not find the channel,

LOL so we now need an 'encrypted only scan' to get complete results :)

Re: FTA/Encrypted flag in ServiceScan/lamedb #97 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 7 May 2014 - 16:36

Then this detection should push a fake C:0000 CAID or so in lamedb...


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: FTA/Encrypted flag in ServiceScan/lamedb #98 Huevos

  • PLi® Contributor
  • 4,668 posts

+163
Excellent

Posted 7 May 2014 - 16:42

Ok, let me test that idea. Before anyone looks at the code.



Re: FTA/Encrypted flag in ServiceScan/lamedb #99 Huevos

  • PLi® Contributor
  • 4,668 posts

+163
Excellent

Posted 7 May 2014 - 17:08

Ok, starting with this. As expected no flag shows.

1de7:011a0000:07df:0002:1:0
GOLD
p:BSkyB

Next I tried this. But still no flag shows.

1de7:011a0000:07df:0002:1:0
GOLD
p:BSkyB,c0000

So next I tried the following. Now the flag is displayed.

1de7:011a0000:07df:0002:1:0
GOLD
p:BSkyB,c:000000,c:000000,c:000000,c:000000,C:0000,C:0000,C:0000

So, that means reading PMT is not necessary, right?



Re: FTA/Encrypted flag in ServiceScan/lamedb #100 littlesat

  • PLi® Core member
  • 57,199 posts

+700
Excellent

Posted 7 May 2014 - 17:28

You need a capital C:, then the for zero's...........

 

I suggest in /dvb/scan.cpp the following should be added arround line 1160...

 

service->m_ca.push_front(0);


Edited by littlesat, 7 May 2014 - 17:28.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users