Fixed bug where show config setting dictated music function.
Added many comments to the code.
Also removed two JSON files that are automatically configured so maybe I stop accidentally publishing my API keys...
All data calculations moved to PHP side
Response arrays limited to needed data (10)
Fixed bug where users artist and album plays just counted unique track plays
JSON response more streamlined with consistent build
New custom intro message, with HTML allowed
Fixed bug where timezone was always Oslo
Removed hardwired timeframe reference
Tweaked time conversion functions, 60 seconds no longer outputs 1 min and 0 seconds.
Changed oldest albums function to sort out unknown years beforehand and not receive whole array
Changed movie function to not print year if value is empty
Better error codes in PHP
HTTP response codes
CSS changed to <a> elements
Changed folder structure of html files to folder with index.html
Linking between main, admin and caching pages
Added footer to caching page
If you gather stats without providing ID for said library you are now warned in the admin config.
Fixed a bug where the "optional" cache age-limit would not work if 0 or empty.
Music can now be added as stats.
More options on admin page
More dynamic building of stats with the new options considered
Fixed bug where test connection button malfunctioned because of no log-settings
All the different PHP APIs can now log successful activity to a log file in the config directory. The logging of Wrapped activity includes the ID of the user. Enabled/disabled in the admin menu.
The config and cache files are now recreated if missing/deleted.
Inputs are now trimmed in the API and compared in lowercase to avoid missmatches.
Added better labels and descriptions on some inputs, as well as placeholders.
Fixed some details in README.md
- The server-wide statistics now checks for results from other users if cache is enabled
- The input string when searching now removes spaces at the beginning and the end
- The footer no longer overlaps other elements
- Changed API response
- Fixed bug where no shows created error message when retrieving show buddy
- Tweaked username retrieved from Tautulli
- Moved stat modules to function
- All timecodes are converted to strings dynamically
- New button in admin-settings to test Tautulli connection
- API now responds if Tautulli can't be reached
- Added footer (not visible on stat-screen)
- Passwords now clears on incorrect login