Discussion:
[vlc] RC question
Edit B
2015-01-06 15:39:21 UTC
Permalink
Hi there,
Trying to control VLC from my work by shelling to it.
Firering it up with a command line is no problem, but I need to interact
with it.
Now -I rc comes close, but sadly now a new DOS box opens (i'm on Windows),
and i can't interact with that from my work.
So, i added --rc-quiet and re-routed stdErr to stdOut. This is an
improvement, but I only get a few messages, (like an error if the input file
does not exist, but not things like volume changes if I do so in the player
window), and I'm not able to get VLC to accept the commands I send (Like
"seek 1")

What am I missing here?


I rather not use Telnet, as the implementation of that in my (ancient)
programming environment is less than stellar...

(Excuse me if i've got the lingo wrong, i'm not really experienced in this.)

Tia,

Bouke


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Chris Angelico
2015-01-06 15:46:35 UTC
Permalink
Post by Edit B
I rather not use Telnet, as the implementation of that in my (ancient)
programming environment is less than stellar...
Out of curiosity, what programming environment? The telnet interface
is simply a TCP/IP socket connection. It's pretty easy to program in
any language.

ChrisA
Edit B
2015-01-06 16:54:57 UTC
Permalink
----- Original Message -----
From: "Chris Angelico" <***@gmail.com>
To: "Mailing list for VLC media player users" <***@videolan.org>
Sent: Tuesday, January 06, 2015 4:46 PM
Subject: Re: [vlc] RC question
Post by Chris Angelico
Post by Edit B
I rather not use Telnet, as the implementation of that in my (ancient)
programming environment is less than stellar...
Out of curiosity, what programming environment? The telnet interface
is simply a TCP/IP socket connection. It's pretty easy to program in
any language.
Chris,
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)

Bouke
Post by Chris Angelico
ChrisA
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
Chris Angelico
2015-01-06 17:02:55 UTC
Permalink
Post by Edit B
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)
I'm not familiar with Director (is it
https://en.wikipedia.org/wiki/Lingo_(programming_language) ?), but if
you pick up something like Python, you'll be able to establish a
socket connection easily. I made a simple program a little while ago
that, among other things, could pause and resume a video, using the
telnet interface. There may not be a command-line 'telnet' program on
your platform, but there's certainly BSD socket support, which is all
you really need.

ChrisA
h***@frontier.com
2015-01-06 18:05:31 UTC
Permalink
Why are you asking me questions?I have been asking them questions trying to understand VLC.I understand very little about VLC, I need help also.
Post by Edit B
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)
I'm not familiar with Director (is it
https://en.wikipedia.org/wiki/Lingo_(programming_language) ?), but if
you pick up something like Python, you'll be able to establish a
socket connection easily. I made a simple program a little while ago
that, among other things, could pause and resume a video, using the
telnet interface. There may not be a command-line 'telnet' program on
your platform, but there's certainly BSD socket support, which is all
you really need.

ChrisA
Edit B
2015-01-06 18:10:10 UTC
Permalink
Dude, this is a mailing list, i'm not asking YOU questions, i'm asking EVERY subscriber for help.
Those who know might answer, others might learn...

Bouke
----- Original Message -----
From: ***@frontier.com
To: Mailing list for VLC media player users
Sent: Tuesday, January 06, 2015 7:05 PM
Subject: Re: [vlc] RC question


Why are you asking me questions?
I have been asking them questions trying to understand VLC.
I understand very little about VLC, I need help also.
Post by Edit B
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)
I'm not familiar with Director (is it
https://en.wikipedia.org/wiki/Lingo_(programming_language) ?), but if
you pick up something like Python, you'll be able to establish a
socket connection easily. I made a simple program a little while ago
that, among other things, could pause and resume a video, using the
telnet interface. There may not be a command-line 'telnet' program on
your platform, but there's certainly BSD socket support, which is all
you really need.

ChrisA
______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc





------------------------------------------------------------------------------


______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
h***@frontier.com
2015-01-06 18:52:18 UTC
Permalink
I am sorry, I misunderstood.Please accept my apology.
I need to ask my question so I might get a answer.


On Tuesday, January 6, 2015 1:10 PM, Edit B <***@editb.nl> wrote:


Dude, this is a mailing list, i'm not asking YOUquestions, i'm asking EVERY subscriber for help.Those who know might answer, others might learn... Bouke----- Original Message -----
From: ***@frontier.com To: Mailing list for VLC media player users Sent: Tuesday, January 06, 2015 7:05 PM Subject: Re: [vlc] RC question
Why are you asking me questions? I have been asking them questions trying to understand VLC. I understand very little about VLC, I need help also.
Post by Edit B
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)
I'm not familiar with Director (is it
https://en.wikipedia.org/wiki/Lingo_(programming_language) ?), but if
you pick up something like Python, you'll be able to establish a
socket connection easily. I made a simple program a little while ago
that, among other things, could pause and resume a video, using the
telnet interface. There may not be a command-line 'telnet' program on
your platform, but there's certainly BSD socket support, which is all
you really need.

ChrisA
______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc


______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc




| | This email has been checked for viruses by Avast antivirus software.
www.avast.com |
Edit B
2015-01-10 18:01:20 UTC
Permalink
----- Original Message -----
From: "Chris Angelico" <***@gmail.com>
To: "Mailing list for VLC media player users" <***@videolan.org>
Sent: Tuesday, January 06, 2015 6:02 PM
Subject: Re: [vlc] RC question
Post by Chris Angelico
Post by Edit B
Still working in Director (using a lot of Xtras)
Under Win, i can get Telnet to work (althought with a lot of hoops), but
that does not work on Mac, and i fear it won't work on Win anymore anytime
soon.
Besides, from the docs, Telnet is limited compared to shelling / RC
It's the only language i know, and i still like it very much (It's really
fast for small / one-off projects)
I'm not familiar with Director (is it
https://en.wikipedia.org/wiki/Lingo_(programming_language) ?), but if
you pick up something like Python, you'll be able to establish a
socket connection easily. I made a simple program a little while ago
that, among other things, could pause and resume a video, using the
telnet interface. There may not be a command-line 'telnet' program on
your platform, but there's certainly BSD socket support, which is all
you really need.
Chris,
Got HTTP to work, firering VLC using shell, with
--intf http --http-host 127.0.0.1:8080

Then I can talk to VLC with
YaddaLingoStuff(127.0.0.1:8080/requests/status.xml?command=pl_play) etc.

However, I can't seem to get status. If i ask for status, VLC starts telling
me there is no password set.
Ok, i can start VLC with a password, by adding --http-password
myVerySecretPassword

But how to log in then? Or do i need to send the password on each command i
send to VLC. In what syntax?

Thx,
Bouke
Post by Chris Angelico
ChrisA
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

Loading...