Channel name comes in the SDT as ascii code,can be used as hex string.
An example.
Code:
000037D0 47 00 11 1A 11 48 0F 01 06 55 6E 69 6D 61 73 06 G...H...Unimas.
000037E0 45 73 63 61 70 65 00 87 FC 90 0F 48 0D 01 06 55 Escape.‡ü?.H...U
000037F0 6E 69 6D 61 73 04 4C 41 46 46 FF FE FC 80 21 48 nimas.LAFFÿþü€!H
00003800 1F 0C 09 55 6E 69 76 69 73 69 6F 6E 13 53 57 20 ..Univision.SW
00003810 44 6F 77 6E 6C 6F 61 64 20 53 65 72 76 69 63 65 Download Service
00003820 00 88 FC 90 15 48 13 01 06 55 6E 69 6D 61 73 0A .ˆü?H...Unimas.
00003830 47 65 74 54 56 2D 44 69 73 68 00 89 FC 90 12 48 GetTV-Dish.‰ü?.H
00003840 10 01 06 55 6E 69 6D 61 73 07 4A 55 53 54 49 43 ...Unimas.JUSTIC
00003850 45 AA 0C 4B 75 FF FF FF FF FF FF FF FF FF FF FF Eª.Kuÿÿÿÿÿÿÿÿÿÿÿ
Parseing is about to find the descriptors
48 Tag value 0x48: service descriptor
0F Length: 0x0F bytes after the length field
01 Service type is 1: Digital Television
06 Length of Provider Name
55 6E 69 6D 61 73 Text=Unimas
Not hard to do.
Is just differently than the way it's been done until now.
Providers are funny with the names,so some feeds can use a capital letter or more,others with same name do not,still the ascii string is not the same.
Others use some spaces in the string,which you won't see when converting,and this make a different ascii string.
SDT is present in demux delivered by tuner,so the plugin can grab it easily.
Please,I am not trying to change things to the point it makes a mess of other things inside the emulator,nor trying to teach anybody anything either,I had this ideas way back as a proof of concept,and worked very well,to the point it was not a need to change it for years.
It developed to the point it was possible to download VOD movies from a provider in my area,which also send the session key in the SDT for the selected VOD,and decrypt it in real time or offline.
They still do it to this day,and maybe most VOD services use the same technique,download to HDD of their receivers and store the session key to decrypt when viewing the VOD purchased.