Advertisement
Guest User

Untitled

a guest
Mar 16th, 2016
116
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @echo off
  2.  
  3. echo Cleaning Local Music Files...
  4. python C:\PROGRA~2\KODISC~1\CACHEM~1\TEXTUR~1\TEXTUR~1.PY notify "Texture Cache Maintenance Utility" "Cleaning Kodi Cache..." 100000 "C://Program Files (x86)//Kodi Scripts//Cache Maintenance//cleaning.png"
  5.  
  6. echo.
  7.  
  8. DEL /F /S /Q /A:-R "D:\Kodi Music\artist.nfo"
  9. DEL /F /Q /A:-R "D:\Kodi Music\folder.jpg"
  10. DEL /F /Q /A:-R "D:\Kodi Music\fanart.jpg"
  11.  
  12. DEL /F /Q /A:-R "D:\Kodi Music\Ali Farka Tour‚ with Ry Cooder\folder.jpg"
  13. DEL /F /Q /A:-R "D:\Kodi Music\Astrud Gilberto & Walter Wanderley\folder.jpg"
  14. DEL /F /Q /A:-R "D:\Kodi Music\Beth Gibbons & Rustin Man\folder.jpg"
  15. DEL /F /Q /A:-R "D:\Kodi Music\Bill Evans Trio feat. Stan Getz\folder.jpg"
  16. DEL /F /Q /A:-R "D:\Kodi Music\Charlie Haden & Pat Metheny\folder.jpg"
  17. DEL /F /Q /A:-R "D:\Kodi Music\Charlie Haden with Michael Brecker feat. Brad Mehldau and Brian Blade\folder.jpg"
  18. DEL /F /Q /A:-R "D:\Kodi Music\Diana Ross & The Supremes\folder.jpg"
  19. DEL /F /Q /A:-R "D:\Kodi Music\Ella Fitzgerald and The Paul Smith Quartet\folder.jpg"
  20. DEL /F /Q /A:-R "D:\Kodi Music\Elvis Costello & The Attractions\folder.jpg"
  21. DEL /F /Q /A:-R "D:\Kodi Music\Elvis Costello and The Brodsky Quartet\folder.jpg"
  22. DEL /F /Q /A:-R "D:\Kodi Music\Jeanne Lee & Ran Blake\folder.jpg"
  23. DEL /F /Q /A:-R "D:\Kodi Music\Jeff Beck & The Big Town Playboys\folder.jpg"
  24. DEL /F /Q /A:-R "D:\Kodi Music\Nancy Sinatra & Lee Hazlewood\folder.jpg"
  25. DEL /F /Q /A:-R "D:\Kodi Music\Neil Young\folder.jpg"
  26. DEL /F /Q /A:-R "D:\Kodi Music\Paco de Luc¡a, Al Di Meola & John McLaughlin\folder.jpg"
  27. DEL /F /Q /A:-R "D:\Kodi Music\Prince & The Revolution\folder.jpg"
  28. DEL /F /Q /A:-R "D:\Kodi Music\The Lester Young - Teddy Wilson Quartet\folder.jpg"
  29.  
  30. DEL /F /Q /A:-R "D:\Kodi Music\Ali Farka Tour‚ with Ry Cooder\fanart.jpg"
  31. DEL /F /Q /A:-R "D:\Kodi Music\Astrud Gilberto & Walter Wanderley\fanart.jpg"
  32. DEL /F /Q /A:-R "D:\Kodi Music\Beth Gibbons & Rustin Man\fanart.jpg"
  33. DEL /F /Q /A:-R "D:\Kodi Music\Bill Evans Trio feat. Stan Getz\fanart.jpg"
  34. DEL /F /Q /A:-R "D:\Kodi Music\Charlie Haden & Pat Metheny\fanart.jpg"
  35. DEL /F /Q /A:-R "D:\Kodi Music\Charlie Haden with Michael Brecker feat. Brad Mehldau and Brian Blade\fanart.jpg"
  36. DEL /F /Q /A:-R "D:\Kodi Music\Diana Ross & The Supremes\fanart.jpg"
  37. DEL /F /Q /A:-R "D:\Kodi Music\Ella Fitzgerald and The Paul Smith Quartet\fanart.jpg"
  38. DEL /F /Q /A:-R "D:\Kodi Music\Elvis Costello & The Attractions\fanart.jpg"
  39. DEL /F /Q /A:-R "D:\Kodi Music\Elvis Costello and The Brodsky Quartet\fanart.jpg"
  40. DEL /F /Q /A:-R "D:\Kodi Music\Jeanne Lee & Ran Blake\fanart.jpg"
  41. DEL /F /Q /A:-R "D:\Kodi Music\Jeff Beck & The Big Town Playboys\fanart.jpg"
  42. DEL /F /Q /A:-R "D:\Kodi Music\Nancy Sinatra & Lee Hazlewood\fanart.jpg"
  43. DEL /F /Q /A:-R "D:\Kodi Music\Neil Young\fanart.jpg"
  44. DEL /F /Q /A:-R "D:\Kodi Music\Paco de Luc¡a, Al Di Meola & John McLaughlin\fanart.jpg"
  45. DEL /F /Q /A:-R "D:\Kodi Music\Prince & The Revolution\fanart.jpg"
  46. DEL /F /Q /A:-R "D:\Kodi Music\The Lester Young - Teddy Wilson Quartet\fanart.jpg"
  47.  
  48. echo.
  49.  
  50. echo Cleaning Local Video Files...
  51.  
  52. echo.
  53.  
  54. REM Changing Main Video Artworks Attribute to Read Only...
  55.  
  56. attrib +r "E:\movieset-fanart.jpg" /s
  57. attrib +r "E:\movieset-poster.jpg" /s
  58. attrib +r "E:\movie.nfo" /s
  59. attrib +r "F:\Movie Sets\movieset-fanart.jpg" /s
  60. attrib +r "F:\Movie Sets\movieset-poster.jpg" /s
  61. attrib +r "F:\Movie Sets\movie.nfo" /s
  62.  
  63. REM Deleting Duplicate Video Artworks and Music nfos...
  64.  
  65. DEL /F /S /Q /A:-R "E:\*-poster.jpg"
  66. DEL /F /S /Q /A:-R "E:\*-banner.jpg"
  67. DEL /F /S /Q /A:-R "E:\*-fanart.jpg"
  68. DEL /F /S /Q /A:-R "E:\*-clearlogo.png"
  69. DEL /F /S /Q /A:-R "E:\*-discart.png"
  70. DEL /F /S /Q /A:-R "E:\*.nfo"
  71. DEL /F /S /Q /A:-R "F:\Movie Sets\*-poster.jpg"
  72. DEL /F /S /Q /A:-R "F:\Movie Sets\*-banner.jpg"
  73. DEL /F /S /Q /A:-R "F:\Movie Sets\*-fanart.jpg"
  74. DEL /F /S /Q /A:-R "F:\Movie Sets\*-clearlogo.png"
  75. DEL /F /S /Q /A:-R "F:\Movie Sets\*-discart.png"
  76. DEL /F /S /Q /A:-R "F:\Movie Sets\*.nfo"
  77. DEL /F /S /Q /A:-R "F:\TV Shows\*-banner.jpg"
  78. DEL /F /S /Q /A:-R "F:\TV Shows\clearlogo.png"
  79.  
  80. REM Removing Main Video Artworks Read Only Attribute ...
  81.  
  82. attrib -r "E:\movieset-fanart.jpg" /s
  83. attrib -r "E:\movieset-poster.jpg" /s
  84. attrib -r "E:\movie.nfo" /s
  85. attrib -r "F:\Movie Sets\movieset-fanart.jpg" /s
  86. attrib -r "F:\Movie Sets\movieset-poster.jpg" /s
  87. attrib -r "F:\Movie Sets\movie.nfo" /s
  88.  
  89. echo.
  90.  
  91. echo Updating Texture Cache Maintenance Utility...
  92.  
  93. python C:\PROGRA~2\KODISC~1\CACHEM~1\TEXTUR~1\TEXTUR~1.PY update
  94.  
  95. echo.
  96.  
  97. echo Cleaning Kodi Internal Texture cache...
  98.  
  99. python C:\PROGRA~2\KODISC~1\CACHEM~1\TEXTUR~1\TEXTUR~1.PY P
  100. python C:\PROGRA~2\KODISC~1\CACHEM~1\TEXTUR~1\TEXTUR~1.PY notify "Texture Cache Maintenance Utility" "Kodi Cache has been cleaned!" 2000 "C://Program Files (x86)//Kodi Scripts//Cache Maintenance//checkmark.png"
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement