PDA

View Full Version : PID or Channel Edit in Enigma2: Lamedb File Edit



el bandido
03-26-2017, 08:39 PM
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

DaveLH
03-27-2017, 02:59 AM
Thanks EB very informative I will work on that. Now how would one go about adding a completely new NA satellite to the existing sat list. One that has not been listed at the satellite.xml creator site.

el bandido
03-27-2017, 05:51 AM
It is a good idea to store the satellite.xml file in the etc/enigma2 folder. It will not automatically be overwritten during on line updates if it is stored in the etc/enigma2 folder.

Open the satellites.xml in a program for editing .xml files such as notepad++.. Open a satellite.xml file, then copy an existing satellite, change it to what you want, then insert it back into the satellite .xml file. Here is an example.

<sat name="11.0W Express AM44 Ku Band" flags="1" position="-110">
<transponder frequency="10957000" symbol_rate="2300000" polarization="1" fec_inner="4" system="1" modulation="2"/>
<transponder frequency="10983000" symbol_rate="12110000" polarization="1" fec_inner="0" system="0" modulation="1"/>
<transponder frequency="11033000" symbol_rate="1795000" polarization="0" fec_inner="4" system="1" modulation="2"/>
<transponder frequency="11483000" symbol_rate="3470000" polarization="1" fec_inner="0" system="0" modulation="1"/>
<transponder frequency="11566000" symbol_rate="8000000" polarization="0" fec_inner="3" system="1" modulation="2"/>
</sat>

We will change this to: Galaxy 25 at 95W
<sat name="95.0W Galaxy 25 Ku Band" flags="1" position="-952">
<transponder frequency="10957000" symbol_rate="2300000" polarization="1" fec_inner="4" system="1" modulation="2"/>
<transponder frequency="10983000" symbol_rate="12110000" polarization="1" fec_inner="0" system="0" modulation="1"/>
<transponder frequency="11033000" symbol_rate="1795000" polarization="0" fec_inner="4" system="1" modulation="2"/>
<transponder frequency="11483000" symbol_rate="3470000" polarization="1" fec_inner="0" system="0" modulation="1"/>
<transponder frequency="11566000" symbol_rate="8000000" polarization="0" fec_inner="3" system="1" modulation="2"/>
</sat>

It is important to remember that two satellites cannot have the exact same orbit position, else the file will not work correctly. So alter the satellite degrees by a tenth or two to keep the c/ku satellites from having the Exact same orbit location. I prefer to alter the C band orbit instead of the ku band for USALS. The example above in red has an orbit location of 95.2 West in the receiver.

Insert the modified satellite back into the sat file and you are done. If it does not work, carefully check for mistakes. Put the modified sat file in the etc/enigma2 folder. That way if you have a problem, you can simply delete the satellite file and reboot the box.

There is also a plugin named TS Sat Editor that will allow you to modify the sat file using the receiver.

The blindscan plugin looks at the transponders in satellites.xml, so it is a good idea to have c band transponders for a c band satellite.

DaveLH
03-27-2017, 11:42 AM
Thanks again EB have been trying to figure that out myself, will work on that. Satellite 111 those transponders you wanted us to scan to see if we could pick them up, didnt happen with a straight scan. Now I hooked up the TBS 5925 tuner with the octagon and did get a few more on that sat however there was no video and not one was what you wanted . Hoping for satellite blindscan soon for this box, blindscan for cable is working now in Europe, they say for sats is next.

chewie
03-27-2017, 12:09 PM
Hello DaveLH
Does your receiver has 2 tuners, A and B, if it does and if you only try tuner A try tuner B and see if it scans those transponders.
One more question, How long did it take for your receiver to arrive to your house?
Regards.
Chewie

DaveLH
03-27-2017, 02:33 PM
I ordered mine from satshop.fi in Norway, they had no stock so had to wait two weeks for shipment then 5 days later I had it. I will set up on tuner 2 and get back, these tuners are more sensitive than the Vu+ solo2. It runs excellent but they are still fine tuning things.

DaveLH
03-27-2017, 03:07 PM
I was on sat 127 west, switched input from top connector to the bottom and re scanned, 8 channels logged same as before, will try sat 111 with the TBS5925 later. Now if type of scan is set to user defined transponder, DVB s2 some additional settings appear, input stream id which is 3 digits max, PLS mode is root or gold or Combo and PLS code with 6 possible digits. Playing with PLS mode set to gold additional transponders get scanned. They come up as 4K but my tv is only capable of 1080i, (whining). Don't understand all this and nobody is saying.

el bandido
03-27-2017, 04:02 PM
I Should have the new Octagon in 3-4 more days.



March 27, 2017, 3:48 pm Inbound Out of Customs
Your item cleared United States Customs at 3:48 pm on March 27, 2017.

skink
03-28-2017, 06:59 AM
I ordered mine from Spain and other than the slow movement in the mail,it came intact.It is a different receiver than the run of the mill available for cheap.This is my first receiver running linux,so it will take sometime to learn.It offers alot of options I need to understand.I am glad el bandido is getting one.He has the knowledge needed to get the most out of this box.

DaveLH
03-28-2017, 11:30 AM
Yup, best place in NA for enigma2 training is right here. Skink you will be happy you chose the E2 route and you have one of the best box's to play with. I started out with an AZbox in 2012 and never looked back. Just this morning loaded up egami ver 8 an awsome image, that's the beauti of these box's. Welcome.

rempfer
03-28-2022, 08:52 AM
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
Thank you, el bandido. Would you mind mentioning the names of these Windows editors? Much appreciated.

el bandido
03-29-2022, 08:18 PM
What are you wanting or needing to do Rempfer?
Echannelizer and DreamboxEDit are a couple of editors. Links for them are below. There are many more, but it might help to understand what you are wanting to do.


[Only registered and activated users can see links]
[Only registered and activated users can see links]

rempfer
03-30-2022, 08:12 AM
Add/modify/delete channels. I've not heard of Echannelizer so will take a look at it. Nothing for Linux that we know of? It would be so nice to get completely away from MS Windows. :-)

el bandido
03-30-2022, 11:14 AM
Linux has a nice editor Here: [Only registered and activated users can see links]

Let me know if you have any problems using the Demon Editor for Linux.