# VLC multimedia player con Node Red

**URL:** <https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761>\
**Category:** General\
**Created:** [15 February 2020 19:17 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761 "2020-02-15T19:17:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![renzolang](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@renzolang](https://discourse.nodered.org/u/renzolang)\
**Post date:** [15 February 2020 19:17 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/1 "2020-02-15T19:17:39Z")

</div>

How can i run VLC CLI commands on rc ,like stop pause etc. ,when music is playing ?  
On the linux console jus i have to write pause stop next , after \>  
did someone work in this kind os situations?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [15 February 2020 19:19 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/2 "2020-02-15T19:19:54Z")

</div>

one way would be to use an `exec` node to send those commands.

---

<div class="post-metadata">

**Author:** ![renzolang](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@renzolang](https://discourse.nodered.org/u/renzolang)\
**Post date:** [15 February 2020 20:03 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/3 "2020-02-15T20:03:06Z")

</div>

hello zenofmud ,  
i work with exec node and plays music ok  
runinng play folder with  
vlc -z random/..../folder name (linux command)

but this kind of commands ,called CLI commands runs in rc port or service,  
the result is : rc error in the bottom of exec node,

+----[CLI commands]  
| add XYZ . . . . . . . . . . . . . . . . . . . . add XYZ to playlist  
| enqueue XYZ . . . . . . . . . . . . . . . . . queue XYZ to playlist  
| playlist . . . . . . . . . . . . . show items currently in playlist  
| search [string] . . search for items in playlist (or reset search)  
| delete . . . . . . . . . . . . . . . . delete item X in playlist  
| move [Y] . . . . . . . . . . . . move item X in playlist after Y  
| sort key . . . . . . . . . . . . . . . . . . . . . sort the playlist  
| sd [sd] . . . . . . . . . . . . . show services discovery or toggle  
| play . . . . . . . . . . . . . . . . . . . . . . . . . . play stream  
| stop . . . . . . . . . . . . . . . . . . . . . . . . . . stop stream  
| next . . . . . . . . . . . . . . . . . . . . . . next playlist item  
| prev . . . . . . . . . . . . . . . . . . . . previous playlist item  
| goto, gotoitem . . . . . . . . . . . . . . . . . goto item at index  
| repeat [on|off] . . . . . . . . . . . . . . toggle playlist repeat  
| loop [on|off] . . . . . . . . . . . . . . . . toggle playlist loop  
| random [on|off] . . . . . . . . . . . . . . toggle playlist random  
| clear . . . . . . . . . . . . . . . . . . . . . clear the playlist  
| status . . . . . . . . . . . . . . . . . . . current playlist status  
| title . . . . . . . . . . . . . . set/get title in current item  
| title\_n . . . . . . . . . . . . . . . . next title in current item  
| title\_p . . . . . . . . . . . . . . previous title in current item  
| chapter . . . . . . . . . . . . set/get chapter in current item  
| chapter\_n . . . . . . . . . . . . . . next chapter in current item  
| chapter\_p . . . . . . . . . . . . previous chapter in current item  
|  
| seek X . . . . . . . . . . . seek in seconds, for instance `seek 12'  
| pause . . . . . . . . . . . . . . . . . . . . . . . . toggle pause  
| fastforward . . . . . . . . . . . . . . . . . . set to maximum rate  
| rewind . . . . . . . . . . . . . . . . . . . . . set to minimum rate  
| faster . . . . . . . . . . . . . . . . . . faster playing of stream  
| slower . . . . . . . . . . . . . . . . . . slower playing of stream  
| normal . . . . . . . . . . . . . . . . . . normal playing of stream  
| rate [playback rate] . . . . . . . . . . set playback rate to value  
| frame . . . . . . . . . . . . . . . . . . . . . play frame by frame  
| fullscreen, f, F [on|off] . . . . . . . . . . . . toggle fullscreen  
| info . . information about the current stream (or specified id)  
| stats . . . . . . . . . . . . . . . . show statistical information  
| get\_time . . . . . . . . . seconds elapsed since stream's beginning  
| is\_playing . . . . . . . . . . . . 1 if a stream plays, 0 otherwise  
| get\_title . . . . . . . . . . . . . the title of the current stream  
| get\_length . . . . . . . . . . . . the length of the current stream  
|  
| volume . . . . . . . . . . . . . . . . . . set/get audio volume  
| volup . . . . . . . . . . . . . . . raise audio volume X steps  
| voldown . . . . . . . . . . . . . . lower audio volume X steps  
| achan . . . . . . . . . . . . set/get stereo audio output mode  
| atrack . . . . . . . . . . . . . . . . . . . set/get audio track  
| vtrack . . . . . . . . . . . . . . . . . . . set/get video track  
| vratio . . . . . . . . . . . . . . . set/get video aspect ratio  
| vcrop, crop . . . . . . . . . . . . . . . . set/get video crop  
| vzoom, zoom . . . . . . . . . . . . . . . . set/get video zoom  
| vdeinterlace . . . . . . . . . . . . . set/get video deinterlace  
| vdeinterlace\_mode . . . . . . . set/get video deinterlace mode  
| snapshot . . . . . . . . . . . . . . . . . . . . take video snapshot  
| strack . . . . . . . . . . . . . . . . . set/get subtitle track  
|  
| vlm . . . . . . . . . . . . . . . . . . . . . . . . . load the VLM  
| description . . . . . . . . . . . . . . . . . describe this module  
| help, ? [pattern] . . . . . . . . . . . . . . . . . a help message  
| longhelp [pattern] . . . . . . . . . . . . . . a longer help message  
| lock . . . . . . . . . . . . . . . . . . . . lock the telnet prompt  
| logout . . . . . . . . . . . . . . exit (if in a socket connection)  
| quit . . . . . . . . quit VLC (or logout if in a socket connection)  
| shutdown . . . . . . . . . . . . . . . . . . . . . . . shutdown VLC  
+----[end of help]

>

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [15 February 2020 20:56 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/4 "2020-02-15T20:56:41Z")

</div>

If you are using the rc interface then the commands need to come in via stdin... luckily you can do that if you use the node-red-node-daemon node as that runs commands like exec but uses the input wire for stdin.

---

<div class="post-metadata">

**Author:** ![renzolang](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@renzolang](https://discourse.nodered.org/u/renzolang)\
**Post date:** [15 February 2020 23:35 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/5 "2020-02-15T23:35:19Z")

</div>

muchas gracias dceejay voy a probarlo

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 April 2020 23:35 UTC](https://discourse.nodered.org/t/vlc-multimedia-player-con-node-red/21761/6 "2020-04-15T23:35:19Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
