2 * Copyright 2016-2017, Dario Casalinuovo. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 #include <Application.h>
11 #include "MediaPlay.h"
12 #include "MediaTest.h"
18 printf(" media_client play <uri>\n");
19 printf(" media_client test\n");
23 int main(int argc
, char *argv
[])
30 BApplication
* app
= new BApplication(
31 "application/x-vnd.Haiku-media_client");
34 if (strcmp(argv
[1], "play") == 0) {
38 ret
= media_play(argv
[2]);
39 } else if (strcmp(argv
[1], "test") == 0)