Remote Control "is_playing" function

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
AAlchemy
New Cone
New Cone
Posts: 3
Joined: 02 Mar 2009 20:49

Remote Control "is_playing" function

Postby AAlchemy » 03 Mar 2009 21:25

Why does the is_playing query return a "1" when a stream is paused? This doesn't seem correct.
Could it be changed to return a "0" when paused or stopped, and a "1" only when its truly playing.

Rémi Denis-Courmont
Developer
Developer
Posts: 15336
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Remote Control "is_playing" function

Postby Rémi Denis-Courmont » 04 Mar 2009 16:31

Problem is, it's been this way for so long that we don't know how many people will be screwed if we "fix" it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

AAlchemy
New Cone
New Cone
Posts: 3
Joined: 02 Mar 2009 20:49

Re: Remote Control "is_playing" function

Postby AAlchemy » 04 Mar 2009 16:52

How about implementing an "is_paused" query?

This is killing me. The only way I can find out if its playing or paused is to "get_time" twice and compare, this puts a significant delay in my script.

Rémi Denis-Courmont
Developer
Developer
Posts: 15336
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Remote Control "is_playing" function

Postby Rémi Denis-Courmont » 04 Mar 2009 21:07

You can file a feature request. If the ticketing system gets fixed, that is.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 118 guests