Page 4 of 12

Re: [App] libScreenShot E/F/H

Posted: Mon Oct 26, 2015 7:01 pm
by smart_lover
zoelechat wrote:To use a script, just paste commands in a script :)

Otherwise to get only filename using a "single" command:

Code: Select all

samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG PATH:/dtv/usb/sda1/Screenshot > /dev/null ; sleep 2 ; grep "/dtv/usb/sda1/Screenshot" /dtv/ScreenShot.log | sed s/.*20/20/
(will work only until 31/12/2099 :D )
It works like a charm!!! As always you are my hero.

Re: [App] libScreenShot E/F/H

Posted: Mon Oct 26, 2015 7:13 pm
by zoelechat
Actually just a mistake, replace:

Code: Select all

sed s/.*20/20/
by

Code: Select all

sed s/.*\\/20/20/
Otherwise filename will be truncated if ever it contains "20" not only in "2015" :)

Re: RE: Re: [App] libScreenShot E/F/H

Posted: Mon Oct 26, 2015 7:14 pm
by mad_ady
zoelechat wrote: (will work only until 31/12/2099 :D )
That's technically incorrect. It will also work a few times more - like in 2120. Maybe a more exact regex (such as [0-9]{14}) will keep it working till the year 10000

Re: RE: Re: [App] libScreenShot E/F/H

Posted: Mon Oct 26, 2015 7:16 pm
by zoelechat
mad_ady wrote:That's technically incorrect. It will also work a few times more - like in 2120. Maybe a more exact regex (such as [0-9]{14}) will keep it working till the year 10000
Fixed, check above ;)
"/20" will never happen after 2099, right? (damn, in 84 years script will have to be updated :P )
Anyway it's not a contest of the better regex, I just shown one amongst several ways, and it's up to you to use a meter long commandline when few chars are enough :)

Re: RE: Re: [App] libScreenShot E/F/H

Posted: Mon Oct 26, 2015 8:03 pm
by smart_lover
zoelechat wrote:
mad_ady wrote:That's technically incorrect. It will also work a few times more - like in 2120. Maybe a more exact regex (such as [0-9]{14}) will keep it working till the year 10000
Fixed, check above ;)
"/20" will never happen after 2099, right? (damn, in 84 years script will have to be updated :P )
Anyway it's not a contest of the better regex, I just shown one amongst several ways, and it's up to you to use a meter long commandline when few chars are enough :)
I agree.

Re: [App] libScreenShot E/F/H

Posted: Sun Mar 06, 2016 3:56 pm
by Algol
I've done it! :)

Image

Using telnet (putty) with this command:

Code: Select all

samyGOso -A -B -l /mnt/opt/privateer/usr/libso/libScreenShot.so JPG ALT PATH:/dtv/usb/sdb1/__screenshots
Half a job done!

Now just to bind it to a key on my RC, for a practical usage (if possible).

TV: UE40H6200AK
Firmware: T-MST14DEUC-2120 , BT - S

Re: [App] libScreenShot E/F/H

Posted: Sun Mar 06, 2016 4:31 pm
by zoelechat
Well done ;)
Algol wrote:Now just to bind it to a key on my RC, for a practical usage (if possible).
No problem it's possible, but a bit pain in the ass on H to inject lib as root from another lib, when you're only "app" user. Use provided script (rcRemap_capture_H), check inside it, and verify your working netcat port, you might have to change 2023 to 3023 in script.
...and of course your commandline syntax. Btw, no need for JPG arg when you're using ALT, it's mandatorily jpeg.

Re: [App] libScreenShot E/F/H

Posted: Sun Mar 06, 2016 4:33 pm
by Algol
Ok, thanks for advice, I'll do that tomorrow. :)
zoelechat wrote:Well done ;)

Btw, no need for JPG arg when you're using ALT, it's mandatorily jpeg.
Ok, I'll remove JPG.

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Wed Mar 16, 2016 12:35 pm
by Algol
Zoelechat, which extension libRCremap_capture_H should have?

Re: [App] SamyGO RCremap for C/D(arm)/E/F/H with CMD support

Posted: Wed Mar 16, 2016 12:44 pm
by zoelechat
Why do you want to rename it? :)