Springen naar inhoud


Foto

BAT


  • Please log in to reply
Er zijn 22 reacties in dit onderwerp

#1 EnoSat

  • Senior Member
  • 183 berichten

+4
Neutral

Geplaatst op 20 juni 2019 - 21:28

Hi,

why e2 not support scannig BAT_table ?

In satellites.xml flag

2	->	use BAT

but this ignored and not created BAT list

 



Re: BAT #2 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 21 juni 2019 - 08:47

The question is whether your provider uses a real BAT or, more likely, another mechanism to supply the ordering of channels.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: BAT #3 littlesat

  • PLi® Core member
  • 56262 berichten

+691
Excellent

Geplaatst op 21 juni 2019 - 08:52

Maybe the ABM (auto bouquets manager) plugin can help you?


Veranderd door littlesat, 21 juni 2019 - 08:53

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


Re: BAT #4 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 21 juni 2019 - 16:03

I think TS has a point though. I actually don't think enigma uses BAT ever to create bouquets. Only to discover services.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: BAT #5 WanWizard

  • PLi® Core member
  • 68559 berichten

+1737
Excellent

Geplaatst op 21 juni 2019 - 16:11

Afaik the only thing in Enigma that does create bouquets is the fastscan code, which technically speaking isn't in Enigma either, it's a system plugin.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BAT #6 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 21 juni 2019 - 16:21

Exactly. So then the question remains, why is the option there to "use BAT"? I think it only uses BAT for finding services, not for ordering them (into a bouquet).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: BAT #7 EnoSat

  • Senior Member
  • 183 berichten

+4
Neutral

Geplaatst op 21 juni 2019 - 21:44

in old enigma1 no problem search with option BAT and created BAT bouquets


20190621-223040.jpg
20190621-223058.jpg
20190621-223712.jpg
20190621-223820.jpg
BAT-1W.png
 

 


Veranderd door EnoSat, 21 juni 2019 - 21:46


Re: BAT #8 WanWizard

  • PLi® Core member
  • 68559 berichten

+1737
Excellent

Geplaatst op 21 juni 2019 - 21:48

Enigma1 and Enigma2 have nothing in common but the name. Afaik this was never supported in Enigma2, I can't recall ever seeing it, and I've been involved since the days of the DM7025.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BAT #9 EnoSat

  • Senior Member
  • 183 berichten

+4
Neutral

Geplaatst op 21 juni 2019 - 21:59

search channel engine different ? use diferent protocol as ETSI norm ?



Re: BAT #10 WanWizard

  • PLi® Core member
  • 68559 berichten

+1737
Excellent

Geplaatst op 22 juni 2019 - 00:25

Different product.

 

So pointing to something in Enigma1 as a comparison to Enigma2 is pointless. It's like saying "why can't my car transport 40 people? My bus can!".


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: BAT #11 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 22 juni 2019 - 08:50

That doesn't mean it can't be made, but apparently nobody (including DMM) bothered. If you're the first to notice, apparently there isn't that much demand.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: BAT #12 Abu Baniaz

  • PLi® Contributor
  • 2435 berichten

+62
Good

Geplaatst op 22 juni 2019 - 08:59

Someone in the team has been constantly saying that the ABM reader should be in Enigma2. Part of the ABM reader scans the BAT



Re: BAT #13 Erik Slagter

  • PLi® Core member
  • 46951 berichten

+541
Excellent

Geplaatst op 22 juni 2019 - 11:45

Then that's interesting (code) that part to integrate into enigma. BAT = standard DVB.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: BAT #14 EnoSat

  • Senior Member
  • 183 berichten

+4
Neutral

Geplaatst op 24 juni 2019 - 20:43

That doesn't mean it can't be made, but apparently nobody (including DMM) bothered. If you're the first to notice, apparently there isn't that much demand.

use FastScan , but this work on another principe



Re: BAT #15 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 24 juni 2019 - 21:29

From code still available here svn://svn.code.sf.net/p/openpli/code/trunk....


void eDVBScanController::BATready(int error)
{
	if ( dvb.getState() == eDVBScanState::stateScanWait )
	{
		eDebug("[SCAN] BATready %d", error);
		dvb.event(eDVBScanEvent(eDVBScanEvent::eventScanGotBAT));
	}
	else
		eDebug("[SCAN] BATready but not stateScanWait... ignore");
}

        case eDVBScanEvent::eventScanGotBAT:
        {
                eDebug("[SCAN] eventScanGotBAT");
                BAT *bat=dvb.tBAT.ready()?dvb.tBAT.getCurrent():0;
                if (bat)
                {
                        dvb.settings->addDVBBouquet(transponder->dvb_namespace, bat);
                        bat->unlock();
                }
                scanOK|=4;
                eDebug("scanOK %d", scanOK);
                if (scanOK==15)
                        dvb.event(eDVBScanEvent(eDVBScanEvent::eventScanComplete));
                break;
        }
void eDVBSettings::addDVBBouquet(eDVBNamespace origin, const BAT *bat )
{
        eDebug("wir haben da eine bat, id %x our id is %08x", bat->bouquet_id, -(bat->bouquet_id | 0xF000000));
        eString bouquet_name="Weiteres Bouquet";
        for (ePtrList<Descriptor>::const_iterator i(bat->bouquet_descriptors); i != bat->bouquet_descriptors.end(); ++i)
        {
                if (i->Tag()==DESCR_BOUQUET_NAME)
                {
                        bouquet_name=((BouquetNameDescriptor*)*i)->name;
                        bouquet_name+=" (BAT)";
                }
        }
        eBouquet *bouquet=createBouquet(-(bat->bouquet_id|0xF000000), bouquet_name);
        bouquet->list.clear();
        for (ePtrList<BATEntry>::const_iterator be(bat->entries); be != bat->entries.end(); ++be)
                for (ePtrList<Descriptor>::const_iterator i(be->transport_descriptors); i != be->transport_descriptors.end(); ++i)
                        if (i->Tag()==DESCR_SERVICE_LIST)
                        {
                                const ServiceListDescriptor *s=(ServiceListDescriptor*)*i;
                                for (ePtrList<ServiceListDescriptorEntry>::const_iterator a(s->entries); a != s->entries.end(); ++a)
                                {
                                        bouquet->add(
                                                eServiceReferenceDVB(
                                                        origin,
                                                        eTransportStreamID(be->transport_stream_id),
                                                        eOriginalNetworkID(be->original_network_id),
                                                        eServiceID(a->service_id), a->service_type));
                                }
                        }
}

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: BAT #16 littlesat

  • PLi® Core member
  • 56262 berichten

+691
Excellent

Geplaatst op 25 juni 2019 - 07:08

Fastscan is indeed different... but bat functionality could be added there to the code. And I think with less code as ABM plugin does. But it means the code must be done for 99% in cpp...

Veranderd door littlesat, 25 juni 2019 - 07:32

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


Re: BAT #17 littlesat

  • PLi® Core member
  • 56262 berichten

+691
Excellent

Geplaatst op 14 juli 2019 - 09:45

Kick.... I still think it would be nice to port this to E2... we need help from some c++ experienced devs.... But when adding it then with a filter in bat_id.


Veranderd door littlesat, 14 juli 2019 - 09:45

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


Re: BAT #18 athoik

  • PLi® Core member
  • 8458 berichten

+327
Excellent

Geplaatst op 15 juli 2019 - 20:42

Basic logic for parsing BAT and creating a bouquet was posted here: https://github.com/a...85c662ddb5eacd5

 

Feel free to improve it!

 

PS. You need this one to enable BAT scanning as well.

 

--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -1669,7 +1669,7 @@ class ScanSetup(ConfigListScreen, Screen, CableTransponderSearchSupport, Terrest

        def startScan(self, tlist, flags, feid, networkid = 0):
                if len(tlist):
-                       # flags |= eComponentScan.scanSearchBAT
+                       flags |= 2 # eComponentScan.scanSearchBAT
                        if self.finished_cb:
                                self.session.openWithCallback(self.finished_cb, ServiceScan, [{"transponders": tlist, "feid": feid, "flags": flags, "networkid": networkid}])
                        else:

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: BAT #19 littlesat

  • PLi® Core member
  • 56262 berichten

+691
Excellent

Geplaatst op 15 juli 2019 - 22:39

I suggest you test it... what does it scan at this moment? Of course it need to be added in the ui... and maybe filter on the id of auch bouquet or a list of bouquets... but big question again... what does it catch up?

Veranderd door littlesat, 15 juli 2019 - 22:42

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


Re: BAT #20 littlesat

  • PLi® Core member
  • 56262 berichten

+691
Excellent

Geplaatst op 15 juli 2019 - 23:11

We can consider to add it to the cpp code so we can test it... but not enable it via the UI... (do that manually)


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



1 gebruiker(s) lezen dit onderwerp

0 leden, 1 bezoekers, 0 anonieme gebruikers