--rc-show-pos : Improvement suggestion
Posted: 20 Apr 2006 14:20
Hi,
I am trying to write a program that will control VLC through the RC interface. One problem I am having is that I can't get a precise position from the stream currently playing.
The --rc-show-pos option provides one with a rather vague "pos: 30%". And it is not clear when this info is displayed (seems to be at every command entered with 0.8.5-test2).
I have two suggestions to try to remedy this problem:
1. Can the format be changed or enhanced as to show the number of seconds elapsed since the beginning of the stream?
"pos: 326s" or "pos: 30%, 326s" for examples...
2. Can a new command be added that would return this info instead of relying on an external event to occur...
So one would type 'position' and will be served with : "pos: 326s" for example
Any option would work for me, with a preference for #2. Does this sound like a reasonnable thing to implement?
I am trying to write a program that will control VLC through the RC interface. One problem I am having is that I can't get a precise position from the stream currently playing.
The --rc-show-pos option provides one with a rather vague "pos: 30%". And it is not clear when this info is displayed (seems to be at every command entered with 0.8.5-test2).
I have two suggestions to try to remedy this problem:
1. Can the format be changed or enhanced as to show the number of seconds elapsed since the beginning of the stream?
"pos: 326s" or "pos: 30%, 326s" for examples...
2. Can a new command be added that would return this info instead of relying on an external event to occur...
So one would type 'position' and will be served with : "pos: 326s" for example
Any option would work for me, with a preference for #2. Does this sound like a reasonnable thing to implement?