hi, i had the same problem and looked around the net and it looks like i have found a solution (
https://forum.mythtv.org/viewtopic.php?t=1582). What you need to do is to simply rename frontends in /dev/dvb/adapterX
here are a few steps i made to make it work after restart.
1) set static adapter number to astrometa (in my case i choose adapter5)
create /etc/modprobe.d/astrometa.conf by
sudo 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 save file. Now everytime you reboot, your astrometa will be adapter5
2) create file with the commands (i called mine swop_astrometa_frontend.sh) , put it somewhere, make it executable
#!/bin/bash
#swops frontend for Astrometa DVB-T/T2 usb dongle ID 15f4:0131 HanfTek
# this is necessary due to device having single demux
/etc/init.d/tvheadend stop &&
cd /dev/dvb/adapter5 && mv frontend0 frontend99 && mv frontend1 frontend0 &&
/etc/init.d/tvheadend start
3) put the following in /etc/rc.local immediately before the exit line at end of the file.
sudo /path_to_your_file/swop_astrometa_frontends.sh
*instead of path_to_your_file use your real path where swop_astrometa_frontends.sh is located
after this reboot the machine, after it reboots, check by doing
ls /dev/dvb/adapter5
and you should get
demux0 dvr0 frontend0 frontend99 net0
i hope it helps someone.)