[vlc-devel] commit: Allow lua "meta reader" and implement a meta reader from filename. (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Jan 7 02:38:27 CET 2010
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Jan 7 01:07:02 2010 +0100| [555cb288eea92ac9b2b5416225f678323f439ece] | committer: Pierre d'Herbemont
Allow lua "meta reader" and implement a meta reader from filename.
"filename.lua"
will check if the file name respects the following form:
"Show.Name S19E01-jde.DEf.avi"
upon success, it will fill the show name, the episode number and
season number in the meta data.
It will also set the title to "Show Name S19E01"
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=555cb288eea92ac9b2b5416225f678323f439ece
---
modules/misc/lua/meta.c | 134 ++++++++++++++------------
modules/misc/lua/vlc.c | 6 +
modules/misc/lua/vlc.h | 2 +
share/Makefile.am | 8 +-
share/lua/meta/{ => art}/01_musicbrainz.lua | 5 +-
share/lua/meta/{ => art}/10_googleimage.lua | 18 ++--
share/lua/meta/{ => art}/README.txt | 2 +-
share/lua/meta/reader/README.txt | 14 +++
share/lua/meta/reader/filename.lua | 52 ++++++++++
9 files changed, 165 insertions(+), 76 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=555cb288eea92ac9b2b5416225f678323f439ece
More information about the vlc-devel
mailing list