XBMC MySQL Video Library cleaning procedure - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: XBMC MySQL Video Library cleaning procedure (/showthread.php?tid=100064) |
XBMC MySQL Video Library cleaning procedure - Cyb3rH4Xter - 2011-04-25 Could a nice developer point me to where I can find the source code of the procedure as described in the title? The thing that starts if you go to Settings > Video > Library > Clean. Would be awesome if someone could paste the code directly here (or pastebin). Otherwise a point to which file I should look into would also be great I will never find it if I try on my own, XBMC source is huge! - firnsy - 2011-04-25 Fair dinkum, the sources are bloody huge. However, I use grep religiously to navigate it. Code: fgrep -rni video xbmc/ | grep -i database | grep -i clean Code: xbmc/video/VideoDatabase.cpp:6248:void CVideoDatabase::CleanDatabase(IVideoInfoScannerObserver* pObserver, const vector<int>* paths) - Cyb3rH4Xter - 2011-04-25 awesome thx! |