github Drewpeifer/medialytics v2.1.0

latest releases: 2.6.1, v2.6, v.2.5.2...
2 years ago

2.1 - Feedback + Docker Update
This release includes some new user-requested features, most notably the publishing of a publicly hosted docker image.

Contributions

  • github user heehoo98 contributed initial dockerization files, and user jzucker2 added more code (and valuable advice) on hosting a public docker image, latest can be found at ghcr.io/drewpeifer/medialytics:latest

General

  • Lots of cleanup, organization, and inline comments
  • Renamed many variables for consistency, hopefully it's a little easier to follow now
  • Converted chart colors to variables in scripts.js in case you want to change them or add additional colors

Bugs Fixed

  • Limits were returning 1 less than intended when rendering certain axes of charts

New Features

  • Some charts can now toggle between bar and pie by clicking the bar/pie icon in the top of their card
  • Some charts now allow their limit (Top "X") value to be edited within the UI. If a limit longer than the list is entered, the total length of the list is used. Extremely large values may not display as intended (which is why there are limits by default, but they can be changed to any value, e.g. 999999, at the top of scripts.js)
  • Now tracking dateAdded (to library) and displaying "Earliest" and "Latest" addition
  • Now tracking unmatched content and displaying it as a library statistic if any are found

Known issues:

Some XML feed metadata is truncated (by Plex)

After the last update, some users reported inconsistencies with some of the counts when compared to the plex web UI. I took a look and confirmed their suspicions, this is due to the plex XML feed being a truncated version of the full data. For example, movies only return a list of 2 genres (maximum), and it seems to choose the first 2 in the full list from the web UI. So if you have a movie like "Rocky" with genres [Sports, Drama, Action], the XML feed (which Medialytics parses) only returns [Sports, Drama] and does not count Rocky towards the Action genre. Similarly, the XML feed only returns the top 3 actors for any given movie. This is a limitation of the XML feed structure itself, but is kind of understandable given the high possible number of genres and cast members returned when you query a single entry directly.

Server "added" dates can be inaccurate

This update now tracks the earliest item added to your library, as well as the most recent. I only have my own Plex server to test on, and I see some unexpected dates returned for the earliest addition (Plex reports 1-1-2000 for several items). I am not sure how Plex actually tracks or calculates this number, but I assume its accuracy could be affected by the age of your server, or the number of times you have migrated your server, libraries, hard drive volumes, etc. I'll continue to look into it but I haven't figured it out yet, but I figured that value might be more accurate for other people (?) so I left it in the UI for now.

Don't miss a new medialytics release

NewReleases is sending notifications on new releases.