Exporting folder structure and filenames from library

My plex server is running on debian.

I recently had two drives fail in a raid5 array, and need to rebuild that library.

Is there a way I can export the folder structure to a text file or similar, given that the data is no longer available for browsing in the dead array - but is still visible in the info-section for each item in the library?

Don’t empty the trash in Plex. That would delete the info from the database.

WebTools-NG Export Tools allows you to export any or all of the information about your media into a .csv file.

This includes the file path to each movie/episode/etc.

2 Likes

Any tips on making the CSV readable?
Tried importing it to Google Sheets, without getting the proper formatting.
Also tried an online conversion to xlsx with the same result

I use Google Sheets. It sometimes has one or two movies aligned incorrectly with column headings, but the majority are correct.

Part File Combined has the full path and file name (at least for movies).

File → Import.
Import Location: Replace Spreadsheet
Separator type: Detect automatically
Convert text… not selected.

Set Export Tools to use a Tab as column separator character. Makes it much less likely that the columns get shifted due to a stray semicolon in the actual metadata.

LibreOffice can handle the exported files well, including filtering and sorting by several columns at once.

Side note: This module will export all the medias that are missing from the filesystem

Thanks. Got it exported.
Heading down the rabbithole

After fetching a bit of content - will a library scan remove old info about intro and credits markers, thus making it neccessary to re-scan for these, or will the old info be used if it’s replaced with the same files later?

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