Careful curation of mp3 tags and a short leash.
My Plex and Jellyfin libraries are the same files and they are both handled identically because I don't let them think about the files.
I used a tool to export my Plex playlists as XML, then wrote a little python to convert them into M3U, jellyfin recognizes the M3 use and just makes playlists.