API provides details of .srs file instead of video file for unconfirmed samples

Issue #116 new
Former user created an issue

The API is inconsistent between confirmed and unconfirmed samples. For confirmed samples, the API returns the filename/size/crc of the video file. But for unconfirmed samples, it returns the filename/size/crc of the .srs file. There's no way to even work around this in the client as there's no way to get the details of the video file for unconfirmed samples AFAIK.

Please change the behaviour for unconfirmed samples to return the filename/size/crc of the video file, as that's what's in the actual release, and I think is what clients actually want to know (certainly in my use case of checking against a local copy of the release).

Example:

https://www.srrdb.com/api/details/The.Walking.Dead.S10E01.BDRip.x264-BORDURE (sample unconfirmed at time of writing):

"adds":[{"name":"Sample\/the.walking.dead.s10e01.bdrip.x264-bordure.sample.srs","size":25440,"crc":"D411DBFD","id":2556996}]}

https://www.srrdb.com/api/details/The.Walking.Dead.S10E02.BDRip.x264-BORDURE (sample confirmed):

"files":[{"name":"Sample\/the.walking.dead.s10e02.bdrip.x264-bordure.sample.mkv","size":14393215,"crc":"4ED3A1D3"}

Comments (0)

  1. Log in to comment