Is it possible to define the title displayed by VLC during a Network Stream?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
NathanMBR
New Cone
New Cone
Posts: 2
Joined: 07 Mar 2023 22:23

Is it possible to define the title displayed by VLC during a Network Stream?

Postby NathanMBR » 07 Mar 2023 22:56

I am building a local server that makes some series episodes and other content available so that I can watch them through VLC. The server itself is working fine, but one detail has been bothering me: the file titles are lost due to the way the URL is structured.

Basically, my server saves the file path in the database, and each file has a unique ID. When I enter the server link to watch in VLC, it is in the following format: "localhost:3000/episode/watch/<id>". The problem is that VLC is using the end of the URL as the title of the file. For example, if I access the URL "localhost:3000/episode/watch/17918", the title of the episode will also be 17918 (see photo below).

I would like to use a custom title without having to change the URL. Is there a way to do this? I couldn't find an answer by searching on Google.

Image

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

Re: Is it possible to define the title displayed by VLC during a Network Stream?

Postby Rémi Denis-Courmont » 08 Mar 2023 06:05

VLC only falls back to file name if there is no title meta-data, so the question doesn't really make much sense. VLC should display the title if there is one. That's up to the server, no matter how you look at it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

NathanMBR
New Cone
New Cone
Posts: 2
Joined: 07 Mar 2023 22:23

Re: Is it possible to define the title displayed by VLC during a Network Stream?

Postby NathanMBR » 09 Mar 2023 02:36

VLC only falls back to file name if there is no title meta-data, so the question doesn't really make much sense. VLC should display the title if there is one. That's up to the server, no matter how you look at it.
How can I set the "title" metadata you said? Is this a response header?

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

Re: Is it possible to define the title displayed by VLC during a Network Stream?

Postby Rémi Denis-Courmont » 09 Mar 2023 19:16

That depends on the container. Again, it's up to the server, so this is not the right place to ask for the specifics.
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 80 guests