Jump to content


Photo

BAT


  • Please log in to reply
22 replies to this topic

#1 EnoSat

  • Senior Member
  • 27 posts

0
Neutral

Posted 20 June 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
  • 45,235 posts

+496
Excellent

Posted 21 June 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/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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
  • 48,306 posts

+508
Excellent

Posted 21 June 2019 - 08:52

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


Edited by littlesat, 21 June 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
  • 45,235 posts

+496
Excellent

Posted 21 June 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/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 21 June 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), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: BAT #6 Erik Slagter

  • PLi® Core member
  • 45,235 posts

+496
Excellent

Posted 21 June 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/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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
  • 27 posts

0
Neutral

Posted 21 June 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
 

 


Edited by EnoSat, 21 June 2019 - 21:46.


Re: BAT #8 WanWizard

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 21 June 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), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: BAT #9 EnoSat

  • Senior Member
  • 27 posts

0
Neutral

Posted 21 June 2019 - 21:59

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



Re: BAT #10 WanWizard

  • Forum Moderator
    PLi® Core member
  • 47,149 posts

+784
Excellent

Posted 22 June 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), Amiko Viper T2C (T2), SAB Alpha Triple HD (S2+T2), Zgemma H3.T2C (T/C), Zgemma H6 (fallback), VU+Zero (fallback)

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

note: I do not provide support via PM !

 


Re: BAT #11 Erik Slagter

  • PLi® Core member
  • 45,235 posts

+496
Excellent

Posted 22 June 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/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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
  • 895 posts

+22
Neutral

Posted 22 June 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
  • 45,235 posts

+496
Excellent

Posted 22 June 2019 - 11:45

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


* Wavefrontier T90 with 28E/23E/19E/13E/9E/4.8E/0.8W/5W via SCR switches 2 x 2 x 6 user bands
* Ziggo digital cable TV (FTA)
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
  • 27 posts

0
Neutral

Posted 24 June 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
  • 7,861 posts

+291
Excellent

Posted 24 June 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
  • 48,306 posts

+508
Excellent

Posted 25 June 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...

Edited by littlesat, 25 June 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
  • 48,306 posts

+508
Excellent

Posted 14 July 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.


Edited by littlesat, 14 July 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
  • 7,861 posts

+291
Excellent

Posted 15 July 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
  • 48,306 posts

+508
Excellent

Posted 15 July 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?

Edited by littlesat, 15 July 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
  • 48,306 posts

+508
Excellent

Posted 15 July 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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users