Feature #732

Add configuration option to disable recursion in directories

Added by Cristian Rigamonti 2 months ago. Updated 2 days ago.

Status:Closed Start date:July 23, 2017
Priority:Minor Due date:
Assignee:- % Done:

100%

Category:-
Target version:3.10
Affects version:3.7.2

Description

Currently when running

audacious my_dir
the program adds all media contained in my_dir and all its subdirectories; the same happens in the GUI when selecting a directory with the "open" or "add" commands.

Sometimes one only wants media contained in the directory, without scanning all its subdirectories.
E.g. I sometimes by mistake run audacious on a directory which has LOTS of subdirs, sometimes even my $home: a massive scan for subdirs starts, and I can't stop it even exiting the program GUI, I have to kill -9 all the audacious processes. You can think of other use cases.

Please add a configuration option to enable/disable recursion into subdirectories.

(audacious 3.7.2 on Linux)

patchbug732.diff Magnifier - diffs (1.8 kB) Jim Turner, September 16, 2017 04:05

Associated revisions

Revision 176ab5a0
Added by John Lindgren 2 days ago

Add option to add folders non-recursively. Closes: #732.

History

#1 Updated by Jim Turner 6 days ago

Will this do for starters?

Added boolean config option [audacious].no_subdirs that if set to TRUE stops recursive addition of subdirectories, along with gui checkbox in [Settings].[Playlist] for gtk & qt. FALSE || undef: keep current behavior.

#2 Updated by John Lindgren 2 days ago

  • Description updated (diff)
  • Status changed from New to Closed
  • Target version set to 3.10
  • % Done changed from 0 to 100

Also available in: Atom PDF