I cannot try on my box at this moment... so can someone try with the attached enigma2 binary?
FTA/Encrypted flag in ServiceScan/lamedb
Re: FTA/Encrypted flag in ServiceScan/lamedb #101
Re: FTA/Encrypted flag in ServiceScan/lamedb #102
Re: FTA/Encrypted flag in ServiceScan/lamedb #103
Posted 7 May 2014 - 18:15
After a satellite scan (23.5 only) the encrypted icon is not visible for the most channels also a lot of channels are missing?
(found 198 channels on 23.5, manual search, network search=yes, delete channels before search=yes, only fta=no)
Edited by Pedro_Newbie, 7 May 2014 - 18:15.
Re: FTA/Encrypted flag in ServiceScan/lamedb #104
Posted 7 May 2014 - 18:18
Another binary... I made a mistake... enigma2.zip 715.78KB 4 downloads
It should go to /usr/bin... please make a backup from the enigma2 binary that was there so you're able to revert.
Edited by littlesat, 7 May 2014 - 18:19.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FTA/Encrypted flag in ServiceScan/lamedb #105
Re: FTA/Encrypted flag in ServiceScan/lamedb #106
Posted 7 May 2014 - 18:36
https://github.com/O...e2e93d6b818eb27
diff --git a/scan.cpp b/scan_spa.cpp index c8f1f40..3802780 100644 --- a/scan.cpp +++ b/scan_spa.cpp @@ -1147,27 +1147,29 @@ RESULT eDVBScan::processSDT(eDVBNamespace dvbnamespace, const ServiceDescription unsigned short service_id = (*s)->getServiceId(); SCAN_eDebugNoNewLine("SID x: ", service_id); bool add = true; + bool crypted = false; - if (m_flags & scanOnlyFree) + std::map<unsigned short, service>::iterator it = + m_pmts_to_read.find(service_id); + if (it != m_pmts_to_read.end()) { - std::map<unsigned short, service>::iterator it = - m_pmts_to_read.find(service_id); - if (it != m_pmts_to_read.end()) + if (it->second.scrambled) { - if (it->second.scrambled) - { - SCAN_eDebug("is scrambled!"); - add = false; - } - else - SCAN_eDebug("is free"); - } - else { - SCAN_eDebug("not found in PAT.. so we assume it is scrambled!!"); - add = false; + SCAN_eDebug("is scrambled!"); + crypted = true; } + else + SCAN_eDebug("is free"); + } + else { + SCAN_eDebug("not found in PAT.. so we assume it is scrambled!!"); + crypted = true; } + if (m_flags & scanOnlyFree && crypted) + add = false; + + if (add) { eServiceReferenceDVB ref; @@ -1233,6 +1235,8 @@ RESULT eDVBScan::processSDT(eDVBNamespace dvbnamespace, const ServiceDescription break; } } + if (crypted && !service->m_ca.size()) + service->m_ca.push_front(0); std::pair<std::map<eServiceReferenceDVB, ePtr<eDVBService> >::iterator, bool> i = m_new_services.insert(std::pair<eServiceReferenceDVB, ePtr<eDVBService> >(ref, service));
Re: FTA/Encrypted flag in ServiceScan/lamedb #107
Re: FTA/Encrypted flag in ServiceScan/lamedb #108
Posted 7 May 2014 - 18:49
I exactly tried that... but it did not help..
RESULT eDVBScan::processSDT(eDVBNamespace dvbnamespace, const ServiceDescriptionSection &sdt)
{
const ServiceDescriptionList &services = *sdt.getDescriptions();
SCAN_eDebug("ONID: %04x", sdt.getOriginalNetworkId());
eDVBChannelID chid(dvbnamespace, sdt.getTransportStreamId(), sdt.getOriginalNetworkId());
/* save correct CHID for this channel */
m_chid_current = chid;
for (ServiceDescriptionConstIterator s(services.begin()); s != services.end(); ++s)
{
unsigned short service_id = (*s)->getServiceId();
SCAN_eDebugNoNewLine("SID %04x: ", service_id);
bool is_scrambled = true;
std::map<unsigned short, service>::iterator it =
m_pmts_to_read.find(service_id);
if (it != m_pmts_to_read.end())
{
if (it->second.scrambled)
SCAN_eDebug("is scrambled!");
else
is_scrambled = false;
SCAN_eDebug("is free");
}
else
SCAN_eDebug("not found in PAT.. so we assume it is scrambled!!");
eDebug("OH BOY");
if (!(m_flags & scanOnlyFree) || !is_scrambled)
{
eServiceReferenceDVB ref;
ePtr<eDVBService> service = new eDVBService;
ref.set(chid);
ref.setServiceID(service_id);
for (DescriptorConstIterator desc = (*s)->getDescriptors()->begin();
desc != (*s)->getDescriptors()->end(); ++desc)
{
switch ((*desc)->getTag())
{
case SERVICE_DESCRIPTOR:
{
ServiceDescriptor &d = (ServiceDescriptor&)**desc;
int servicetype = d.getServiceType();
/* NA scanning hack */
switch (servicetype)
{
/* DISH/BEV servicetypes: */
case 128:
case 133:
case 137:
case 144:
case 145:
case 150:
case 154:
case 163:
case 164:
case 166:
case 167:
case 168:
servicetype = 1;
break;
}
/* */
ref.setServiceType(servicetype);
service->m_service_name = convertDVBUTF8(d.getServiceName());
service->genSortName();
service->m_provider_name = convertDVBUTF8(d.getServiceProviderName());
SCAN_eDebug("name '%s', provider_name '%s'", service->m_service_name.c_str(), service->m_provider_name.c_str());
break;
}
case CA_IDENTIFIER_DESCRIPTOR:
{
CaIdentifierDescriptor &d = (CaIdentifierDescriptor&)**desc;
const CaSystemIdList &caids = *d.getCaSystemIds();
SCAN_eDebugNoNewLine("CA");
for (CaSystemIdList::const_iterator i(caids.begin()); i != caids.end(); ++i)
{
SCAN_eDebugNoNewLine(" %04x", *i);
service->m_ca.push_front(*i);
}
SCAN_eDebug(".");
break;
}
default:
SCAN_eDebug("descr<%x>", (*desc)->getTag());
break;
}
}
eDebug("THIS IS DONE");
if (is_scrambled && !service->m_ca.size())
{
eDebug("AND NOW IT IS PUSHED");
service->m_ca.push_front(0);
}
std::pair<std::map<eServiceReferenceDVB, ePtr<eDVBService> >::iterator, bool> i =
m_new_services.insert(std::pair<eServiceReferenceDVB, ePtr<eDVBService> >(ref, service));
if (i.second)
{
m_last_service = i.first;
m_event(evtNewService);
}
}
if (m_pmt_running && m_pmt_in_progress->first == service_id)
m_abort_current_pmt = true;
else
m_pmts_to_read.erase(service_id);
}
The above is in the binary... (but with less debug code)
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FTA/Encrypted flag in ServiceScan/lamedb #109
Re: FTA/Encrypted flag in ServiceScan/lamedb #110
Re: FTA/Encrypted flag in ServiceScan/lamedb #111
Re: FTA/Encrypted flag in ServiceScan/lamedb #112
Posted 8 May 2014 - 06:20
Scan-235-1.jpg 86.42KB 66 downloads
They still need tuning:
Scan-235-2.jpg 127.64KB 67 downloads
Edited by SatKiekerd, 8 May 2014 - 06:23.
Re: FTA/Encrypted flag in ServiceScan/lamedb #113
Posted 8 May 2014 - 07:01
Edited by littlesat, 8 May 2014 - 07:01.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: FTA/Encrypted flag in ServiceScan/lamedb #114
Re: FTA/Encrypted flag in ServiceScan/lamedb #115
Re: FTA/Encrypted flag in ServiceScan/lamedb #116
Posted 8 May 2014 - 10:48
Next step: make sure setting editors can handle the encryption status.
Zojuist getest door het uitlezen van settings die 'de vlag' hebben:There are already editors that do understand this...
1- SetEditDream: Geen enkele indicatie van het versleuteld zijn.
2- DreamSet: Geen enkele indicatie van het versleuteld zijn.
3- DreamBoxEditor: In de satelliet lijst is de versleutelde zender keurig van een hangslotje voorzien. In de gegevens van de zender vind je dat echter nergens terug; het is dus ook niet duidelijk of hoe je die status in de editor zou kunnen aanpassen.
Er is voor de auteurs van de editors dus nog wel een klusje te doen.
Volgende stap: gaan de leveranciers van service-lijsten nu ook de encrypted status opnemen?
Re: FTA/Encrypted flag in ServiceScan/lamedb #117
Posted 8 May 2014 - 10:54
Just tested by reading the settings that contain 'the flag':
1- SetEditDream: No indication whatsoever about services being encrypted.
2- DreamSet: No indication whatsoever about services being encrypted.
3- DreamBoxEditor: In the satellite list the encrypted services are neatly provided with a padlock. However: in the service details there's no indication about this status. So it isn't clear how to amend the statue in the editor.
So the authors of those editors have some work to do .....
Next step: are the providers of the service lists going to take care of including the encryption status?
Edited by SatKiekerd, 8 May 2014 - 10:55.
Re: FTA/Encrypted flag in ServiceScan/lamedb #118
Posted 8 May 2014 - 12:22
Re: FTA/Encrypted flag in ServiceScan/lamedb #119
Posted 8 May 2014 - 14:03
It's not only M7; see the attached settings, in which Astra 1,2 & 3 have been scanned. As you can see the encrypted flag is missing for quite a number of services.I'm afraid there is no way to tune this further... M7 for example has a lot of incorrect stuff configured on their transponders. You just discovered one of them....
Re: FTA/Encrypted flag in ServiceScan/lamedb #120
5 user(s) are reading this topic
0 members, 5 guests, 0 anonymous users