Ability to directly query information about a media file. TorBox would extract information from the file metadata on the server side and send down as an API call. Could probably be done server side with FFMPEG, mediainfo, or FFPROBE. For a video file for example it could extract and return audio track names/languages, subtitle names/languages and type (PGS, Closed, Forced, etc), runtime, bitrate, resolution, encoding, and formats (DV, HDR, etc). Or for an audio file it could return audio resolution, artist, album, album cover, duration, key and tempo. This would improve user experience with sorting by different specific details.
Currently the best way of sorting is trying to parse file names but this can be unreliable and not complete when the file name does not include all the information details. I also expect that this won’t take significantly more resources as all the mentioned tools are meant to be very lightweight and only process the absolute minimum from the files to get the metadata, however if compute is limited then this endpoint could be limited to only higher tiers such as Standard or even Pro.
Obviously this endpoint would only work if the file has already been cached to either Torrent, Web-DL, or Usenet. It should also probably be triggered at runtime of the endpoint and then have the metadata cached for subsequent requests.
