From 2e1ca200974ca4c60e651c199ec5883b308ac38b Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Tue, 30 Oct 2018 12:05:15 -0400 Subject: Lua restore audio_set_recording_gain, audio_set_output,input Did not mean to wipe out these function when I consolidated audio Made the regex for audio_ and playlist_ exact matches instead of fuzzy Change-Id: I7537d1b494afb114c8b6333ea177b1e482f6b672 --- apps/plugins/lua/rocklib_aux.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/plugins/lua') diff --git a/apps/plugins/lua/rocklib_aux.pl b/apps/plugins/lua/rocklib_aux.pl index 8ad59317d6..d16351ac77 100755 --- a/apps/plugins/lua/rocklib_aux.pl +++ b/apps/plugins/lua/rocklib_aux.pl @@ -83,8 +83,11 @@ my @forbidden_functions = ('^open$', '^lcd_scroll_stop$', '^__.+$', '^.+_(un)?cached$', - '^audio_.+$', - 'playlist_.+$', + '^audio_(status|get_file_pos|flush_and_reload_tracks)$', + '^audio_(ff_rewind|next|prev|play|pause|resume|stop)$', + '^playlist_(amount|add|create|start|resume|shuffle)$', + '^playlist_(sync|resume_track|remove_all_tracks)$', + '^playlist_(insert_track|insert_directory)$', '^round_value_to_list32$'); my $rocklib = sprintf("%s/rocklib.c", $ARGV[0]); -- cgit v1.2.3