Advertisement
Guest User

Untitled

a guest
Aug 27th, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.21 KB | None | 0 0
  1. Usage: texturecache.py [s, S] <string> |
  2. [x, X, f, F] [sql-filter] |
  3. Xd |
  4. d <id[id id]>] |
  5. c [class [filter]] |
  6. nc [class [filter]] |
  7. lc [class] |
  8. lnc [class] |
  9. C class filter |
  10. [j, J, jd, Jd, jr, Jr] class [filter] |
  11. qa class [filter] |
  12. qax class [filter] |
  13. [p, P] |
  14. [r, R] |
  15. imdb movies [filter] |
  16. imdb tvshows [filter] |
  17. purge hashed|unhashed|all pattern [pattern [pattern]] |
  18. purgetest hashed|unhashed|all pattern [pattern [pattern]] |
  19. fixurls |
  20. remove mediatype libraryid |
  21. watched class backup <filename> [filter] |
  22. watched class restore <filename> [filter] |
  23. duplicates |
  24. set |
  25. testset |
  26. set class libraryid key1 value 1 [key2 value2...] |
  27. missing class src-label [src-label]* |
  28. ascan [path] |
  29. vscan [path] |
  30. aclean |
  31. vclean |
  32. sources [media] |
  33. sources media [label] |
  34. directory path |
  35. rdirectory path |
  36. readfile infile [outfile | -] |
  37. notify title message [displaytime [image]] |
  38. status [idleTime] |
  39. monitor |
  40. power <state> |
  41. exec [params] |
  42. execw [params] |
  43. wake |
  44. rbphdmi [seconds] |
  45. stats [class]* |
  46. input action* [parameter] |
  47. screenshot |
  48. volume [mute|unmute|#] |
  49. stress-test view-type numitems [pause] [repeat] [cooldown ] |
  50. setsetting name value |
  51. getsetting name |
  52. getsettings [pattern] |
  53. debugon |
  54. debugoff |
  55. play item [playerid] |
  56. playw item [playerid] |
  57. stop [playerid] |
  58. pause [playerid] |
  59. profiles |
  60. config |
  61. version |
  62. update |
  63. fupdate
  64. [@property=value ...]
  65.  
  66. s Search URL column for partial movie or TV show title. Case-insensit ive.
  67. S Same as "s" (search) but will validate cachedurl file exists, displ aying only those that fail validation
  68. x Extract details, using optional SQL filter
  69. X Same as "x" (extract) but will validate cachedurl file exists, disp laying only those that fail validation
  70. Xd Same as "x" (extract) but will DELETE those rows for which no cache durl file exists
  71. f Same as x, but includes file summary (file count, accumulated file size)
  72. F Same as f, but doesn't include database rows
  73. d Delete rows with matching ids, along with associated cached images
  74. c Re-cache missing artwork. Class can be movies, tags, sets, tvshows, artists, albums or songs.
  75. C Re-cache artwork even when it exists. Class can be movies, tags, se ts, tvshows, artists, albums or songs. Class and filter both mandatory unless al low.recacheall=yes.
  76. nc Same as c, but don't actually cache anything (ie. see what is missi ng). Class can be movies, tags, sets, tvshows, artists, albums or songs.
  77. lc Like c, but only for content added since the modification date of t he file specficied in property lastrunfile
  78. lnc Like nc, but only for content added since the modification date of the file specficied in property lastrunfile
  79. lC Like C, but only for content added since the modification date of t he file specficied in property lastrunfile
  80. j Query library by class (movies, tags, sets, tvshows, artists, album s or songs) with optional filter, return JSON results.
  81. J Same as "j", but includes extra JSON audio/video fields as defined in properties file.
  82. jd, Jd Functionality equivalent to j/J, but all URLs are decoded
  83. jr, Jr Functionality equivalent to j/J, but all URLs are decoded and non-A SCII characters output (ie. "raw")
  84. qa Run QA check on movies, tags and tvshows, identifying media with mi ssing artwork or plots
  85. qax Same as qa, but remove and rescan those media items with missing de tails.
  86. Configure with qa.zero.*, qa.blank.* and qa.art.* properties. Prefi x field with ? to render warning only.
  87. p Display files present in texture cache that don't exist in the medi a library
  88. P Prune (automatically remove) cached items that don't exist in the m edia library
  89. r Reverse search to identify "orphaned" Thumbnail files that are not present in the texture cache database
  90. R Same as "r" (reverse search) but automatically deletes "orphaned" T humbnail files
  91. imdb Update IMDb fields (default: ratings and votes) on movies or tvshow s - pipe output into set to apply changes to media library. Specify alternate or additional fields with @imdb.fields.movies and @imdb.fields.tvshows
  92. purge Remove cached artwork with URLs containing specified patterns, with or without hash
  93. purgetest Dry-run version of purge
  94. fixurls Output new URLs for movies, sets and TV shows that have URLs contai ning both forward and backward slashes. Output suitable as stdin for set option
  95. remove Remove a library item - specify type (movie, tvshow, episode or mus icvideo) and libraryid
  96. watched Backup or restore movies and tvshows watched status and restore poi nts, to/from the specified text file
  97. duplicates List movies with multiple versions as determined by imdb number
  98. set Set values on objects (movie, tvshow, episode, musicvideo, album, a rtist, song) eg. "set movie 312 art.fanart 'http://assets.fanart.tv/fanart/movie s/19908/hdmovielogo/zombieland-5145e97ed73a4.png'"
  99. testset Dry run version of set
  100. missing Locate media files missing from the specified media library, matche d against one or more source labels, eg. missing movies "My Movies"
  101. ascan Scan entire audio library, or specific path
  102. vscan Scan entire video library, or specific path
  103. aclean Clean audio library
  104. vclean Clean video library
  105. sources List all sources, or sources for specific media type (video, music, pictures, files, programs) or label (eg. "My Movies")
  106. directory Retrieve list of files in a specific directory (see sources)
  107. rdirectory Recursive version of directory
  108. readfile Read contents of a remote file, writing output to stdout ("-", but not suitable for binary data) or the named file (suitable for binary data)
  109. notify Send notification to Kodi GUI. Requires title and message arguments , with optional displaytime in milliseconds (default 5000) and image/icon locati on
  110. status Display state of client - ScreenSaverActive, SystemIdle (default 60 0 seconds), active Player state etc.
  111. monitor Display client event notifications as they occur
  112. power Control power state of client, where state is one of suspend, hiber nate, shutdown, reboot and exit
  113. wake Wake (over LAN) the client corresponding to the MAC address specifi ed by property network.mac
  114. exec Execute specified addon, with optional parameters
  115. execw Execute specified addon, with optional parameters and wait (althoug h often wait has no effect)
  116. rbphdmi Manage HDMI power saving on a Raspberry Pi by monitoring Screensave r notifications. Default power-off delay is 900 seconds after screensaver has st arted.
  117. stats Output media library stats
  118. input Send keyboard/remote control input to client, where action is back, left, right, up, down, executeaction, sendtext etc.
  119. volume Set volume level 0-100, mute or unmute, or display current mute sta te and volume level
  120. stress-test Stress GUI by walking over library items. View type: thumbnail, hor izontal, vertical. Default pause 0.25, repeat 1, cooldown (in seconds) 0.
  121. screenshot Take a screen grab of the current display
  122. setsetting Set the value of the named setting, eg. 'setsetting locale.language English'
  123. getsetting Get the current value of the named setting, eg. 'getsetting locale. language'
  124. getsettings View details of all settings, or those where pattern is contained w ithin id, eg. 'getsettings debug' to view details of all debug-related settings
  125. debugon Enable debugging
  126. debugoff Disable debugging
  127. play Play the specified item (on the specified player: null, default, #)
  128. playw Play the specified item (on the specified player: null, default, #) , and wait until playback ends
  129. stop Stop playback of the specified player, or all currently active play ers
  130. pause Toggle pause/playback of the specified player, or all currently act ive players
  131. profiles List available profiles
  132.  
  133. config Show current configuration
  134. version Show current version and check for new version
  135. update Update to new version (if available)
  136.  
  137. Valid media classes: addons, pvr.tv, pvr.radio, artists, albums, songs, movies, sets, tags, tvshows
  138. Valid meta classes: audio (artists + albums + songs) and video (movies + sets + tvshows) and all (audio + video + addons + pvr.tv + pvr.radio)
  139. Meta classes can be used in place of media classes for: c/C/nc/lc/lnc/j/J/jd/Jd/ qa/qax options.
  140.  
  141. SQL Filter fields:
  142. id, cachedurl, height, width, usecount, lastusetime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement