11 #include "video/jobs/VideoLibraryProgressJob.h" 36 bool ignoreNfo =
false,
37 const std::string& searchTitle =
"");
42 const char *
GetType()
const override {
return "VideoLibraryRefreshingJob"; }
43 bool operator==(
const CJob* job)
const override;
50 std::shared_ptr<CFileItem> m_item;
54 std::string m_searchTitle;
CVideoLibraryRefreshingJob(std::shared_ptr< CFileItem > item, bool forceRefresh, bool refreshAll, bool ignoreNfo=false, const std::string &searchTitle="")
Creates a new video library cleaning job for the given paths.
Definition: VideoLibraryRefreshingJob.cpp:42
const char * GetType() const override
Function that returns the type of job.
Definition: VideoLibraryRefreshingJob.h:42
Base class for jobs that are executed asynchronously.
Definition: Job.h:109
Definition: VideoDatabase.h:419
Combined base implementation of a video library job with a progress bar.
Definition: VideoLibraryProgressJob.h:17
bool Work(CVideoDatabase &db) override
Worker method to be implemented by an actual implementation.
Definition: VideoLibraryRefreshingJob.cpp:69
Video library job implementation for refreshing a single item.
Definition: VideoLibraryRefreshingJob.h:21
Represents a file on a share.
Definition: FileItem.h:102