Permalink
Please
sign in to comment.
Browse files
Backend Video Scanner: Perform all metadata updates and image downloa…
…d the UI can. Replaces the old video scanner thread in the backend (well, old is relative) and replace it with a MetadataFactory. Add a video scanning thread to the Metadata Factory, and handling for video metadata in an automated lookup scenario. The hardest part and largest bits of this change are actually code to make the metadata download code agnostic to the fact that it's running on a backend. Specifically, it all makes liberal use of RemoteFile, which will function, but spewed nasty errors about the backend connecting to itself. So, lots and lots of code to detect and work around that. So, to all who have ever complained that they couldn't script a scan, or used it as an excuse for using some script that molested and destroyed their data, please, please instead use: mythbackend --scanvideos or the SCAN_VIDEOS protocol command. This now does everything you can from the frontend, and uses the same classes, so it will never need updating when the frontend gains some new scanning functionality.
- Loading branch information...
Showing
with
704 additions
and 313 deletions.
- +1 −1 mythtv/libs/libmythbase/mythversion.h
- +31 −4 mythtv/libs/libmythmetadata/metadatadownload.cpp
- +227 −4 mythtv/libs/libmythmetadata/metadatafactory.cpp
- +29 −1 mythtv/libs/libmythmetadata/metadatafactory.h
- +92 −25 mythtv/libs/libmythmetadata/metadataimagedownload.cpp
- +1 −0 mythtv/libs/libmythmetadata/metadataimagedownload.h
- +9 −0 mythtv/libs/libmythmetadata/metadataimagehelper.cpp
- +2 −1 mythtv/libs/libmythmetadata/videometadata.cpp
- +212 −258 mythtv/libs/libmythmetadata/videoscan.cpp
- +83 −0 mythtv/libs/libmythmetadata/videoscan.h
- +5 −15 mythtv/programs/mythbackend/mainserver.cpp
- +2 −4 mythtv/programs/mythbackend/mainserver.h
- +10 −0 mythtv/programs/mythfrontend/scheduleeditor.cpp

Oops, something went wrong.
0 comments on commit
86003a4