CasparCG / media-scanner

A service used with CasparCG Server software for scanning media located on the server. Queried with query and thumbnail commands through CasparCG Server using AMCP.
https://casparcg.com
GNU Lesser General Public License v3.0
31 stars 33 forks source link

CINF is reporting 501 CINF FAILED instead of 404 #53

Open thezulk opened 3 years ago

thezulk commented 3 years ago

I would expect CINF to use error code 404 for "file missing" as it did in 2.0.7, but it says "501 CINF FAILED" instead

To reproduce, just call "CINF thisfiledoesnotexist"

-- exempel från 2.0.7 Stable -- version 201 VERSION OK 2.0.7.f0607a5 Stable cinf thisfiledowsnotexist 404 CINF ERROR

-- exempel från 2.3.0 LTS Stable -- version 201 VERSION OK 2.3.0 a4a7c053 Dev cinf thisfiledowsnotexist 501 CINF FAILED