Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
84946309
Commit
84946309
authored
Aug 13, 2018
by
Soomin Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PlaylistModel: Check for duplicate
parent
1bc267a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
SharedSources/MediaLibraryModel/PlaylistModel.swift
SharedSources/MediaLibraryModel/PlaylistModel.swift
+5
-0
No files found.
SharedSources/MediaLibraryModel/PlaylistModel.swift
View file @
84946309
...
...
@@ -27,6 +27,11 @@ class PlaylistModel: MLBaseModel {
}
func
append
(
_
item
:
VLCMLPlaylist
)
{
for
file
in
files
{
if
file
.
identifier
()
==
item
.
identifier
()
{
return
}
}
files
.
append
(
item
)
}
}
...
...
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