I’m trying to make a script to obtain the UID from the mediainfo of downloads in Sonarr’s history. Getting the file path is fine, but the API doesn’t seem to be able to access mediainfo. Instead I’m trying to use the mediainfo binary from the Sonarr installation but it doesn’t output any of the info. I’ve tried on several files that all show valid mediainfo in MPC but the output is the same:
DiskStation> /volume1/@appstore/nzbdrone/bin/mediainfo -f --Output=XML /volume1/Shared Files/Cartoon/The Simpsons/The Simpsons S24/The.Simpsons.S24E20.PROPER.720p.mkv
<?xml version="1.0" encoding="UTF-8"?>
<Mediainfo version="0.7.68">
</Mediainfo>
Any suggestions?
EDIT: Ugh, didn’t escape spaces. Flagging for closure.