I have never done it, but I think Webtool-NG does this. GitHub - WebTools-NG/WebTools-NG: WebTools Next Generation for Plex