Jump to content


Photo

user script on green button.


  • Please log in to reply
93 replies to this topic

Re: user script on green button. #81 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 14 November 2014 - 13:34

forget it, it's not comfortable - i post you here a screenshot plugin that works fast and perfect (it's from @mogli123).
you must configure it - where you want to have the screenshots and with which button on your remote control you want to make the screenshots.

Attached Files
 

 

I've looked for it in the plugins list but I haven't found it. Have it another name than screenshot or it's not in the plugins list?

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #82 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 14 November 2014 - 13:36

Hi,

 

@littlesat,

 

Or relace it by localhost or 127.0.0.1

that's a very good option :)  so i can make the script a little bit smaller now.

 

@sjlouis,

through the tip from @littlesat - here now a new script (as i said it's now a little bit smaller);

#!/bin/sh

## variables ##
HOST=http://localhost
IFCONFIG=/sbin/ifconfig
WGET=/usr/bin/wget
ECHO=/bin/echo
MV=/bin/mv
RSYNC=/usr/bin/rsync
TMP=/tmp
LOGFILE=$TMP/transfered_series.log
MOVIEDIR=/media/hdd/movie
SERIESDIR=Series
TARGETDIR=/media/sdc2/movie/Series
TRASH=/movie/.Trash
OTHER_MEDIA=/media/sdc1
MESSAGES="*type=*"


# switch to the directory /tmp (TMP) so that the wget message files are then in /tmp (TMP)
cd $TMP


# if the script starts again - delete first the old files to wget messages in /tmp (TMP)
rm -f $MESSAGES


# job start (start time) and wget message on the osd of the tv
STARTDATE="$(date +%a:%b:%Y:%H:%M)" && $ECHO -e "\n! JOB START -> $STARTDATE !\n" > $LOGFILE
$WGET "$HOST/web/message?text=!%20backup%20starts...%20->%20$STARTDATE%20!&type=1&timeout=15"
sleep 10


# wget error message if mv (MV) or rsync (RSYNC) fails
osd_error_message() {
    $WGET "$HOST/web/message?text=!!!%20truncation%20!!!%20details%20thereto%20in%20$LOGFILE%20!&type=3"
}


# transfered series to the targetdirectory (TARGETDIR)
$ECHO -e "\ntransfered series..." >> $LOGFILE
$MV $MOVIEDIR/$SERIESDIR/*"Arrow"* $TARGETDIR && $MV $MOVIEDIR/$SERIESDIR/*"Being Human"* $TARGETDIR && \
$MV $MOVIEDIR/$SERIESDIR/*"Californication"* $TARGETDIR

# query if the programm mv (MV) fails, if yes the script stops if not all is ok
if [ "$?" = "0" ] ; then
	$ECHO -e "\n! transfered series successful finalized !\n" >> $LOGFILE
else
	osd_error_message
	$ECHO -e "\n!!! truncation !!! transfered series failed," >> $LOGFILE
	$ECHO -e "maybe through problems with esata disc.\n" >> $LOGFILE
	exit 1
fi


# backup the files with rsync (RSYNC)
$ECHO "backup files..." >> $LOGFILE
$RSYNC -ortuv --delete --exclude=$TRASH $MOVIEDIR $OTHER_MEDIA

# query if the programm rsync (RSYNC) fails, if yes the script stops if not all is ok
if [ "$?" = "0" ] ; then
	$ECHO -e "\n! backup files successful finalized !\n" >> $LOGFILE
else
	osd_error_message
	$ECHO -e "\n!!! truncation !!! backup files failed," >> $LOGFILE
	$ECHO -e "maybe through problems with esata disc.\n" >> $LOGFILE
	exit 1
fi


# job end (end time) and wget message on the osd of the tv
ENDDATE="$(date +%a:%b:%Y:%H:%M)" && $ECHO -e "\n! JOB END -> $ENDDATE !\n" >> $LOGFILE
$WGET "$HOST/web/message?text=!%20backup%20successful%20completed%20->%20$ENDDATE%20!&type=1"


exit

regards

Biki3


Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #83 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 14 November 2014 - 13:43

Hi sjlouis,

 

 

I've looked for it in the plugins list but I haven't found it. Have it another name than screenshot or it's not in the plugins list?

it's in plugin list - look here at the first picture;

http://forums.openpl...ndpost&p=454323

you didn't see that in your plugin list ?

after install you must make a complete reboot of your box, did you ?

 

now to messagetyp again;

 

type=1;

Attached File  Screenshot-ORF1_HD9313.jpg   40.21KB   2 downloads

 

type=2;

Attached File  Screenshot-ORF1_HD8381.jpg   42.16KB   2 downloads

 

type=3;

Attached File  Screenshot-ORF1_HD5270.jpg   43.44KB   2 downloads

 

type=0;

Attached File  Screenshot-ORF1_HD2809.jpg   41.64KB   2 downloads

 

 

regards

Biki3


Edited by Biki3, 14 November 2014 - 13:45.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #84 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 14 November 2014 - 14:00

Hi sjlouis,

 

localhost stands for  "the currently used system or the currently used IP address"

normally is the own system under the IP address 127.0.0.1 accessible for IP applications

so localhost and 127.0.0.1 it's quasi the same.

 

regards

Biki3


Edited by Biki3, 14 November 2014 - 14:01.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #85 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 14 November 2014 - 14:00

For the plugin, on your screenshot, it's not the plugin list to download, sometimes it's not exactly the same name. As you have already downloaded it, you can get its technical name on the plugin list to delete.

 

I think it's an extension but I've sought in all directories.

 

What is 127.0.0.1? It's a generic IP address?

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #86 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 14 November 2014 - 14:06

Ok, we have responded in the same time :D .

 

And for the plugin name?


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #87 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 14 November 2014 - 14:13

Hi sjlouis,

 

 

What is 127.0.0.1? It's a generic IP address?

look here;

http://forums.openpl...ndpost&p=454780

 

i think the plugin screenshot isn't on pli feed.

you must download the plugin here in the post thereto then you put the file;

enigma2-plugin-extensions-screenshot_0.4_mips32el.ipk

on your box with ftp (filezilla as example) in the directory /tmp and then you can install it in telnet with the following commands;

cd /tmp
opkg install *.ipk
reboot

or you install it with plugin DreamExplorer which you can find on pli feed.

if you install it with DreamExplorer you put the package to screenshot plugin also to /tmp on your box

and then you go with DreamExplorer to /tmp here you mark the screenshot package and then you press the ok button on your remote control

the following question you must answer with yes - that's it.

at last you must reboot the box complete.

 

 

regards

Biki3


Edited by Biki3, 14 November 2014 - 14:14.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #88 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 14 November 2014 - 14:54

Yes I've read it for 127.0.0.1, we've posted our response in the same time.

 

For the plugin, I know I can use opkg install *.ipk but I would want to know its name and use the standard installation (with the green button I think ;) ). I've looked for "Screenshot" in the extension list to download it. It seems to me that there are 2 plugins whose name contents "Screenshot".

 

And effectively, the ET9200 have a little more memory than the ET9000 (256 instead of 128).

 

Thank you.


Edited by sjlouis, 14 November 2014 - 14:55.

Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #89 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 14 November 2014 - 18:22

Hi,

 

 

And effectively, the ET9200 have a little more memory than the ET9000 (256 instead of 128).

yes i know :) ;

http://forums.openpl...ndpost&p=454656

after second quote.

 

 

For the plugin, I know I can use opkg install *.ipk but I would want to know its name and use the standard installation (with the green button I think ;) ). I've looked for "Screenshot" in the extension list to download it. It seems to me that there are 2 plugins whose name contents "Screenshot".

as i said i think this plugin isn't on pli feed (under menu -> plugins -> green button -> extensions)

but if you didn't want to install screenshot manually then on pli feed are other plugins which do the same job

as example shootyourscreen

then is there also a plugin with name screengrabber but i don't know as it does the same.

 

 

regards

Biki3


Edited by Biki3, 14 November 2014 - 18:24.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #90 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 15 November 2014 - 08:53

Ok, I haven't understood it wasn't on Pli feed (sorry, I'm not easy in English). And how is possible it works on OpenPli if it's not supported by OpenPli? And how have you discovered it?

 

Yesterday, before reading your response, I've installed screengrabber to see if it is screenshot, but it's not. I haven't tested it to avoid a crash while I was recording. But I will test it.

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #91 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 15 November 2014 - 13:24

Hi,

 

 

And how is possible it works on OpenPli if it's not supported by OpenPli? And how have you discovered it?

i'am also in other forums and this plugin is from et-view forum and it works in all images also in pli image absolutely correct.

it isn't on pli feed but it's absolutely compatibel with pli image so not fear :)

you can install it without any problems it's a very short plugin too and if you want to deinstall it later

it's no problem you can do it under menu -> plugins -> red button -> extensions.

 

just because it isn't on pli feed so does it not mean that it is not compatibel with pli image :)

 

 

regards

Biki3


Edited by Biki3, 15 November 2014 - 13:25.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #92 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 15 November 2014 - 14:03

Ok, thank you very much. I didn't know that. As I'm not easy with English, I don't really read foreign forums :unsure: .

 

I've tried the 2 plugins for screenshot. The 2 work well but :

- Screengrabber uses only one screenshot file. If you do another screenshot, it replaces the old one with the new one, it's not possible to have a collection. It's not convenient. And there are few possibilities for storing directory of the screenshot file.

- Shotyourscreen is more interesting but we have only one choice for the key which launches the screenshot. They say something as we can switch between Help and Help long but I haven't really understood how it works.

 

Thank you :) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: user script on green button. #93 Pike_Bishop

  • Senior Member
  • 1,130 posts

+72
Good

Posted 15 November 2014 - 14:47

Hi,

 

then screengrabber it's not so good.

shootyourscreen ? i didn't use it - you can even test it open a menu on your box and press help button

then it will make a screenshot from the menu on osd.

 

in the screenshot plugin which i have postet in this thread i can make screenshots if i press the button mark.

 

regards

Biki3


Edited by Biki3, 15 November 2014 - 14:50.

Receiver: VU Ultimo 4K, Octagon SF8008 4K, Gigablue Quad 4K

Image: OpenPLI-8.3


Re: user script on green button. #94 sjlouis

  • Senior Member
  • 1,538 posts

+3
Neutral

Posted 15 November 2014 - 14:49

It's because I have tested them I have wrote my opinions ;) .


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users