diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-10-30 12:05:15 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-10-30 12:05:15 -0400 |
commit | 2e1ca200974ca4c60e651c199ec5883b308ac38b (patch) | |
tree | 2594f08fa361bb9171350eb51dded684ad6a8e96 /apps/plugins/lua | |
parent | 6d8d2422eafb4d75918f7ddb69e57e2478869bb8 (diff) |
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
Diffstat (limited to 'apps/plugins/lua')
-rwxr-xr-x | apps/plugins/lua/rocklib_aux.pl | 7 |
1 files changed, 5 insertions, 2 deletions
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]); |