[solved] Mixed artist pictures (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    Is it possible to change the query to delete them?
    Why not :) In my opinion, so ...
    SQL:
    DELETE FROM Image WHERE Provider = 'Local' AND UPPER(FullPath) IN (SELECT UPPER(FullPath) FROM Image WHERE Provider = 'Local' GROUP BY UPPER(FullPath) HAVING COUNT(UPPER(FullPath)) > 1);
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    I can add this to DB upgrade...

    --
    WBR, ajs :):whistle::coffee:
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Thank you very much!
    I've deleted all duplicate records and will test if they reoccur with the new FH DLL.

    By the way, do you know how to shrink the MySQL database file after the clean-up?
     

    horned_reaper

    Test Group
  • Team MediaPortal
  • January 7, 2011
    1,233
    461
    Munich
    Home Country
    Germany Germany
    Error messages with the new DLL after the clean-up:
    Code:
    [2020-04-22 20:03:09,411] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3858).jpg';
    [2020-04-22 20:03:09,743] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3860).jpg';
    [2020-04-22 20:03:10,163] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3854).jpg';
    [2020-04-22 20:03:10,729] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3857).jpg';
    [2020-04-22 20:03:11,440] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3855).jpg';
    [2020-04-22 20:03:12,277] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3856).jpg';
    [2020-04-22 20:03:13,277] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3859).jpg';
    [2020-04-22 20:03:14,410] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (3861).jpg';
    [2020-04-22 20:03:17,612] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (178990).jpg';
    [2020-04-22 20:03:21,527] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'robbie williams & nicole kidman' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Robbie Williams & Nicole Kidman (2).jpg';
    [2020-04-22 20:51:22,707] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167170).jpg';
    [2020-04-22 20:51:22,959] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (53936).jpg';
    [2020-04-22 20:51:23,367] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167165).jpg';
    [2020-04-22 20:51:23,931] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167168).jpg';
    [2020-04-22 20:51:25,144] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167169).jpg';
    [2020-04-22 20:51:26,232] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167164).jpg';
    [2020-04-22 20:51:27,893] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167166).jpg';
    [2020-04-22 20:51:30,097] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (167167).jpg';
    [2020-04-22 20:51:31,403] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (0).jpg';
    [2020-04-22 20:51:32,633] [Error  ] [ScraperNowWorker] [ERROR] - SQLiteClient: FanartHandler.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR/ERROR detailed:no such column: Povider query:DELETE FROM Image WHERE Key1 = 'above & beyond pres oceanlab' AND Key2 = '' AND Category = 'MusicFanart' AND SubCategory = 'MusicFanartScraped' AND Povider = 'Local' AND FullPath = 'C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Skin FanArt\Scraper\Music\Above & Beyond pres. Oceanlab (1).jpg';
    This happens only once when I play this artist the first time after the clean-up with the new DLL.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    Sorry... I fix this latter...

    --
    WBR, ajs :):whistle::coffee:
     

    Users who are viewing this thread

    Top Bottom