Page 1 of 1

Filename in title bar

Posted: 18 Nov 2014 16:18
by shmuel
I hope this is the right place to post this.

According to this forum post, https://forum.videolan.org/viewtopic.ph ... 40#p328330,
to get the title bar bar to display the filename and not the metadata, you remove the script at this location:
%Program Files%\VideoLAN\VLC\lua\meta\reader\filename.luac

I deleted both of these files on my computer, closed VLC and opened an MP3, and I still don't have the filename in the title bar.
C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac
C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac

Any ideas?

Re: Filename in title bar

Posted: 18 Nov 2014 19:57
by mederi
filename.lua: http://git.videolan.org/?p=vlc.git;a=bl ... ua;hb=HEAD
The script parses a filename of a video file and returns a new title with spaces instead of dots and without a text after the SxxExx (it can be an epizode's name): "Show.Name.S01E12-blah.avi" --> "Show Name S01E12"

There is an option in VLC preferences to display a filename in the title bar:
Tools > Preferences > Show settings = All > Input/Codecs: Change title according to current media [$]

Re: Filename in title bar

Posted: 19 Nov 2014 14:14
by shmuel
Thanks. I never would have figured that out. They should add '$' to the tooltip over "Change title according to current media".