Complete channels, audio and video pids may be added or changed as needed by editing the lamedb file located in etc/enigma2. The pids you are wanting to change or add will probably be in decimal format, so the decimal(s) will need to be changed to a Hex value before you can edit pids in enigma2.

A channel in lamedb consists of 3 lines, plus the transponder has the be entered correctly in the lamedb file.

The transponder will be entered or found in lamedb like this:
09190eec:0065:0001
s 3820000:29994000:0:4:-1271:1:1:1:2:2:1
/


The channel will be entered like this:
0005:09190eec:0065:0001:1:0:0
Hallmark
p:,c:0001fe,c:0301fe,c:0401f4,c:050001,f:40

The first line of the channel information is the transponder information or transponder id.
The second line of the channel information is the channel name.
The third line of the channel information may contain provider id and may contain the audio, video, and other pids.

Here is a pid list for enigma2:
0 VIDEO_PID
1 AUDIO_PID
2 TXT_PID
3 PCR_PID
4 AC3_PID
5 VIDEOTYPE
6 AUDIOCHANNEL
7 AC3_DELAY
8 PCM_DELAY
9 SUBTITLE_PID


Looking at the pid list, and using the channel information listed above, we have a video pid of 1fe, a pcr pid of 1fe, an ac3 audio pid of 1f4, and a video type of 1.

We can use a hex converter like this one:[Only registered and activated users can see links. ]
Converting hex back to decimal will give us these values.
1fe = 510
1f4 = 500
The video type(c:050001) has to be in there also for enigma2, or the channel will not display properly, or at all.
At the beginning of the channel information (0005 ) is the SID for the channel.

There are not many times that we need to manually enter pid information. There are (Windows) enigma2 channel editors that can do the pid entry, but I prefer to do most of the editing in enigma2 manually.

Feel free to make comments or ask questions about this subject in this thread. This is something I am having to learn about by doing it because there is not much information about enigma2 pid editing on the internet. EB