This directory contains some test code for playing around with the mpv C interface. The documentation
for mpv does not include many sample programmes, so there's a fair bit of experimenting required to
work out how to correctly use the mpvlib interface. The simple.c programme is from their examples.
The test_mpv.c programme is my experiment.

Compile in the usual way by running make

To use test_mpv and play with it, you must run TWO instances of the same programme. One instance will
be a server, and the other will be sending messages to the server as you issue different commands:

1. Run the server instance by typing:
     ./test_mpv -s

2. In a **different ssh/bash session at the same time**, you can run:
     ./test_mpv      (i.e. without any parameters)
   and it will display some instructions.

   Add your first media by running the following. You could also specify a media URL if you like:
     ./test_mpv "/path/to/media/file (or a web streaming radio URL)"

   Then add additional media if you like, by running:
     ./test_mpv "/path/to/another/media/file"

   Then you can pause, stop, skip etc using the various commands as displayed by running test_mpv
   with no parameters as you did above:
     ./test_mpv "command"
