Stability, Robustness, and Logging
Lots of internal changes to help future coding and handle information from track sources better, plus logging improvements!
- All source/client tracks are now mapped to standardized objects
- All source/client tracks are sorted based on play date instead of relying on order returned from source/client (Spotify had issues this week that shown a light on this problem)
- [Spotify] Internal code re-write to have better single responsibility
- [Spotify] Will now scrobble backlogged tracks -- if the last 20 tracks from spotify are not in scrobble client history they will be recorded (lays foundation for bigger things...)
- Simplified logging with winston to pull from global instance and use separate loggers rather than passing around everywhere
- Cleaned up the logging format so level/label are padded for easier reading and also added object serialization when passed
- [Plex/Tautulli] Debug logging will show content sent in event for easier debugging
- [Plex/Tautulli] Will log a warning if no users are specified in config (so all user content would be scrobbled!)