use vlc upnp in command line

*nix specific usage questions
mgolbaz2012
New Cone
New Cone
Posts: 3
Joined: 13 Feb 2021 12:31

use vlc upnp in command line

Postby mgolbaz2012 » 21 Mar 2021 13:54

hey guys
i wanna use vlc on linux(without gui) to search upnp servers and play their music (use vlc as a upnp client). on gui it easily done but on command line:
vlc --services-discovery upnp_intel
and i get these errors:
VLC media player 3.0.10 Vetinari (revision 3.0.10-0-g7f145afa84)
[00005586ca25a030] main services discovery error: no suitable services discovery module
[00005586ca1be570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00005586ca1c2530] main playlist: playlist is empty


how can i do this? thank u all

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

Re: use vlc upnp in command line

Postby Rémi Denis-Courmont » 21 Mar 2021 20:32

It's just "upnp", but that's not going to be very useful from the CLI...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mgolbaz2012
New Cone
New Cone
Posts: 3
Joined: 13 Feb 2021 12:31

Re: use vlc upnp in command line

Postby mgolbaz2012 » 21 Mar 2021 22:23

thank you so much. it work and i can play my music with:
cvlc --services-discovery upnp http://192.168.101.100:18192/0_08+Phobia.mp3

but is there a way that i list all servers and files , like gui?

..."but that's not going to be very useful from the CLI..." why? actually i need a simple dlna client on linux and search about applications & python libs & cpp libs for a weeks..and finally decided to use vlc.

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

Re: use vlc upnp in command line

Postby Rémi Denis-Courmont » 23 Mar 2021 08:09

I think you've answered your own question.

Any VLC interface can use the UPnP SD plugin, or really any SD plugin, but you need an interface, as VLC cannot do telepathy with the user.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests