Commit Graph

7 Commits

Author SHA1 Message Date
Bryan Schumaker
8a08967a48 Simplify remote commands
- Read a command from the pipe, rather than reading a file with a
  command in it.
- Use a single ocarina script for all commands, rather than several two
  line scripts.
- Change ocarina.bin to point to ocarina instead of ocarina-player for
  convenience.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-13 22:47:31 -04:00
Bryan Schumaker
258875bdb8 libsaria: Move header files out of include/libsaria/
Ocarina no longer has a header file subdirectory so there is no reason
to have a libsaria subdirectory anymore.  Putting header files directly
in the include/ directory is a bit simpler.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-09-12 08:15:31 -04:00
Bryan Schumaker
0dfb02c612 libsaria: Added a "toggle" command
This toggles between play and pause states.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 11:07:05 -04:00
Bryan Schumaker
794580b4d0 libsaria: Add "stop" command
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 11:02:54 -04:00
Bryan Schumaker
e632ff1012 libsaria: Added "next" and "prev" commands
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 10:55:49 -04:00
Bryan Schumaker
838b2b3d8f libsaria: Recognize a "pause" command
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-28 10:51:14 -04:00
Bryan Schumaker
ea7b66ae6d libsaria: Read file from pipe
Scripts should write commands to a temporary file and then write the
path to that file to the application pipe.  I can then write results of
the command to this file before exiting.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
2012-05-17 11:51:36 -04:00