For your use the default SATPI mapping.m3u will cause issues with mythtv and the mythtv IPTV recorder (I presume this is what you are using).
I changed it to have only the following contents:
For your .3mu file you need something like for each channel (example for astra28e2)
Code: Select all
#EXTINF:0,6322. BBC Two
Line 1 serviceid (6322) and channel name (BBC Two)
Line 2 xmltvid (BBC Two is just a place holder, and needs to be set to the real value) for program information (IPTV recorder does not use EIT, so external data is required).
Line 3 channel number (6322), by default this is set to the same as serviceid, but can be changed anything you like
Line 4 this is the actual url which mythtv uses to tune to the channel.
SATPI supports http (default port 8875) or rtsp (default port 554). I use http.
The data after the IP address and port number is the tuning data:
src=1 is the default Diseqc for a directly connected Satellite tuner (i.e. cable from tuner to Satellite dish LNB), if using a Diseqc switch this may have to be changed.
freq,pol,ro,mtype,msys,plts,sr,fec are the usual tuning parameters.
pids=n,n,n,n,n are those associated with the channel.
Obtaining the url data may be difficult.
For DVB-S/S2 I run w_scan (on the box with SATPI server) to create the tuning data and then process it to create a mythtv compatible .3mu file.
This .3mu file can be put on any web server in your network. SATPI has a built-in web server which you can use, put the .3mu file in SATPI/web/ directory.
This attachment is my script file to process w_scan output
Unzip the script file, make it executable and run it
./chan2satip.sh <input file>
It produces a file name the same as the input with .3mu at the end.
The script has some items that may need to be changed:
Line 27 has the IP Address and port number to be used in the URL e.g. IP=192.168.0.22:8875
Line 58 has the src number e.g. src=1 # change as required
Note there is only one w_scan output format that contains all the necessary data an example for astra28e2:
w_scan -c GB -a0 -G -f s -s S28E2 -E 0 >astra28e2.txt
You will need to change
-c GB to your Country code
-a0 to the appropriate dvb adapter number
-s S28E2 to your satellite
The -E 0 only outputs Free To Air channels
-G outputs all the required pids (including the vital pmt pid)
And finally an alternative to SATPI is minisatip see https://github.com/catalinii/minisatip