[PATCH 0/3] Set the desired paths for the filesystem plugin to scan



This set of patches enable the filesystem plugin to be told which
paths should it consider. The configuration is done by means of a
configuration file where the key "FS_PATH" should be set.

Many configuration files can be used in order to specify more paths.

If no path is configured, it uses the old behavior of showing the root.

The reason for these changes is that applications often don't want to
check the entire filesystem but rather a couple of folders with media
content.

Cheers,

Joaquim Rocha (3):
  [filesystem] Add private struct to filesystem class
  [filesystem] Get paths to show from the configuration files
  [filesystem] Add the finalize to clean the chosen paths list

 src/filesystem/grl-filesystem.c |   65 +++++++++++++++++++++++++++++++++++---
 src/filesystem/grl-filesystem.h |    7 ++++
 2 files changed, 66 insertions(+), 6 deletions(-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]