Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VLC-iOS
VLC-iOS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 311
    • Issues 311
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 6
    • Merge Requests 6
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • VideoLAN
  • VLC-iOSVLC-iOS
  • Issues
  • #759

Closed
Open
Opened Oct 23, 2019 by Soomin Lee@bubuMaintainer

Playlist creation parsing before files exists

In VLC-iOS, importing files through 'Wi-Fi' could lead to empty playlists being created if the playlist file is imported and parsed before the files.

For example, if the user imports:

  ├── folder
      ├── track01.mp3
      ├── playlist.m3u8
      └── sub-folder
          └── track02.mp3

If playlists.m3u8 is uploaded before the tracks, an empty playlists will be created since we ask for a media library reload on a new file discovery.

Indeed, the medialibrary will report in the logs that the files doesn't exist on the disk.

After discussing with @chouquette, we thought that we could either:

  • Reload/reparse the playlists dynamically, but the issue might be that we cannot know which media are directly associated to a specific medialibrary playlist?

  • On the app side, reload the medialibrary strategically, (e.g. once when all files for a batch of import is complete) but that would affect the dynamic refreshing of the user interface.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
3.2.3
Milestone
3.2.3 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: videolan/vlc-ios#759