Thank you so much for this project and all other work you have done.
For some reason my plex database lacks a lot of the information this script tends to rely on (most tables in my db are empty).
Things I noticed that don't work on my server:
PLEX_ANALYZE_TYPE (because media_parts table is empty)
PLEX_FIX_MISMATCHED (because media_parts table is empty)
get_plex_section Method for the automatic Section ID mapping (section* tables are also empty).
This PR introduces the config option PLEX_SECTION_MAPPINGS_WITH_API.
When this is set to true, the PlexServer API will be used to obtain root paths. Based on the "sections+" command.
By setting PLEX_ANALYZE_TYPEto off, PLEX_FIX_MISMATCHED to false and PLEX_SECTION_MAPPINGS_WITH_API to true the script works with my bugged/empty plex database.
Hi,
Thank you so much for this project and all other work you have done. For some reason my plex database lacks a lot of the information this script tends to rely on (most tables in my db are empty).
Things I noticed that don't work on my server:
PLEX_ANALYZE_TYPE
(because media_parts table is empty)PLEX_FIX_MISMATCHED
(because media_parts table is empty)get_plex_section
Method for the automatic Section ID mapping (section* tables are also empty).This PR introduces the config option
PLEX_SECTION_MAPPINGS_WITH_API
. When this is set totrue
, the PlexServer API will be used to obtain root paths. Based on the "sections+" command.By setting
PLEX_ANALYZE_TYPE
tooff
, PLEX_FIX_MISMATCHED tofalse
andPLEX_SECTION_MAPPINGS_WITH_API
totrue
the script works with my bugged/empty plex database.Hopefully it helps others.