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.