How to migrate from Plex to Jellyfin

A quick how-to describing how to migrate your library and it's history from Plex to Jellyfin.