Problem solved.
Thanks
Beiträge von spinmar
-
-
Hi,
after a reboot my DM920 is showing the wrong time.
The time is one hour ore than normal.
My dm8000 in the same network (with merlin image) is showing the correct time.
How can I fix it? -
Are you sure?
Did you try to type blkid to find UUID? -
@gutemine
I read just now.
If you need I can test your picon resolver this evening.
Bye -
-
Thanks @Ghost
Today I’ll try your version too and I’ll let you know the result -
Ok. The right mask is FFFF0000 because te last 4 chars are different in rytech files.
So using this channelFilter the epgimport for DVB-T(2) is ok:Code
Alles anzeigendef channelFilter(ref): strref=str(ref) # channel = ServiceReference(strref).getServiceName() ssid = strref.split(":") if int(ssid[0]) == 1 and (int(ssid[6], 16) & 0xFFFF0000) == 0xEEEE0000: # convert hex stuff to integer sid=int(ssid[3],16) tsid=int(ssid[4],16) onid=int(ssid[5],16) dvbnamespace=int(ssid[6],16) if dvbnamespace > 2147483647: dvbnamespace -= 4294967296 dvbnamespace_mask = int('FFFF0000', 16) if dvbnamespace_mask > 2147483647: dvbnamespace_mask -= 4294967296 searchedserv=eDVBDB.getInstance().searchReference(tsid, onid, sid, dvbnamespace, dvbnamespace_mask) channel = ServiceReference(searchedserv).getServiceName() else: channel = ServiceReference(strref).getServiceName() if len(channel) > 0: print "[EPGimport] found channel %s %s" % (channel, strref) return True return False
Thanks @gutemine
PS: pay attention that you have to change the import in plugin.py:
from enigma import cachestate, eEPGCache, eDVBDB
-
Yes using the same trick for dvbnamespace_mask I have no OverflowError but the channel for DVB-T ref is empty
So is searchReference the problem?
Should I use a different dvbnamespace_mask?
Thanks -
The length of HDMI cable is important.
In the lumagen video processor scaler forum (Lumagen is the best external video processor of world) about hdmi cable you can find this:CodeLumagen strongly recommends 4k rated cables from the output of the Radiance 20XX series to the TV/projector. In addition, standard HDMI cable rules apply. Never use an HDMI cable less than 6 feet (2 meters), due to HDMI cable EQ making short cable signals too hot. Be cautious with name-brand cables. Users have seen issues with a number of the more expensive brands. Our customers have had good results with Monoprice, DVI Gear, or Bluejeans HDMI cables. Sometimes lengthening a 2 meter cable to a 3 to 5 meter HDMI cable will help if there is quite a bit of cable EQ. As cables approach 30 feet (9 meters) cable length makes HDMI cable quality (including speed rating) and receiver cable EQ critical. Try several different brand HDMI cables. At this length differences in manufacturers EQ (transmitter and receiver) and speed ratings (2k or 4k) make a significant difference.
-
The problem is that searchReference always produces an OverflowError.
Before rewriting channelFilter I wanted to be sure that searchReference is ok and understand how it works.
Thanks -
I wrote a test plugin to try searchReference method (I prefered to do this before changing EPGImport plugin) but as I wrote above I always get OverflowError.
This is the code of plugin generating the error:Coderef = '1:0:1:218C:4:13E:EEEE0204:0:0:0'; ssid = ref.split(':') sid=int(ssid[3],16) tsid=int(ssid[4],16) onid=int(ssid[5],16) dvbnamespace=int(ssid[6],16) if int(ssid[0]) == 1 and (dvbnamespace & 0xFFFF0000) == 0xEEEE0000: if dvbnamespace > 2147483647: dvbnamespace -= 4294967296 channel = eDVBDB.getInstance().searchReference(tsid, onid, sid, dvbnamespace, int('0xFFFF0000', 16))
The ref is the a RAI HD channel of italian DVB-T.
The call to searchReference generates a crash of enigma2:.............
0xb4b6168c(sp=0xbec4bbd8) <PyEval_EvalFrameEx+24024>Traceback (most recent call last):
File "/usr/lib/enigma2/python/enigma.py", line 7790, in __call__
return ret(*args, **kwargs)
File "/usr/lib/enigma2/python/Components/ActionMap.py", line 51, in action
res = self.actions[action]()
File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 48, in save
self.run()
File "/usr/lib/enigma2/python/Screens/PluginBrowser.py", line 52, in run
plugin(session=self.session)
File "/usr/lib/enigma2/python/Plugins/Extensions/Test/plugin.py", line 30, in main
channel = eDVBDB.getInstance().searchReference(tsid, onid, sid, dvbnamespace, int('0xFFFF0000', 16))
OverflowError: in method 'eDVBDB_searchReference', argument 6 of type 'int'
-------
]]>
</enigma2crashlog>I tried to change the dvbnamespace mask to -1 with same error.
@Ghost: could you tell us how to use the function?
Thanks -
@gutemine
Exactly what I did but the call to searchReference gave me the error overflow.
Tomorrow I will post the code. -
To patch automatically all 0xEEEEXXXX to 0xEEEE0000 .. or to try it makes no sense. With that I break the functionality that should be achieved by using the namespace. What I can offer is an eDVBDB.getInstance (). SearchReference (int tsid, int onid, int sid, int dvbnamespace, int dvbnamespace_mask = -1) function ... so that you can then look over the mask to see if there is a matching channel, currently the function is not exported to python. There will be a new tarball in the days. There I can take it in then.
Ok. searchReference is in the last enigma2 commit.
@Ghost could you do an example of call searchReference?
All function parameters are int while I suppose ref in epgimport is a string.
I tried to convert the various parameters got splitting the ref to int with int(X, 16) but I got this error:OverflowError: in method 'eDVBDB_searchReference', argument 5 of type 'int'
Thanks
-
To patch automatically all 0xEEEEXXXX to 0xEEEE0000 .. or to try it makes no sense. With that I break the functionality that should be achieved by using the namespace. What I can offer is an eDVBDB.getInstance (). SearchReference (int tsid, int onid, int sid, int dvbnamespace, int dvbnamespace_mask = -1) function ... so that you can then look over the mask to see if there is a matching channel, currently the function is not exported to python. There will be a new tarball in the days. There I can take it in then.
@Ghost
Any news about the new method SearchReference?
Thanks -
-
I suppose that if you generate log with the command
journalctl -fu enigma2
it will be useful for debugging. -
@dhwz
Any progress about this problem?
I have some problems with some files with DTS and it seems to me that you are very expert about audio.
My chain is this: dm920 -> lumagen radiance video processor -> out 1 to my pioneer lx52
out 2 to display
Questions:
- audio out of dm920 should be toslink or hdmi?
I know that hdmi is necessary for some formats
- How can I configure audio settings of dm920 at best?Maybe I have to use you plugin about advanced audio settings.
Thanks
-
???
Too much cryptic.
No problem. -
@CALL-DUTY
I use experimental DreamOs Image (unstable image) -
Ok. I have started with systemd.
For some tasks I prefer crond.
Thanks