[vlc-devel] commit: LUA: fix directory separator for meta data scripts ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun Feb 21 13:52:32 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 21 14:52:16 2010 +0200| [59b6f7d50c12dba264178402ebf00583b2f71321] | committer: Rémi Denis-Courmont
LUA: fix directory separator for meta data scripts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=59b6f7d50c12dba264178402ebf00583b2f71321
---
modules/misc/lua/meta.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/modules/misc/lua/meta.c b/modules/misc/lua/meta.c
index 200ae2f..b61ec4e 100644
--- a/modules/misc/lua/meta.c
+++ b/modules/misc/lua/meta.c
@@ -234,9 +234,8 @@ int ReadMeta( vlc_object_t *p_this )
demux_meta_t *p_demux_meta = (demux_meta_t *)p_this;
input_item_t *p_item = p_demux_meta->p_item;
- int i_ret = vlclua_scripts_batch_execute( p_this, "meta/reader", &read_meta, p_item );
-
- return i_ret;
+ return vlclua_scripts_batch_execute( p_this, "meta"DIR_SEP"reader",
+ &read_meta, p_item );
}
@@ -249,9 +248,8 @@ int FetchMeta( vlc_object_t *p_this )
demux_meta_t *p_demux_meta = (demux_meta_t *)p_this;
input_item_t *p_item = p_demux_meta->p_item;
- int i_ret = vlclua_scripts_batch_execute( p_this, "meta/fetcher", &fetch_meta, p_item );
-
- return i_ret;
+ return vlclua_scripts_batch_execute( p_this, "meta"DIR_SEP"fetcher",
+ &fetch_meta, p_item );
}
@@ -263,8 +261,7 @@ int FindArt( vlc_object_t *p_this )
art_finder_t *p_finder = (art_finder_t *)p_this;
input_item_t *p_item = p_finder->p_item;
- int i_ret = vlclua_scripts_batch_execute( p_this, "meta/art", &fetch_art, p_item );
-
- return i_ret;
+ return vlclua_scripts_batch_execute( p_this, "meta"DIR_SEP"art",
+ &fetch_art, p_item );
}
More information about the vlc-devel
mailing list