I run a Plex instance on a VPS with limited storage and recently the metadata folder has started spiralling out of control. I’d like to run a jpg optimiser on the artist pics, album cover art, movie posters etc. Unfortunately metadata is stored in an opaque .bundle format. Does anyone have any experience with this format and how to get to its contents?

  • @Fribbtastic
    link
    English
    11 year ago

    Unfortunately metadata is stored in an opaque .bundle format. Does anyone have any experience with this format and how to get to its contents?

    There is not really something special here. There .bundle folders are just obfuscation and better internal handling in regards to Plex handling metadata. Example:

    Path: Metadata\Movies\0\01bad0a8841cf7fd32a7d6ace0b1dc8944ade78.bundle\Contents\_combined\posters

    • Metadata is the Folder containing all metadata
    • Movies would be the library type folder (not the name of the library so the Movies folder would contain all metadata for all libraries set to “Movies”)
    • 01bad0a8841.... is the obfuscated folder which contains the metadata for that particular library item

    everything in it is pretty self-explanatory. Art is for background images, posters is for posters etc.

    Looking at the example above the folder is only ~700kb large with a background and poster image.

    Running an “optimizer” wouldn’t really make much sense because, while you could shave some storage space off, the files are already still pretty low.

    As others have said, large plex config folders are usually the indication of the enabled feature to create thumbnails for the timeline preview. This can take a lot of storage capacity.

    So if you need to limit your space, this would be the first thing to look at.

    Another thing to keep in mind is that Plex optimizes and stores the Images for each client resolution accessing the server. This could also take some GBs when you have a few clients accessing the server and plex creating a different version of the poster/background. I currently have ~29k files in that folder taking up 5GB. Unfortunately, deleting them won’t do you much good except temporarily freeing up unused optimized versions because Plex will just create them again. The folder is plex\Library\Application Support\Plex Media Server\Cache\PhotoTranscoder.

    You could periodically clean it up but this could also impact the responsiveness of the interface loading the images.

    • @[email protected]OP
      link
      fedilink
      English
      11 year ago

      Oh ok so just a folder structure with a name badges on it. The total storage on the server is 37GB so every MB counts. I have about 60k tracks (6k albums, 2.5k artists) so even small reductions in file size will give me more headroom. Definitely going to explore the Phototranscoder folder as well. The total size of the folder is 20GB+, I’m sure there’s some images from when I used an iPad before left in there.