Skip to content
Snippets Groups Projects

Fixed: Playlist Duplicate media items bug

Merged Mohamed Sliem requested to merge Sliem/vlc-ios:FixPlaylistBug into master

Objective

  • Fixing playlist duplicated media bug.
  • Adding status label indicates adding media process notes to the playlist.

Problem

Adding media to a playlist that already existed is leading to duplication. Playing duplicated media is leading to unexpected behavior.

mentioned in #1799 (closed)

Solution

To prevent duplication and ensure smooth UI, implemented a pre-addition check.

This check verifies if the selected media item already exists within the playlist before adding it. If the item is found, it will not be added, eliminating duplicate entries.

Additional Enhancements

 Displays message based on addition outcome:

  • Number of non duplicated or new media added
  • No media added to the playlist (if all media already existed)

Result

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading