this post was submitted on 26 Jun 2023
6 points (100.0% liked)

Plex

3840 readers
1 users here now

A community for discussing Plex Media Server. Plex Media Server is a smart software that makes playing movies, tv shows, and other media on your computer simple.

Ask questions, get support, and be part of the community here on Lemmy!

Join the c/Plex community on Matrix!

Rules

Rule 1 - Don't be a dick

Don't be a dick. This includes any kind of trolling, baiting, etc. Bigotry may result in an instant permaban.


Rule 2 - No misleading or non-descriptive titles

No misleading or non-descriptive titles. Try to be brief but detailed.


Rule 3 - Keep post and comments relevant

Posts must be related to Plex and Plex-related products, apps. etc. Try to keep comments relevant to the parent comment and to the post.


Rule 4 - Keep discussions of "media aqcuistion" limited to means and methods only.

Discussions regarding media acquisition should be limited to the "how" not the "what", as this is not the place to discuss piracy of specific media. There are other communities for that, and we don't want to get this community defederated from instances where it's a forbidden topic. Posts/comments discussing specific acts of piracy ("How do I find X show?" or "Where can I download Y film?")will be removed. For further clarification see this post


Rule 5 - No asking / offering Plex shares.

No asking / offering Plex shares. There are other communities for that.


Rule 6 - No low-effort / spam / meme posts

No low-effort / meme posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Rule 7 - No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts

No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Useful Resources


^This^ ^is^ ^a^ ^community^ ^page^ ^and^ ^is^ ^not^ ^affiliated^ ^with^ ^Plex,^ ^Inc.^ ^in^ ^any^ ^way.^

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

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] 1 points 1 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.