Replace CinemaKDMs class with a list<KDMWithMetadata>
[dcpomatic.git] / src / wx / content_view.cc
index d4ef39cb96210ebb9000823e9c4f42adb1a2767a..d4e18108dd3a97225222f16132bf445cf03d10b3 100644 (file)
@@ -96,7 +96,7 @@ ContentView::update ()
                        }
                } catch (boost::filesystem::filesystem_error& e) {
                        /* Never mind */
-               } catch (dcp::DCPReadError& e) {
+               } catch (dcp::ReadError& e) {
                        /* Never mind */
                }
        }
@@ -109,7 +109,7 @@ ContentView::update ()
                        }
                        return;
                }
-               dcpomatic_sleep (1);
+               dcpomatic_sleep_seconds (1);
        }
 
        /* Add content from successful jobs and report errors */