Fix Tautulli config.json

This commit is contained in:
Nicolas Meienberger 2022-05-25 22:36:48 +02:00
parent a34071f6fe
commit afbac29364
2 changed files with 18 additions and 15 deletions

View File

@ -28,10 +28,14 @@ const getAppConfigs = (): AppConfig[] => {
if (fs.existsSync(path)) {
const configFile = fs.readFileSync(path).toString();
const config: AppConfig = JSON.parse(configFile);
if (config.available) {
apps.push(config);
try {
const config: AppConfig = JSON.parse(configFile);
if (config.available) {
apps.push(config);
}
} catch (e) {
console.error("Error parsing config file", app);
}
}
});

View File

@ -1,13 +1,12 @@
{
"name": "Tautulli",
"available": true,
"port": 8181,
"id": "tautulli",
"description": "Tautulli is a 3rd party application that you can run alongside your Plex Media Server to monitor activity and track various statistics. Most importantly, these statistics include what has been watched, who watched it, when and where they watched it, and how it was watched. The only thing missing is "why they watched it", but who am I to question your 42 plays of Frozen. All statistics are presented in a nice and clean interface with many tables and graphs, which makes it easy to brag about your server to everyone else.",
"short_desc": "A Python based monitoring and tracking tool for Plex Media Server.",
"author": "JonnyWong16",
"source": "https://github.com/Tautulli/Tautulli",
"image": "https://tautulli.com/images/logo-circle.png",
"form_fields": {}
}
"name": "Tautulli",
"available": true,
"port": 8181,
"id": "tautulli",
"description": "Tautulli is a 3rd party application that you can run alongside your Plex Media Server to monitor activity and track various statistics. Most importantly, these statistics include what has been watched, who watched it, when and where they watched it, and how it was watched. The only thing missing is \"why they watched it\", but who am I to question your 42 plays of Frozen. All statistics are presented in a nice and clean interface with many tables and graphs, which makes it easy to brag about your server to everyone else.",
"short_desc": "A Python based monitoring and tracking tool for Plex Media Server.",
"author": "JonnyWong16",
"source": "https://github.com/Tautulli/Tautulli",
"image": "https://tautulli.com/images/logo-circle.png",
"form_fields": {}
}