Page 3 of 6
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:31 pm
				by brunogts77
				zoelechat wrote:sectroyer wrote:Edit init script. Are you sure you only have problem with seek patch. Does disabling seek patch helps with your reboot problem ?
He has the same problem with moviedelpatch, and yes stopping scripts solves reboot issue.
@bruno
Open 99_96_SeekPatch.init in text editor (use Notepad++, not Windows Notepad!!!)
Find the line:
and add this line just under it:
Save, install script to TV as described, reboot TV, wait 7/8 minutes and see if patch works or if TV reboots.
 
just like this:
Code: Select all
#!/bin/sh
#
# ? Copyright 1996-2014, zoelechat@SamyGO
#
# sleep 360
. /dtv/SGO.env
PATCHDIR=$SYSROOT/opt/privateer/usr/bin
#Seconds to seek, negative values to rewind
LeftKey=-60
RightKey=60
DownKey=-300
UpKey=300
stop_bootloop()
{
	for USB in /dtv/usb/sd* ; do
		echo "checking $USB"
		[ -e $USB/STOP ] && echo "STOP found. Script exit..." && exit 1
	done
}
case $1 in 
	start)
	stop_bootloop
	$PATCHDIR/seekpatch -n exeAPP -l $LeftKey -r $RightKey -o $DownKey -u $UpKey 2>&1 | tee /dtv/SeekPatch.log
	;;
	stop)
	;;
	status)
	[ -f /dtv/SeekPatch.log ] && cat /dtv/SeekPatch.log || echo "Not started"
	;;
	*)
	echo "Usage: $0 {start|stop|status}" 1>&2
	exit 0
	;;
esac
 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:33 pm
				by sectroyer
				Sorry I still don't get how you did stop it 

 try running this:
Code: Select all
rm full_path_to_init_moviedelete_patch_script
 
Code: Select all
rm full_path_to_init_seekpatch_script
 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:37 pm
				by brunogts77
				How did you disable it ?
Put usb stick on tv with fille "Stop" and then over FTP change script extension "init" to "dis"!
 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:37 pm
				by zoelechat
				brunogts77 wrote:just like this:
Code: Select all
#!/bin/sh
#
# ? Copyright 1996-2014, zoelechat@SamyGO
#
# sleep 360
. /dtv/SGO.env
PATCHDIR=$SYSROOT/opt/privateer/usr/bin
#Seconds to seek, negative values to rewind
LeftKey=-60
RightKey=60
DownKey=-300
UpKey=300
stop_bootloop()
{
	for USB in /dtv/usb/sd* ; do
		echo "checking $USB"
		[ -e $USB/STOP ] && echo "STOP found. Script exit..." && exit 1
	done
}
case $1 in 
	start)
	stop_bootloop
	$PATCHDIR/seekpatch -n exeAPP -l $LeftKey -r $RightKey -o $DownKey -u $UpKey 2>&1 | tee /dtv/SeekPatch.log
	;;
	stop)
	;;
	status)
	[ -f /dtv/SeekPatch.log ] && cat /dtv/SeekPatch.log || echo "Not started"
	;;
	*)
	echo "Usage: $0 {start|stop|status}" 1>&2
	exit 0
	;;
esac
 
Yes, but remove "#" before "sleep 360" or command won't be executed 

 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:38 pm
				by sectroyer
				brunogts77 wrote:How did you disable it ?
Put usb stick on tv with fille "Stop" and then over FTP change script extension "init" to "dis"!
 
ahh and you changed only extensions of these two init scripts? And now WITHOUT usb plugged in tv doesn't reboot anymore ?
 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:39 pm
				by brunogts77
				zoelechat wrote:brunogts77 wrote:just like this:
Code: Select all
#!/bin/sh
#
# ? Copyright 1996-2014, zoelechat@SamyGO
#
# sleep 360
. /dtv/SGO.env
PATCHDIR=$SYSROOT/opt/privateer/usr/bin
#Seconds to seek, negative values to rewind
LeftKey=-60
RightKey=60
DownKey=-300
UpKey=300
stop_bootloop()
{
	for USB in /dtv/usb/sd* ; do
		echo "checking $USB"
		[ -e $USB/STOP ] && echo "STOP found. Script exit..." && exit 1
	done
}
case $1 in 
	start)
	stop_bootloop
	$PATCHDIR/seekpatch -n exeAPP -l $LeftKey -r $RightKey -o $DownKey -u $UpKey 2>&1 | tee /dtv/SeekPatch.log
	;;
	stop)
	;;
	status)
	[ -f /dtv/SeekPatch.log ] && cat /dtv/SeekPatch.log || echo "Not started"
	;;
	*)
	echo "Usage: $0 {start|stop|status}" 1>&2
	exit 0
	;;
esac
 
Yes, but remove "#" before "sleep 360" or command won't be executed 

 
OK
Ok, i will try!
 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:40 pm
				by zoelechat
				@sectroyer
scripts enabled: bootloop
scripts disabled: no bootloop
 

 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:44 pm
				by brunogts77
				sectroyer wrote:brunogts77 wrote:How did you disable it ?
Put usb stick on tv with fille "Stop" and then over FTP change script extension "init" to "dis"!
 
ahh and you changed only extensions of these two init scripts? And now WITHOUT usb plugged in tv doesn't reboot anymore ?
 
Yes!!! 

 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:45 pm
				by sectroyer
				Hehe, strange add sleep 360 and see what happens, worse case scenario you will have some time to disable it 

 
			 
			
					
				Re: [App] Movie Player Seek Patch
				Posted: Thu Oct 09, 2014 5:59 pm
				by brunogts77
				Ok, I have tried but tv reboots!!! 
