• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions How to clean up the metadata of removed files ?

     
    • 0 Vote(s) - 0 Average

    How to clean up the metadata of removed files ?

    phantomwise
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #1
    2025-04-07, 05:30 PM (This post was last modified: 2025-04-07, 05:35 PM by phantomwise. Edited 1 time in total.)
    I noticed that I have leftover metadata that I don't know how to remove.

    If I move a movie's folder outside its library and rescan, then it disappears from the library and collections, but if I move it back, even after having deleted every nfo and image file and rescan, then the movie is back in the collections it was before, and if it was watched before it still appears as watched.
    Same with renaming a movie folder : after renaming and rescanning, the collection.xml file contains both paths, the old and the new.

    Is there a way to clean up all the data that relates to removed files ?

    Also, how do I avoid creating more in the future ? Does the"Delete" option inside the WebUI also remove the movie's watch status, favorite status, and collections ?
    sjorge
    Offline

    Junior Member

    Posts: 21
    Threads: 0
    Joined: 2023 Nov
    Reputation: 0
    Country:Belgium
    #2
    2025-04-07, 07:56 PM
    There is no easy way to do this, however 10.11.0 when release should start cleaning up those leftover files: https://github.com/jellyfin/jellyfin/pull/13760 landed a few days ago.
    phantomwise
    Offline

    Junior Member

    Posts: 9
    Threads: 2
    Joined: 2024 Sep
    Reputation: 0
    #3
    2025-04-08, 09:17 AM (This post was last modified: 2025-04-08, 09:17 AM by phantomwise.)
    Oh wow that's some good timing !
    I was really afraid that the answer would learning to use sql to edit the database directly and making scripts to clean the xml files ^_^'
    Thanks whoever made the PR Smiling-face
    Rubén Navarro López
    Offline

    Member

    Posts: 151
    Threads: 27
    Joined: 2023 Jun
    Reputation: 1
    Country:Spain
    #4
    2025-04-08, 09:26 AM
    That's awesome!

    Any expected date for 10.11?

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-04-08, 01:12 PM (This post was last modified: 2025-04-08, 01:13 PM by TheDreadPirate. Edited 1 time in total.)
    There is no concrete date. Since 10.9 was released we've been doing pretty well achieving a 6-ish month release cadence. Which would put 10.11 in the May time frame.

    Having said that, the EFCore database migration is a huge change. So there will almost certainly be a delay in our 6-ish month release cadence.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Rubén Navarro López
    Offline

    Member

    Posts: 151
    Threads: 27
    Joined: 2023 Jun
    Reputation: 1
    Country:Spain
    #6
    2025-04-09, 07:47 AM
    That's big news, hope everything goes well for you guys!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode