Yeah I know that it doesn't necessarily have to be the source path but it certainly is a path higher up in the hierarchy.

Concerning your suggestion we could just go up until there is no more parent path in the database but I'm not 100% sure if that's fool proof. A user might add a video source that points at a directory containing movie and tvshow source folders but just don't set a content on it.

I'm not sure if checking every path for existence in the hierarchy is the right way to go as it will result in a lot more existance checks even though we only really care about the existance of the file and the existance of a directory higher up in the hierarchy.