Page 1 of 1

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

Posted: 07 Mar 2023 22:56
by NathanMBR
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

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

Posted: 08 Mar 2023 06:05
by Rémi Denis-Courmont
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.

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

Posted: 09 Mar 2023 02:36
by NathanMBR
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?

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

Posted: 09 Mar 2023 19:16
by Rémi Denis-Courmont
That depends on the container. Again, it's up to the server, so this is not the right place to ask for the specifics.