(v1.5) Code refactoring, Plex playnext cmd & bug fixes
- Refactored code relating to searching and playing songs. This relates to both the regular system and via Plex optional feature.
- Estimated code reduction of around 40%~ for play/search related commands versus v1.4 build.
- New sharedFunctions.js utils file which houses new functions relating to searching and playing songs (relates to the general #4 goal).
- Added a new /plex playnext command which functions similarly to the regular playnext command, but for the Plex feature (#52).
- Adjusted the API endpoints that are used for Plex server requests, to more reliable and valid options.
- Fixed bug #53 by encoding the query into a URI component for any web requests.
- Bug #32 should be resolved after reworking code into functions and switching to a different endpoint for searching.
- Config version remains unchanged.
Full Changelog: v1.4...v1.5