Project

General

Profile

Feature #732

Add configuration option to disable recursion in directories

Added by Cristian Rigamonti over 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
Affects version:

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 (1.82 KB) patchbug732.diff diffs Jim Turner, September 16, 2017 04:05

History

#1 Updated by Jim Turner about 7 years 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 about 7 years 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