Closed slamanna212 closed 2 years ago
PLEX_SECTION_PATH_MAPPINGS do not exist anymore, I would suggest looking at the readme again.
@saltydk I mentioned it in the orginal issue. They were not there originally, I added them during my troubleshooting. They didnt help but i forgot to remove them from config before I posted it here. Even with PLEX_SECTION_PATH_MAPPINGS removed, the config still does not work
I have the same error. Just for 1 new 4k Lib.
Config:
{
"DOCKER_NAME": "plex",
"GOOGLE": {
"ALLOWED": {
"FILE_EXTENSIONS": true,
"FILE_EXTENSIONS_LIST": [
"webm",
"mkv",
"flv",
"vob",
"ogv",
"ogg",
"drc",
"gif",
"gifv",
"mng",
"avi",
"mov",
"qt",
"wmv",
"yuv",
"rm",
"rmvb",
"asf",
"amv",
"mp4",
"m4p",
"m4v",
"mpg",
"mp2",
"mpeg",
"mpe",
"mpv",
"m2v",
"m4v",
"svi",
"3gp",
"3g2",
"mxf",
"roq",
"nsv",
"f4v",
"f4p",
"f4a",
"f4b",
"mp3",
"flac",
"ts"
],
"FILE_PATHS": [
"/filme",
"/filme4k",
"/series",
"/music",
"/audiobooks"
],
"MIME_TYPES": true,
"MIME_TYPES_LIST": [
"video"
]
},
"CLIENT_ID": "",
"CLIENT_SECRET": "",
"DISABLE_DISK_FILE_SIZE_CHECK": false,
"ENABLED": false,
"POLL_INTERVAL": 120,
"SHOW_CACHE_LOGS": true,
"TEAMDRIVE": false,
"TEAMDRIVES": []
},
"PLEX_ANALYZE_DIRECTORY": false,
"PLEX_ANALYZE_TYPE": "basic",
"PLEX_CHECK_BEFORE_SCAN": false,
"PLEX_DATABASE_PATH": "/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db",
"PLEX_EMPTY_TRASH": true,
"PLEX_EMPTY_TRASH_CONTROL_FILES": [
"/mnt/unionfs/mounted.bin"
],
"PLEX_EMPTY_TRASH_MAX_FILES": 50,
"PLEX_EMPTY_TRASH_ZERO_DELETED": false,
"PLEX_FIX_MISMATCHED": true,
"PLEX_FIX_MISMATCHED_LANG": "de",
"PLEX_LD_LIBRARY_PATH": "/usr/lib/plexmediaserver/lib",
"PLEX_LOCAL_URL": "https://plex.robinmeese.duckdns.org",
"PLEX_SCANNER": "/usr/lib/plexmediaserver/Plex\\ Media\\ Scanner",
"PLEX_SUPPORT_DIR": "/config/Library/Application\\ Support",
"PLEX_TOKEN": "vjKgvm9Uz1vpu139bD-C",
"PLEX_USER": "Docker",
"PLEX_WAIT_FOR_EXTERNAL_SCANNERS": true,
"RCLONE": {
"BINARY": "/usr/bin/rclone",
"CONFIG": "",
"CRYPT_MAPPINGS": {},
"RC_CACHE_REFRESH": {
"ENABLED": false,
"FILE_EXISTS_TO_REMOTE_MAPPINGS": {
"Media/": [
"/mnt/rclone/Media/"
]
},
"RC_URL": "http://localhost:5572"
}
},
"RUN_COMMAND_AFTER_SCAN": "",
"RUN_COMMAND_BEFORE_SCAN": "",
"SERVER_ALLOW_MANUAL_SCAN": true,
"SERVER_FILE_CHECK_DELAY": 30,
"SERVER_FILE_EXIST_PATH_MAPPINGS": {
"/home/user/rclone/": [
"/data"
]
},
"SERVER_IGNORE_LIST": [
"/.grab/",
".DS_Store",
"Thumbs.db"
],
"SERVER_IP": "0.0.0.0",
"SERVER_MAX_FILE_CHECKS": 10,
"SERVER_PASS": "37fe1349b07c4f62962dfd160f1a4063",
"SERVER_PATH_MAPPINGS": {
"/audiobooks": [
"/data/#5_Audiobooks"
],
"/filme": [
"/data/#3_Filme"
],
"/filme4k": [
"/data/#3_Filme_4K"
],
"/mnt/unionfs/": [
"/home/user/media/fused/"
],
"/music": [
"/data/#7_Musik"
],
"/series": [
"/data/#4_Serien"
]
},
"SERVER_PORT": 3467,
"SERVER_SCAN_DELAY": 300,
"SERVER_SCAN_FOLDER_ON_FILE_EXISTS_EXHAUSTION": false,
"SERVER_SCAN_PRIORITIES": {
"0": [
"/filme"
],
"1": [
"/series"
],
"2": [
"/music"
],
"3": [
"/audiobooks"
],
"4": [
"/filme4k"
]
},
"SERVER_USE_SQLITE": true,
"USE_DOCKER": false,
"USE_SUDO": true
}
Sections: 5: Audiobooks 1: Filme 8: Filme 4K 7: Musik 2: TV-Serien
Error in Log:
2022-04-01 21:52:28,263 - ERROR - UTILS [140182020753152]: Unable to map '/filme_4K/Star Trek Beyond (2016)/Star Trek Beyond (2016)-Remux-2160p-HEVCHDR-AC35.1[DE+EN].mkv' to a Section ID.
your path mapping is wrong, it lists filme4k with a small k whereas your log entry has filme_4K.
I feel dumb af, I changed it. Thanks a lot !
No problem.
Describe the bug Every request I try , i get the error Unable to Map 'FILE_PATH' to a Section ID. Example:
2022-03-18 01:20:27,557 - ERROR - UTILS [140571623933696]: Unable to map '/Media/Movies/Wanted' to a Section ID.
To Reproduce Steps to reproduce the behavior:
Expected behavior The files get scanned Screenshots If applicable, add screenshots to help explain your problem.
Logs Link to debug or trace log files.
System Information
Additional context
Plex Sections:
1: Movies 5: TV Shows