Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
14
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
0949ef13
Commit
0949ef13
authored
7 years ago
by
Geoffrey Métais
Browse files
Options
Downloads
Patches
Plain Diff
Blacklist Whatsapp gifs folder
parent
155b66cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
medialibrary/src/org/videolan/medialibrary/Medialibrary.java
+1
-0
1 addition, 0 deletions
medialibrary/src/org/videolan/medialibrary/Medialibrary.java
vlc-android/src/org/videolan/vlc/MediaParsingService.java
+2
-1
2 additions, 1 deletion
vlc-android/src/org/videolan/vlc/MediaParsingService.java
with
3 additions
and
1 deletion
medialibrary/src/org/videolan/medialibrary/Medialibrary.java
+
1
−
0
View file @
0949ef13
...
...
@@ -574,6 +574,7 @@ public class Medialibrary {
"/audio/alarms/"
,
"/audio/ringtones/"
,
"/audio/notifications/"
,
"/WhatsApp/Media/WhatsApp Animated Gifs/"
,
};
}
...
...
This diff is collapsed.
Click to expand it.
vlc-android/src/org/videolan/vlc/MediaParsingService.java
+
2
−
1
View file @
0949ef13
...
...
@@ -254,7 +254,8 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
mMedialibrary
.
banFolder
(
AndroidDevices
.
EXTERNAL_PUBLIC_DIRECTORY
+
folder
);
mMedialibrary
.
discover
(
AndroidDevices
.
EXTERNAL_PUBLIC_DIRECTORY
);
}
else
if
(
upgrade
)
{
mMedialibrary
.
unbanFolder
(
AndroidDevices
.
EXTERNAL_PUBLIC_DIRECTORY
+
"/WhatsApp/"
);
mMedialibrary
.
unbanFolder
(
AndroidDevices
.
EXTERNAL_PUBLIC_DIRECTORY
+
"/WhatsApp/"
);
mMedialibrary
.
banFolder
(
AndroidDevices
.
EXTERNAL_PUBLIC_DIRECTORY
+
"/WhatsApp/Media/WhatsApp Animated Gifs/"
);
mMedialibrary
.
forceParserRetry
();
}
else
if
(
PreferenceManager
.
getDefaultSharedPreferences
(
MediaParsingService
.
this
).
getBoolean
(
"auto_rescan"
,
true
))
reload
(
null
);
...
...
This diff is collapsed.
Click to expand it.
Geoffrey Métais
@Dekans
mentioned in commit
49256f94
·
7 years ago
mentioned in commit
49256f94
mentioned in commit 49256f94f10406827f5f6539983024712cbeb064
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment