Sync shared snapshot from 2e6baaa
This commit is contained in:
1 parent
5ea8551d60
commit
81b62cdc26
34 files changed
+197
-121
No files matched your search
@@ -1501,7 +1501,7 @@ func hasFunscriptSidecar(filePath string) bool {
|
||||
}
|
||||
|
||||
// funscriptSidecarExists is hasFunscriptSidecar for callers without local filesystem access
|
||||
// (MediaAnalyzer) - it checks for the sidecar on CarrierNode instead of statting a local path.
|
||||
// (ContentScanner) - it checks for the sidecar on CarrierNode instead of statting a local path.
|
||||
func (s *Server) funscriptSidecarExists(ctx context.Context, key string) bool {
|
||||
base := strings.TrimSuffix(key, filepath.Ext(key))
|
||||
for _, candidate := range []string{base + ".funscript", base + ".json"} {
|
||||
|
||||
Reference in new issue
Block a user