modificación waitpid0000 mbox-e2 openpli
en el script que hizo pinguino para ACJ era basado en decos que utilizan pmt.tmp.
Pero en receptores que utilizan camd.socket o sea engima2 o openpli, pues no valia el script o si simulabamos el cambio de canal y volver al que estabamos pues tardaba 4-5 segundo en ver imagen. [B]Haciendo esta pequeña modificacion que hice pues se soluciona el problema para decos e2:[/B] [LEFT][COLOR=#000000][FONT=Verdana]Pero antes hay que modificar “[/FONT][/COLOR][COLOR=#000000][FONT=Verdana][B]navegation.py[/B][/FONT][/COLOR][COLOR=#000000][FONT=Verdana]” y reinicar el deco:[/FONT][/COLOR] [COLOR=#000000][FONT=Verdana]a) Abrimos el archivo navegation.py ubicado en /usr/lib/enigma2/phyton (lo abrimos con un editor de textos).[/FONT][/COLOR] [COLOR=#000000][FONT=Verdana]b) buscamos la siguiente línea:[/FONT][/COLOR][/LEFT] [COLOR=#000000][FONT=Verdana][CENTER]def playService(self, ref, checkParentalControl = True, forceRestart = False): [/FONT][/COLOR][/CENTER] [LEFT][COLOR=#000000][FONT=Verdana]Pues en forceRestart = False ---> lo cambiamos por True ------------> y quedaria asi:[/FONT][/COLOR][/LEFT] [COLOR=#000000][FONT=Verdana][CENTER]def playService(self, ref, checkParentalControl = True, forceRestart = True): [/FONT][/COLOR][/CENTER] [LEFT][FONT=Verdana]c) A continuación reiniciamos el deco......... B) en el script de pinguino poner: [/FONT][/LEFT][CODE][LEFT][FONT=monospace]SERVICE=`wget "http://127.0.0.1/web/subservices" -O- | grep e2servicereference | cut -f8 -d"e" | cut -f1 -d"<" | cut -c2-`[/FONT] [FONT=monospace]wget "http://127.0.0.1/web/zap?sRef=$SERVICE" -O-[/FONT][/LEFT][/CODE] o podemo poner esto: Código:
[LEFT][FONT=monospace]SERVICE=`wget "http://root:root@localhost/web/subservices" -O- | grep e2servicereference | cut -f8 -d"e" | cut -f1 -d"<" | cut -c2-`[/FONT] |
La franja horaria es GMT +2. Ahora son las 23:32. |
Powered por vBulletin™ Version 3.8.10
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.
Traducido por vBsoporte - vBulletin en español
ZackYFileS - Foros de Debate