mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-05-07 02:17:10 +02:00
Blaupunkt, Dyon, Hisense, Sharp and many others using DVBS_Program.csv, DVBS_CHANNEL_TABLE.csv, MSxxxx_DVBS_CHANNEL_TABLE.csv:
- added support for Hisense .csv files with 6 columns including "channel number" and "LCN" - using separate lists for DTV, Radio and Data, which all start with 1
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
#include <stddefs.h>
|
||||
|
||||
struct StringChar
|
||||
{
|
||||
char c;
|
||||
if (c == 0x0a)
|
||||
$break_array(true);
|
||||
};
|
||||
|
||||
struct DvbData
|
||||
{
|
||||
uint8 unknown[2848];
|
||||
struct
|
||||
{
|
||||
uint8 satData[88];
|
||||
} satellites[85];
|
||||
int8 unknown[63343];
|
||||
struct{
|
||||
int8 data[146];
|
||||
} channels[3045]; // 615
|
||||
};
|
||||
|
||||
public struct cvt_database_dat
|
||||
{
|
||||
StringChar model[*];
|
||||
StringChar systemDatabaseKeyword[*];
|
||||
struct
|
||||
{
|
||||
StringChar blockName[*];
|
||||
big_endian long length;
|
||||
|
||||
if (blockName[0].c == 'D')
|
||||
{
|
||||
DvbData dvbData;
|
||||
int8 filler[length - sizeof(dvbData)];
|
||||
}
|
||||
else
|
||||
uint8 data[length];
|
||||
|
||||
uint8 extra[3];
|
||||
} blocklist[*];
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user