This works ! Thank you so much!
EDIT: it fixes frontend problem for TV Headend, not the 'out of range' problem, typo in name of .sh script.
I copied above solution to LibreElec (Raspberry 1) :
-----
STEP 1 on Libreelec :
1) set static adapter number to astrometa (i also choose adapter5)
create /etc/modprobe.d/astrometa.conf by
> nano /etc/modprobe.d/astrometa.conf
add to astrometa.conf
> #Configuration file for Astrometa DVB-T2 USB receiver
> #Note firmware dvb-demod-mn88473-01.fw in /lib/firmware
>
> #force consistent adapter numbering
> options dvb-usb-rtl28xxu adapter_nr=5
and i saved the file.
STEP 2
created the file /storage/swop_astrometa_frontend.sh ( /storage is writable on flash card, /etc/ is not in LE)
made it executable with
> $ chmod 755 swop_astrometa_frontend.sh
The content of the script will be slightly different in Libreelec , due to slightly different service commands
> $ nano swop_astrometa_frontend.sh
> #!/bin/bash
> #swops frontend for Astrometa DVB-T/T2 usb dongle ID 15f4:0131 HanfTek
> #this is necessary due to device having single demux
> systemctl stop service.tvheadend42 &&
> cd /dev/dvb/adapter5 && mv frontend0 frontend99 && mv frontend1 frontend0 &&
> systemctl start service.tvheadend42
STEP 3 is a bit different then above:
> $ nano /storage/.config/autostart.sh
> /storage/swop_astrometa_frontend.sh
REST is the same
after this reboot the machine, after it reboots, check by doing
> ls /dev/dvb/adapter5
and you should get
demux0 dvr0 frontend0 frontend99 net0