just to elaborate on the dummy files.in the go.bat you see
copy dummy.txt dummy1.txt
copy dummy.txt dummy2.txt
copy dummy.txt dummy3.txt
this creates a file for each day.psycon does 3 day epg
sed.exe -e "s/20150513213/%Yr%%Mth%%Day%070/g" dummy1.txt > dummy1_1.txt
sed.exe -e "s/2016051322/%Day1%07/g" dummy1_1.txt > dummy1_conv.txt
sed.exe -e "s/20150513213/%Day1%070/g" dummy2.txt > dummy2_1.txt
sed.exe -e "s/2016051322/%Day2%07/g" dummy2_1.txt > dummy2_conv.txt
sed.exe -e "s/20150513213/%Day2%070/g" dummy3.txt > dummy3_1.txt
sed.exe -e "s/2016051322/%Day3%07/g" dummy3_1.txt > dummy3_conv.txt
this modify's the date/time for each day
copy /b dummy1_conv.txt + dummy2_conv.txt + dummy3_conv.txt dummy_conv.txt
this puts them all together to create 1 big file
it then gets stripped(I havnt look at exactly what this does)
copy /b dummy.hdr + wg_tc_strip.txt + dummy_conv.txt + dummy.ftr dummyparsed.xml
this puts it all together with the proper header to make it a proper xml file that kodi can read.
lastly if you look at your first epg pull with mc2xml you will see the above file dummyparsed.xml like this
mc2xml -I dummyparsed.xml
that adds our dummy channel epg into the epg data that we are going to pull from schedule direct and Microsoft.
I run a 7 day epg so what I have done is doubled the amount of dummy files to 6 or of all the dummy channels would run out of data in 3 days.
copy dummy.txt dummy1.txt
copy dummy.txt dummy2.txt
copy dummy.txt dummy3.txt
this creates a file for each day.psycon does 3 day epg
sed.exe -e "s/20150513213/%Yr%%Mth%%Day%070/g" dummy1.txt > dummy1_1.txt
sed.exe -e "s/2016051322/%Day1%07/g" dummy1_1.txt > dummy1_conv.txt
sed.exe -e "s/20150513213/%Day1%070/g" dummy2.txt > dummy2_1.txt
sed.exe -e "s/2016051322/%Day2%07/g" dummy2_1.txt > dummy2_conv.txt
sed.exe -e "s/20150513213/%Day2%070/g" dummy3.txt > dummy3_1.txt
sed.exe -e "s/2016051322/%Day3%07/g" dummy3_1.txt > dummy3_conv.txt
this modify's the date/time for each day
copy /b dummy1_conv.txt + dummy2_conv.txt + dummy3_conv.txt dummy_conv.txt
this puts them all together to create 1 big file
it then gets stripped(I havnt look at exactly what this does)
copy /b dummy.hdr + wg_tc_strip.txt + dummy_conv.txt + dummy.ftr dummyparsed.xml
this puts it all together with the proper header to make it a proper xml file that kodi can read.
lastly if you look at your first epg pull with mc2xml you will see the above file dummyparsed.xml like this
mc2xml -I dummyparsed.xml
that adds our dummy channel epg into the epg data that we are going to pull from schedule direct and Microsoft.
I run a 7 day epg so what I have done is doubled the amount of dummy files to 6 or of all the dummy channels would run out of data in 3 days.
Last edited: