I just switched to using the flatpak Handbrake so I could keep the subtitles and moved my Plex libraries to /Plex/TV Shows (or movies or music etc.). However, when I'm trying to use this script, I keep getting the error, "ERROR # 1 : Failed to move converted file: /tmp/tmp.lCUfgU3rAd.mkv" and plex says that it couldn't move the recorded media to the destination. The Handbrake log shows the file as completing its encoding, so it seems like it's an issue with the script moving the file back. Plex has ownership and I chmod 777 all the folders its working in, so it seems like it's not a permissions issue, not sure what could be the problem.
I just switched to using the flatpak Handbrake so I could keep the subtitles and moved my Plex libraries to /Plex/TV Shows (or movies or music etc.). However, when I'm trying to use this script, I keep getting the error, "ERROR # 1 : Failed to move converted file: /tmp/tmp.lCUfgU3rAd.mkv" and plex says that it couldn't move the recorded media to the destination. The Handbrake log shows the file as completing its encoding, so it seems like it's an issue with the script moving the file back. Plex has ownership and I chmod 777 all the folders its working in, so it seems like it's not a permissions issue, not sure what could be the problem.