Page 1 of 2

[App] Movie Player Scene Search Patch

Posted: Tue May 27, 2014 10:33 pm
by sectroyer
This patch changes the behavior of ENTER/OK button in Movie Player. By default this key brings super useless info bar, after applying this patch it will show much more interesting Scene Search window:D

Sample usage:

Code: Select all

./scenesearchpatch -d -n exeDSP
EDIT: New version. Fixed some bugs.

Re: [App] Scene Search Patch

Posted: Tue May 27, 2014 10:58 pm
by zoelechat
Not sure that accessing this function directly will make me use it more/at all, but just for feedback: it works here :)

Code: Select all

./scenesearchpatch -d -n exeDSP
pc=428234dc lr=428234c8 sp=bedadef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: adbg_CheckSystem -> @0x03658ac4
Patched adbg_CheckSystem at @0x03658ac4
symbol: _ZN14CMMPlayerUIMgr18ShowSceneSearchWndEv -> @0x024f2260
symbol: _ZN18CMMPEventProcVideo17t_ProcessKeyEventEPK7PTEvent -> @0x024ce4a8
Scene Search Patch location found at: 0x024cf12c
Scene Search Patch applied successfully.
Patching completed!
I first thought you improved it for scenes to correspond to movie chapters but unfortunately no, still random thumbnails :mrgreen:

Re: [App] Scene Search Patch

Posted: Wed May 28, 2014 7:00 am
by sectroyer
zoelechat wrote:Not sure that accessing this function directly will make me use it more/at all, but just for feedback: it works here :)

Code: Select all

./scenesearchpatch -d -n exeDSP
pc=428234dc lr=428234c8 sp=bedadef8 fp=72bc50c
r0=fffffe00 r1=80
r2=1 r3=0
symbol: adbg_CheckSystem -> @0x03658ac4
Patched adbg_CheckSystem at @0x03658ac4
symbol: _ZN14CMMPlayerUIMgr18ShowSceneSearchWndEv -> @0x024f2260
symbol: _ZN18CMMPEventProcVideo17t_ProcessKeyEventEPK7PTEvent -> @0x024ce4a8
Scene Search Patch location found at: 0x024cf12c
Scene Search Patch applied successfully.
Patching completed!
I first thought you improved it for scenes to correspond to movie chapters but unfortunately no, still random thumbnails :mrgreen:
I just changed the button behavior. Don't expect ANY chapter related improvements :) From thousands/terabytes of video files that I have I don't have ANY video files with ANY chapters :)

Re: [App] Scene Search Patch

Posted: Wed May 28, 2014 7:50 am
by greenhorn
nice! works here too.

Re: [App] Scene Search Patch

Posted: Wed May 28, 2014 11:20 am
by zoelechat
sectroyer wrote:I just changed the button behavior. Don't expect ANY chapter related improvements :) From thousands/terabytes of video files that I have I don't have ANY video files with ANY chapters :)
Of course I was not really expecting ANYthing about chapters ;)

Btw, I feel you're out of ideas, could I ask you for another (un)useful thing to patch? More conventional :
I often use eco mode (KEY_ESAVING) and I find it would be great to be able to customize dim levels, especially re-use bottom value (=image disabled, who watch TV with image disabled? Better listen to radio :) ). Do you think it's possible? (I'm sure it is. If you have spare time, thanks ;) )

[App] Scene Search Patch

Posted: Wed May 28, 2014 11:27 am
by sectroyer
Okay. I will see what I can do but now have a lot of H hacking on my head;) besides I use no picture option:P

Re: [App] Movie Player Scene Search Patch

Posted: Fri May 30, 2014 2:49 pm
by sectroyer
New version. Please test :)

Re: [App] Movie Player Scene Search Patch

Posted: Fri May 30, 2014 8:50 pm
by zoelechat
New version works as well, I've seen no difference :)

Re: [App] Movie Player Scene Search Patch

Posted: Wed Sep 17, 2014 6:49 am
by many15
Where need to copy those files?
Thanks!

Re: [App] Movie Player Scene Search Patch

Posted: Wed Sep 17, 2014 12:14 pm
by zoelechat
Extract scenesearchpatch file (not folder) from first post archive to TV in /mnt/opt/privateer/usr/bin
Telnet to TV and set file permissions:

Code: Select all

chmod +x /mnt/opt/privateer/usr/bin/scenesearchpatch
Then you can launch patch (will be applied until next TV reboot):

Code: Select all

scenesearchpatch -n exeDSP
If you want it to be applied on every boot/startup, extract this script to /mnt/etc/init.d :
99_92_SceneSearchPatch.zip
Again set permissions:

Code: Select all

chmod +x /mnt/etc/init.d/99_92_SceneSearchPatch.init
Reboot TV, check if patch works.