How plex calculates this strange *.bundle folder names

Hi,

is there a way to find out which Item (Movie) belongs to this fdacf42c5acf80662b3dd3646a4a94ff3f452cf.bundle folders.

nice would be a list of Move (ID) - dir name (*.bundle)
it is not in the metadata so i think plex is somehow calculate this names, the must be unique.
does anybody know who to get such a list or extract it from the database (sql) or from the metadata.

greetins from vienna
Andy

It’s derived from the SHA1 hash of the media’s guid.

Example -
JBOPS/find_plex_meta.py at master · blacktwin/JBOPS · GitHub

You can only go that direction; you can’t identify the movie from the blah.bundle folder name.

What @Volts says

When said, there’s a 3rd party plugin that still works that can export a list to you with the path for all your medias for both the media folder, as well as the metadata folder

Tool is ExportTools.bundle, and you’ll need to export at level 666

1 Like

thx, that was exactly what i was looking for, because i had the problem, that plex generates the chapter thumbnails for some videos over and over again. always the same, not only new ones.
I hope, i can find the assigned folders to delete some files, maybe there are some corrupted files.

You should go to the video files and perhaps remux them into a fresh MKV container.

thx, i think i write my own tool, without exporting it first, i want this in real time :slight_smile:

Hi,

i had no luck, maybe i am doing something wrong.

here is what i tried:
[guid] => plex://movie/5d776b37fb0d55001f56046d

i do an “echo -n “plex://movie/5d776b37fb0d55001f56046d” | sha1sum” on Linux and i get
29b15bb1df7185ec14c804aaa1aba5b11c5ac29b

as far as i know the first character is the first subdir, so i do a
“cd /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/2”
but there is no dir with the name “9b15bb1df7185ec14c804aaa1aba5b11c5ac29b”
(first character striped).

what i am missing ?

thanks for the help.
Andy

Make that:

cd /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/<TYPE_OF_MEDIA>/2/9b15bb1df7185ec14c804aaa1aba5b11c5ac29b

From the SourceCode of ExportTools:

If you need the path to stuff in Media instead, you need the hash from this endpoint:
/library/metadata/<KEY>/tree

Again, code in ExportTools:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.