Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M medialibrary
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • medialibrary
  • Issues
  • #355

Closed
Open
Created Jul 06, 2021 by Sébastien Toque@XilasZ

Media stuck after discovery interruption

When discovery is interrupted (by a reload for instance, when switching app), some new videos end up missing in the app. Can happen after indexing a folder with many medias.

logs show this for each missing media, in every attempt to scan/reload : ../src/MediaLibrary.cpp:822 onDiscoveredFile Failed to insert smb://xxx.xxx.xxx.xxx:445/Freebox/Vid%C3%A9os/Games/toto.mp4: Request [INSERT INTO Task(attempts_left, type, mrl, file_type, parent_folder_id, link_to_id, link_to_type, link_extra, link_to_mrl)VALUES(?, ?, ?, ?, ?, 0, 0, 0, '')] aborted due to constraint violation (UNIQUE constraint failed: Task.mrl, Task.type, Task.link_to_id, Task.link_to_type, Task.link_extra, Task.link_to_mrl). Assuming the file is already scheduled for discovery

the message suppose the task will be run, but it's not.

vlc_media.db

Edited Jul 07, 2021 by Sébastien Toque
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance