Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
8990da12
Commit
8990da12
authored
May 13, 2015
by
Thomas Guillem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux/playlist: move recursive option
parent
fb5f5d1f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
15 deletions
+14
-15
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+14
-0
src/libvlc-module.c
src/libvlc-module.c
+0
-15
No files found.
modules/demux/playlist/playlist.c
View file @
8990da12
...
...
@@ -51,6 +51,17 @@
#define SKIP_ADS_LONGTEXT N_( "Use playlist options usually used to prevent " \
"ads skipping to detect ads and prevent adding them to the playlist." )
static
const
char
*
const
psz_recursive_list
[]
=
{
"none"
,
"collapse"
,
"expand"
};
static
const
char
*
const
psz_recursive_list_text
[]
=
{
N_
(
"None"
),
N_
(
"Collapse"
),
N_
(
"Expand"
),
N_
(
"Expand distant files"
)
};
#define RECURSIVE_TEXT N_("Subdirectory behavior")
#define RECURSIVE_LONGTEXT N_( \
"Select whether subdirectories must be expanded.\n" \
"none: subdirectories do not appear in the playlist.\n" \
"collapse: subdirectories appear but are expanded on first play.\n" \
"expand: all subdirectories are expanded.\n" )
static
const
char
*
const
psz_sort_list
[]
=
{
"collate"
,
"version"
,
"none"
};
static
const
char
*
const
psz_sort_list_text
[]
=
{
N_
(
"Sort alphabetically according to the current language's collation rules."
),
...
...
@@ -166,6 +177,9 @@ vlc_module_begin ()
add_shortcut
(
"playlist"
,
"directory"
)
set_capability
(
"demux"
,
10
)
set_callbacks
(
Import_Dir
,
Close_Dir
)
add_string
(
"recursive"
,
"collapse"
,
RECURSIVE_TEXT
,
RECURSIVE_LONGTEXT
,
false
)
change_string_list
(
psz_recursive_list
,
psz_recursive_list_text
)
add_string
(
"ignore-filetypes"
,
"m3u,db,nfo,ini,jpg,jpeg,ljpg,gif,png,pgm,pgmyuv,pbm,pam,tga,bmp,pnm,xpm,xcf,pcx,tif,tiff,lbm,sfv,txt,sub,idx,srt,cue,ssa"
,
IGNORE_TEXT
,
IGNORE_LONGTEXT
,
false
)
add_string
(
"directory-sort"
,
"collate"
,
SORT_TEXT
,
SORT_LONGTEXT
,
false
)
...
...
src/libvlc-module.c
View file @
8990da12
...
...
@@ -1091,17 +1091,6 @@ static const char *const ppsz_prefres[] = {
"Automatically preparse files added to the playlist " \
"(to retrieve some metadata)." )
#define RECURSIVE_TEXT N_("Subdirectory behavior")
#define RECURSIVE_LONGTEXT N_( \
"Select whether subdirectories must be expanded.\n" \
"none: subdirectories do not appear in the playlist.\n" \
"collapse: subdirectories appear but are expanded on first play.\n" \
"expand: all subdirectories are expanded.\n" )
static
const
char
*
const
psz_recursive_list
[]
=
{
"none"
,
"collapse"
,
"expand"
};
static
const
char
*
const
psz_recursive_list_text
[]
=
{
N_
(
"None"
),
N_
(
"Collapse"
),
N_
(
"Expand"
),
N_
(
"Expand distant files"
)
};
#define METADATA_NETWORK_TEXT N_( "Allow metadata network access" )
#define SD_TEXT N_( "Services discovery modules")
...
...
@@ -2023,10 +2012,6 @@ vlc_module_begin ()
add_bool
(
"auto-preparse"
,
true
,
PREPARSE_TEXT
,
PREPARSE_LONGTEXT
,
false
)
add_string
(
"recursive"
,
"collapse"
,
RECURSIVE_TEXT
,
RECURSIVE_LONGTEXT
,
false
)
change_string_list
(
psz_recursive_list
,
psz_recursive_list_text
)
add_obsolete_integer
(
"album-art"
)
add_bool
(
"metadata-network-access"
,
false
,
METADATA_NETWORK_TEXT
,
METADATA_NETWORK_TEXT
,
false
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment