Gplay options via command line

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gplay options via command line

3,545 Views
manjunathjoshi
Contributor V

Hello all,

I am keen to know if gplay has command line options to set the volume or to mute.

When i do gplay --help on command prompt, only

gplay file_list

is shown.

But when i play using gplay sample.mp3,

i get options to pause,play,stop,mute etc.

My intention is to control the options via command line at the command gplay execution itself not while it is playing.

Regards,

Manju

Labels (2)
0 Kudos
Reply
3 Replies

2,410 Views
Yuri
NXP Employee
NXP Employee

  Please look at the enclosed.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

2,410 Views
manjunathjoshi
Contributor V

Hello Yuri,

Last line in chapter 1 says

Customers can operate the player through pressing keys from keyboard.

That's my question.

Can we do it in one shot. say for example:

gplay sample.mp3 -v 100%  or something like that to change the volume to 100%

or

gplay sample.mp3 -m to mute

Note: Above are just examples that i would like to have as a user.

Is there something like that??

Regards,

Manju

0 Kudos
Reply

2,410 Views
Yuri
NXP Employee
NXP Employee

You may try to use standard Linux features. As an example :

$ (echo "key_A" ; sleep 5 ; echo "key_B") | gplay "file_name"

Regards,

Yuri

0 Kudos
Reply