Not getting any reply to this, but I have found a work around that I
thought I would share with the next person trying to get xine-remote to
work in their scripts.
First off, it seem that the volume control in xine does not have much
dynamic range, but it is capable of muting the audio form xine
completely. So first thing is to set the volume to 100% with:
xine-remote -c "set audio volume 100"
you only need to do this once.
Then use amixer to adjust the volume
amixer set Master playback <volume percent desired>%
You can use
amixer get Master playback
to get the settings for the master volume. You will need to pull the
piece of information you want from the output of that command.
This works for me. I am using the pulse audio sound server.
Hope this can help someone else.
On 04/11/09 11:31 AM, Mohrgan Pratten wrote:
> I have looked all over for the answer to this question. I only see
> that others have ask but that no answer seems to be given.
> I want to use xine-remote in a control script. I can give commands like
> xine-remote -c 'set audio volume 50'
> from a script with out problem. But when I try and read or get
> information, I get nothing. eg:
> xine-remote -c 'get audio volume'
> I do get an answer when I use xine-remote in its shell like form.
> How can I get answers from xine-remote -c 'get <-some command->'?
> xine-remote --version
> This is xine-remote - xine's remote control v0.1.2.
> (c) 2000-2003 The xine Team.
> xine --verson
> This is xine (X11 gui) - a free video player v0.99.5.
> (c) 2000-2007 The xine Team.
> cat /proc/version
> Linux version 220.127.116.11-90.fc11.x86_64
> (mockbuild@...) (gcc version 4.4.1 20090725
> (Red Hat 4.4.1-2) (GCC) ) #1 SMP Sat Oct 17 11:25:35 EDT 2009
> Thank you
Get latest updates about Open Source Projects, Conferences and News.