wrapperr/README.md

178 lines
11 KiB
Markdown
Raw Normal View History

2021-12-13 11:15:57 +00:00
# Wrapperr
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
## Introduction - What is this?
2021-12-13 11:18:02 +00:00
A website-based platform and API for collecting user stats within a set timeframe using [Tautulli](https://github.com/Tautulli/Tautulli). The data is displayed as a statistics-summary, sort of like Spotify Wrapped. Yes, you need Tautulli to have been running beforehand and currently for this to work.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
![Image showing the introduction section of Wrapperr.](https://raw.githubusercontent.com/aunefyren/wrapperr/main/assets/img/example_01.PNG?raw=true)
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
### Features
- Custom timeframes
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
- Plex Auth
2022-01-20 23:04:43 +00:00
- Customizable text fields
- Movies, shows & music
2022-01-20 23:04:43 +00:00
- Caching of data
- Friendly, dynamic display for statistics with nice illustrations
- Admin page with authentication for settings
2022-01-20 23:04:43 +00:00
- Pre-caching functionality
2022-01-11 14:29:03 +00:00
- Shareable links
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
![Image showing the show section of Wrapperr.](https://raw.githubusercontent.com/aunefyren/wrapperr/main/assets/img/example_02.PNG?raw=true)
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
### Credit
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
- Beautiful illustrations from [FreeWebIllustrations](https://freewebillustrations.com)
- Amazing statistics gathered using [Tautulli](https://github.com/Tautulli/Tautulli)
2021-09-21 13:23:49 +00:00
- Wonderful loading icon from [icons8](https://icons8.com/preloaders/en/miscellaneous/hourglass)
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
- Splendid web icons from [icons8](https://icons8.com/icon/set/popular/material-rounded)
<br>
![Image showing the server-wide section of Wrapperr.](https://raw.githubusercontent.com/aunefyren/wrapperr/main/assets/img/example_03.PNG?raw=true)
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
## Instructions - How do I use this?
This is a web-based platform. It is a website hosted on a web-server and it gathers and displays statitics using an API (application programming interface) that interacts with Tautulli's API. Place the files included in this GitHub repository in a web-server, like Apache or Nginx, and make sure it processes PHP scripts, as this is the language the Wrapped API is written in.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
There are instructions for this further down.
<br>
<br>
### How does it work?
2022-01-20 23:04:43 +00:00
There are some things to know when you have the website running:
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
- Head to the front page you should see a small navigation menu at the bottom. This will take you between the few pages you need.
2022-01-20 23:04:43 +00:00
- The configuration is stored in ```config/config.json``` on the server, but can be configured using the admin menu, located at: ```your-domain-or-ip/admin``` or by clicking admin in the navigation menu.
2022-01-13 11:30:40 +00:00
- The cache is stored in ```config/cache.json```, but can be cleared using the admin menu previously mentioned.
2022-01-20 23:04:43 +00:00
- Your password and encryption token is hashed and stored in the ```config/config.json```. This is a sensitive directory! There is an ```.htaccess``` file included that blocks traffic to the folder, but this is only effective with Apache. If you are using Nginx you must add a directory deny in your Nginx configuration!
- If finish essential setup on the admin page you can click 'Caching' and do a pre-caching. This is very useful if you want to prepare for traffic and reduce PHP errors. PHP scripts will exit if they run longer then a certain timeframe, giving the user an error.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
- It is recommended to set up the platform at the admin page and then running a pre-cache immediately. The cache is updated automatically if new data in the timeframe becomes available.
- Almost all statistics options are enabled by default. Go to the admin page, and then click on 'Wrapperr customization' and customize the statistics page for your liking.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
<br>
## Manual setup - Example of setting up a local web-server
2021-11-29 12:37:56 +00:00
Here is an example of running this platform. This is a general approach, as there are multiple ways to host a webserver with PHP installed.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
### XAMPP
2021-11-29 12:37:56 +00:00
XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use. This is their [website](https://www.apachefriends.org/). It works on Windows, Linux and MacOs.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
Install XAMPP thorugh the installer and open up the GUI. From there you can start the Apache webserver with a single button. We don't need any of the other tools included, but make sure the status of the module is green. PHP should be pre-configured by XAMPP.
2021-12-13 11:15:57 +00:00
### Install Wrapperr
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
Download this repository and place the files inside the document-root of XAMPPs apache server. This is typically ```C:\xampp\htdocs``` on Windows, but this will change depending on your system and configuration of XAMPP during installation.
2021-11-29 12:37:56 +00:00
2022-01-13 11:30:40 +00:00
For instance, I placed this repository in a folder within the document-root, so my document-root, with that folder, makes the full path: ```C:\xampp\htdocs\wrapperr```, which in turn makes the files accessable on ```http://localhost/wrapperr```. Notice how my folder inside the document-root altered the URL. If I placed the repository files directly into ```C:\xampp\htdocs``` the URL would be: ```http://localhost```.
2021-11-29 12:37:56 +00:00
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
### Config folder configuration
You need to give PHP permission to read and write to files in the directory called ```config```. This is where the API saves the cache, configuration and writes the log.
2021-11-29 12:37:56 +00:00
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
The directory contains sensitive information that must be only accessed by the PHP scripts! There is an ```.htaccess``` file included that blocks traffic to the folder, but this is only effective with Apache (which XAMPP uses). If you are using Nginx you must add a directory deny in your Nginx configuration!
2022-01-13 11:30:40 +00:00
On Windows I never had to change permissions for the ```config``` folder, PHP could access it by defult. On Linux I had give read/write access by using the ```chmod``` command. In the example below I change the config directory folder permissions recursively on Linux. This will allow PHP to read/write in the directory.
2021-11-29 12:37:56 +00:00
```
$ sudo chmod -R 0777 /var/www/html/config
```
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
### Test
Go to ```http://localhost```, or your variation as discussed earlier, and you should see the front page.
2021-11-29 12:41:39 +00:00
2022-01-13 11:30:40 +00:00
Everything should now be prepared, and the rest of the setup should be done on the admin page, followed up by a pre-caching. You might have to refer to PHP configuration section below if PHP is acting up. Go to the previous section named 'How does it work?' if you need information about the admin setup.
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
<br>
## Docker
2022-01-13 11:30:40 +00:00
Docker sets up the environment, but I recommend reading the start of the 'Instructions' section for an explanation of functionality/admin page! You might have to refer to the 'PHP Configuration' section below if PHP is acting up and giving API parsing errors.
2021-12-13 11:15:57 +00:00
Docker makes it easy, but you might want to change the setup. The pre-configured Dockerfile is in the docker folder of this repo. It's a really simple configuration, so modify it if you want and then build it. If you just want to launch the [pre-built image](https://hub.docker.com/r/aunefyren/wrapperr) of Wrapperr, simply execute this docker command, pulling the image from Docker Hub and exposing it on port 80:
```
2021-12-13 11:18:02 +00:00
$ docker run -p '80:80' --name 'wrapperr' aunefyren/wrapperr:latest
```
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
It should now be accessable on: ```http://localhost```
If you use Docker Compose you could do something like this in your docker-compose.yml:
```
version: '3.3'
services:
2021-12-13 11:18:02 +00:00
wrapperr:
ports:
- '80:80'
2021-12-13 11:18:02 +00:00
container_name: wrapperr
image: 'aunefyren/wrapperr:latest'
```
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
And launch the file with:
```
2021-11-29 12:41:39 +00:00
$ docker-compose up
```
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
If you want to mount a volume for the config folder, you can do something like this:
```
version: '3.3'
services:
2021-12-13 11:18:02 +00:00
wrapperr:
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
ports:
- '80:80'
2021-12-13 11:18:02 +00:00
container_name: wrapperr
image: 'aunefyren/wrapperr:latest'
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
volumes:
- './my-folder:/var/www/html/config'
```
Afterwards, remember to chmod the mounted folder on the host so the container can write to it:
```
$ sudo chmod -R 0777 ./my-folder
```
<br>
<br>
## PHP Configuration
PHP will have issues with this API based on the data available in Tautulli and your settings on the admin page. If you have a large time frame for your wrapped period (like a full year), and there are a huge amount of Tautulli entries, you can have multiple issues. The PHP API can, for example, exit because the runtime exceeds the PHP configured runtime, because it takes a long time to interact with your Tautulli server.
<b>Pre-caching deals with a lot of these problems, so make sure you have it enabled and done to avoid these issues. Go to the caching page found in the navigation meny at the bottom.</b>
If you performed pre-caching and you still have issues, check the list below for possible alterations to PHP. These are changes to the ```php.ini``` file found in the PHP installation directory. Do some research or ask for help if you don't know how to do this.
In your ```php.ini``` file you may have to change:
- max_execution_time=<b>enough seconds for the script to finish.</b><br>The longer the timeframe, the more execution time. Every unique date in your timeframe is a new Tautulli API call.
- memory_limit=<b>enough M for the script to handle JSON data.</b><br>If there is a lot of data, PHP needs to have enough memory to manage it without crashing. This still applies if caching is on, as PHP needs to be able to read the cache without crashing.
- max_input_time=<b>enough seconds for the script to parse JSON data.</b><br>You might not need to change this, depending on Tautulli connection speed.
2021-11-29 12:37:56 +00:00
Squashed commit of the following: commit 84caa7b85f9036c7ca4cf2535f80bdf96aa120f6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:26:23 2021 +0100 Disable pre-made links when changing config If you disable links in the config, already made links will stop working commit 4ae03627594a821323fc20c1ad8bf1b8d5f8f1cb Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 17:08:49 2021 +0100 Button icons and button disabling Displays that a function is working in the background by disabling the button. commit cc43d00fbc122cc681a008e6a736273540c10b3e Author: aunefyren <oystein.sverre@gmail.com> Date: Sun Dec 12 16:43:33 2021 +0100 Added version control - Release now dynamically displayed on pages - Configs are tagged with version and deleted when not compatible commit a18c2515904a978cb0a85edbeecfb5baab81c2b6 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 13:56:18 2021 +0100 Option to disable links commit d8f1b0ab09f5ed1cfbdc9a753be2bebd63c51e2c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 11 12:49:58 2021 +0100 Plex Auth, shareable links, fancy colors v2.1.0 testing - Moved to class-system within PHP. - All wrapped requests now gathered and validated using Plex Auth #9 - Session stored as browser cookie - Button icons - Colors fade between wrapped categories - Minutes count added for music above a certain sum #7 - Ability to create shareable links valid for 7 days #14 - HTML Input placeholders removed #10 - Ability to specify Plex libraries #18 commit 23022d0090c267c46e95a818cd57639360e542bc Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 23:02:16 2021 +0100 Fixed caching Forgot to add global and variable to function commit b5765f3094206406c8d2f20ffd36b0bad5ea0200 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:58:48 2021 +0100 Re-added caching mode Whops commit 20ccd23ed9a04fa4b00e2994ab89a931d79f5a78 Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 22:52:38 2021 +0100 Stats API mostly moved to new class format commit a594447ffcd917d149078dd5c57d7e3f5a88bf1a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:17:48 2021 +0100 Fixed login bug on caching commit 9d303514ef080e9483f4753b7fc488da314d1b7a Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 16:06:09 2021 +0100 Added root option, fixed PHP relative folders commit 08f21ad4132f92a502cd83521ba51dd9ab9a2dfb Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:57:18 2021 +0100 FIxed major login issue from last commit commit 84d767ac99946016dca6ef92991f12f661de266c Author: aunefyren <oystein.sverre@gmail.com> Date: Sat Dec 4 13:12:42 2021 +0100 Made PHP classes, added client_id variable PHP now uses classes on everything but the main stat API call. This should improve error messages. Added new client_id variable for Plex Auth Tried to improve caching description Tautulli test button now alerts error messages New code has comments commit e14ad8b5ccd937eea639eb6fc8c6c7e93ee9df3a Author: aunefyren <oystein.sverre@gmail.com> Date: Fri Dec 3 17:25:00 2021 +0100 Changed UI for admin & Trying to alert permission issues
2021-12-12 16:31:15 +00:00
<br>
<br>
2021-11-29 12:37:56 +00:00
## Frequently asked questions
### Q: Why are the plays different on Wrapperr compared to Tautulli
2022-01-20 23:04:43 +00:00
A: Data is retrieved from the Tautulli API, but not necasserly proccessed in the same manner. The difference could for example be that you have history entries for the same media (movie for example) split over different Tautulli items. For example, you could have two items for the movie 'Black Widow' from potentially updating the file on Plex, leading Tautulli to interperet it as a new item/media. The easiest way to check for this is by going to the 'History' tab and searching for the title. This might display more entries than clicking into the movie item, which displays all history items for that particular item.
There is an option to merge different Tautulli items if this is your case.
2022-01-20 23:04:43 +00:00
What also could cause confusion is related to Tautulli grouping feature. When you have grouping enabled, different plays are grouped on an API call basis. Meaning that when you display all history items for a movie on Tautulli, six different plays spanning three days might be placed into one group. Wrapperr calls the Tautulli API on a day basis, meaning grouping never spans multiple days, potentially leading to an increase in plays because the groups are smaller.
<br>
<br>
## Need help?
If you have any issues feel free to contact me. I am always trying to improve the project. If I can't, many people on several forums (including [/r/plex](https://www.reddit.com/r/plex)) might be able to assist you.
Have fun.