Filename in title bar

Discuss your Lua playlist, album art and interface scripts.
shmuel
New Cone
New Cone
Posts: 3
Joined: 22 Jan 2012 14:48

Filename in title bar

Postby shmuel » 18 Nov 2014 16:18

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?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Filename in title bar

Postby mederi » 18 Nov 2014 19:57

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 [$]

shmuel
New Cone
New Cone
Posts: 3
Joined: 22 Jan 2012 14:48

Re: Filename in title bar

Postby shmuel » 19 Nov 2014 14:14

Thanks. I never would have figured that out. They should add '$' to the tooltip over "Change title according to current media".


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 12 guests