Remove some left-over JSON bits.
[dcpomatic.git] / src / lib / examine_content_job.cc
index f68a1eea0e7e765301292c6ff1b66496e5b754cd..cbf180ffcb3bf451379e410039d5d28dfed75d80 100644 (file)
 #include "i18n.h"
 
 using std::string;
+using std::cout;
 using boost::shared_ptr;
 
-ExamineContentJob::ExamineContentJob (shared_ptr<Film> f, shared_ptr<Content> c)
+ExamineContentJob::ExamineContentJob (shared_ptr<const Film> f, shared_ptr<Content> c)
        : Job (f)
        , _content (c)
 {
@@ -49,7 +50,6 @@ void
 ExamineContentJob::run ()
 {
        _content->examine (shared_from_this ());
-       _film->add_content (_content);
        set_progress (1);
        set_state (FINISHED_OK);
 }