Hi,
I've got question, is it possiable to create on every zap somethink which will write a channel id in /tmp ?
SID, or somethink ?
Thx
Hi,
I've got question, is it possiable to create on every zap somethink which will write a channel id in /tmp ?
SID, or somethink ?
Thx
Any idea?
No, it's not.
First of, we WON'T SUPPORT this in this forum. You know what I mean. Why do you try it?
Second, no. It's not possible (and we don't want it) - /tmp/pmt.tmp is about the *worst way ever* for inter process communication. It won't even work for multiple services (read: tuners).
I understand You well
I don't mean that what you meant..
I want to extract somehow chid, or prvid from enigma2 - only this, nothink else - in enigma 1 we needn't any pmt.tmp to get this... I think in enigma2 it is also possiable ?
So any idea?
in enigma1
sapi=eDVB::getInstance()->getServiceAPI();
servicedvb=eDVB::getInstance()->settings->getTransponders()->searchService(sapi->service);
if (sapi)
chid.sprintf("%04x:%04x:%2x", sapi->service.getServiceID().get(),sapi->service.getTransportStreamID().get(), sapi->service.getOriginalNetworkID().get());
else
{
}
look at the code which does the service info screen (lib/python/Screen/ServiceInfo.py).
If you could describe a bit more what you need this for, i could maybe help you better.
So, i don't know how to get by every zap, channel id and provider name/id. If i ll make somethink which will create a TXT file in /tmp by every zap, will enigma2 makes slower ?
So no idea?
I think we need to connect to socket, to get SID, Aren't we?
All is in dvb.cpp, i think, but i can not get connection,
Can someone help ?
Look in ServiceInfo.py for different getServiceInfoValue. You may get those items from there.
Regards, pcd.