Closed 5opr4ni closed 6 months ago
I can confirm this error. The scanner.exe included in Caspar 2.4 rc1 gives an error with every file if the old database is deleted beforehand.
{
"level": 50,
"time": 1704880162278,
"pid": 21672,
"hostname": "EM-02005095",
"name": "scanner",
"err": {
"type": "PouchError",
"message": "Invalid rev format",
"stack": "Error\n at new CustomPouchError (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:656:21)\n at createError (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:665:10)\n at parseRevisionInfo (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:4438:12)\n at parseDoc (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:4488:17)\n at C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:5264:20\n at Array.map (<anonymous>)\n at C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:5260:29\n at tryCode (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:5070:11)\n at runWriteOperation (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:5133:5)\n at executeNext (C:\\snapshot\\media-scanner\\node_modules\\pouchdb-node\\lib\\index.js:5082:7)",
"status": 400,
"name": "bad_request",
"error": true,
"docId": "AMB"
},
"msg": "Invalid rev format"
}
Fixed in v1.3.2
Ill leave this open until there is a new release of server to aid discovery for other users.
Thanks!
Now it works even though it ends at -1, but that I can live with.
I am a big fan Julian.
The fixed version is in the 2.4.0 release of casparcg, so this can be closed
Expected behaviour
When starting media scanner together with CasparCG, scanning of the media folders should be done.
Current behaviour
On CLS Media scanner throws a lot of errors. The media scanner don't start when using the bat script, have to start it manually. On TLS Works fine.
Error messages from Media scanner: {"level":50,"time":1703683232449,"pid":20176,"hostname":"DSGNCG01","name":"scanner","err":{"type":"PouchError","message":"Invalid rev format","stack":"Error\n at new CustomPouchError (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:656:21)\n at createError (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:665:10)\n at parseRevisionInfo (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:4438:12)\n at parseDoc (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:4488:17)\n at C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:5264:20\n at Array.map ()\n at C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:5260:29\n at tryCode (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:5070:11)\n at runWriteOperation (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:5133:5)\n at executeNext (C:\snapshot\media-scanner\node_modules\pouchdb-node\lib\index.js:5082:7)","status":400,"name":"bad_request","error":true,"docId":"CHL/MOVIES/40_FF_MAPS_UK"},"msg":"Invalid rev format"}
This should maybe be in the Media scanner repo ;)