Greg Erskine wrote: 
> hi kolossos4730,
> 
> Very nice. ;) Saved us a lot of work.
> 
> As a possible option?
> 
> Included in pCP1.22 we have added a pCP CLI with a few basic command. If
> you type # pcp you will get a list of commands.
> 
> So instead of using piCore commands it is slightly better if you call
> the pCP version. We have done this to simply coding, make things a
> little more consistent and in some circumstances we have found little
> issues that we have overcome. So instead of "sudo filetool.sh -b" use
> "pcp bu".
> 
> Unfortunately, I put pcp CLI in /home/tc/.local/bin so jivelite doesn't
> have pcp in its path, so you will need to prefix pcp with
> /home/tc/.local/bin/.  I will move it to a more general bin directory
> next release.
> 
> > 
Code:
--------------------
  >   > os.execute("/home/tc/.local/bin/pcp rb")
  > os.execute("/home/tc/.local/bin/pcp sd")
  > os.execute("/home/tc/.local/bin/pcp bu")
--------------------
> > 
> 
> This pCP CLI is intended to make it easy to call common pCP functions
> from the command line and also for use in non piCorePlayer scripts.
> 
> Thanks
> Greg

Greg,

Attached is a modified version which uses the pcp commands. Also the
display is turned off before shutting down.

Is there a way to test which version of piCorePlayer is running? 

Regards,

Arie

19459


+-------------------------------------------------------------------+
|Filename: piCorePlayerAppletv2.zip                                 |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=19459|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
kolossos4730's Profile: http://forums.slimdevices.com/member.php?userid=63988
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to