Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: texturecache.py [s, S] <string> |
- [x, X, f, F] [sql-filter] |
- Xd |
- d <id[id id]>] |
- c [class [filter]] |
- nc [class [filter]] |
- lc [class] |
- lnc [class] |
- C class filter |
- [j, J, jd, Jd, jr, Jr] class [filter] |
- qa class [filter] |
- qax class [filter] |
- [p, P] |
- [r, R] |
- imdb movies [filter] |
- imdb tvshows [filter] |
- purge hashed|unhashed|all pattern [pattern [pattern]] |
- purgetest hashed|unhashed|all pattern [pattern [pattern]] |
- fixurls |
- remove mediatype libraryid |
- watched class backup <filename> [filter] |
- watched class restore <filename> [filter] |
- duplicates |
- set |
- testset |
- set class libraryid key1 value 1 [key2 value2...] |
- missing class src-label [src-label]* |
- ascan [path] |
- vscan [path] |
- aclean |
- vclean |
- sources [media] |
- sources media [label] |
- directory path |
- rdirectory path |
- readfile infile [outfile | -] |
- notify title message [displaytime [image]] |
- status [idleTime] |
- monitor |
- power <state> |
- exec [params] |
- execw [params] |
- wake |
- rbphdmi [seconds] |
- stats [class]* |
- input action* [parameter] |
- screenshot |
- volume [mute|unmute|#] |
- stress-test view-type numitems [pause] [repeat] [cooldown ] |
- setsetting name value |
- getsetting name |
- getsettings [pattern] |
- debugon |
- debugoff |
- play item [playerid] |
- playw item [playerid] |
- stop [playerid] |
- pause [playerid] |
- profiles |
- config |
- version |
- update |
- fupdate
- [@property=value ...]
- s Search URL column for partial movie or TV show title. Case-insensit ive.
- S Same as "s" (search) but will validate cachedurl file exists, displ aying only those that fail validation
- x Extract details, using optional SQL filter
- X Same as "x" (extract) but will validate cachedurl file exists, disp laying only those that fail validation
- Xd Same as "x" (extract) but will DELETE those rows for which no cache durl file exists
- f Same as x, but includes file summary (file count, accumulated file size)
- F Same as f, but doesn't include database rows
- d Delete rows with matching ids, along with associated cached images
- c Re-cache missing artwork. Class can be movies, tags, sets, tvshows, artists, albums or songs.
- 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.
- 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.
- lc Like c, but only for content added since the modification date of t he file specficied in property lastrunfile
- lnc Like nc, but only for content added since the modification date of the file specficied in property lastrunfile
- lC Like C, but only for content added since the modification date of t he file specficied in property lastrunfile
- j Query library by class (movies, tags, sets, tvshows, artists, album s or songs) with optional filter, return JSON results.
- J Same as "j", but includes extra JSON audio/video fields as defined in properties file.
- jd, Jd Functionality equivalent to j/J, but all URLs are decoded
- jr, Jr Functionality equivalent to j/J, but all URLs are decoded and non-A SCII characters output (ie. "raw")
- qa Run QA check on movies, tags and tvshows, identifying media with mi ssing artwork or plots
- qax Same as qa, but remove and rescan those media items with missing de tails.
- Configure with qa.zero.*, qa.blank.* and qa.art.* properties. Prefi x field with ? to render warning only.
- p Display files present in texture cache that don't exist in the medi a library
- P Prune (automatically remove) cached items that don't exist in the m edia library
- r Reverse search to identify "orphaned" Thumbnail files that are not present in the texture cache database
- R Same as "r" (reverse search) but automatically deletes "orphaned" T humbnail files
- 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
- purge Remove cached artwork with URLs containing specified patterns, with or without hash
- purgetest Dry-run version of purge
- 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
- remove Remove a library item - specify type (movie, tvshow, episode or mus icvideo) and libraryid
- watched Backup or restore movies and tvshows watched status and restore poi nts, to/from the specified text file
- duplicates List movies with multiple versions as determined by imdb number
- 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'"
- testset Dry run version of set
- missing Locate media files missing from the specified media library, matche d against one or more source labels, eg. missing movies "My Movies"
- ascan Scan entire audio library, or specific path
- vscan Scan entire video library, or specific path
- aclean Clean audio library
- vclean Clean video library
- sources List all sources, or sources for specific media type (video, music, pictures, files, programs) or label (eg. "My Movies")
- directory Retrieve list of files in a specific directory (see sources)
- rdirectory Recursive version of directory
- 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)
- notify Send notification to Kodi GUI. Requires title and message arguments , with optional displaytime in milliseconds (default 5000) and image/icon locati on
- status Display state of client - ScreenSaverActive, SystemIdle (default 60 0 seconds), active Player state etc.
- monitor Display client event notifications as they occur
- power Control power state of client, where state is one of suspend, hiber nate, shutdown, reboot and exit
- wake Wake (over LAN) the client corresponding to the MAC address specifi ed by property network.mac
- exec Execute specified addon, with optional parameters
- execw Execute specified addon, with optional parameters and wait (althoug h often wait has no effect)
- 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.
- stats Output media library stats
- input Send keyboard/remote control input to client, where action is back, left, right, up, down, executeaction, sendtext etc.
- volume Set volume level 0-100, mute or unmute, or display current mute sta te and volume level
- 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.
- screenshot Take a screen grab of the current display
- setsetting Set the value of the named setting, eg. 'setsetting locale.language English'
- getsetting Get the current value of the named setting, eg. 'getsetting locale. language'
- 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
- debugon Enable debugging
- debugoff Disable debugging
- play Play the specified item (on the specified player: null, default, #)
- playw Play the specified item (on the specified player: null, default, #) , and wait until playback ends
- stop Stop playback of the specified player, or all currently active play ers
- pause Toggle pause/playback of the specified player, or all currently act ive players
- profiles List available profiles
- config Show current configuration
- version Show current version and check for new version
- update Update to new version (if available)
- Valid media classes: addons, pvr.tv, pvr.radio, artists, albums, songs, movies, sets, tags, tvshows
- Valid meta classes: audio (artists + albums + songs) and video (movies + sets + tvshows) and all (audio + video + addons + pvr.tv + pvr.radio)
- Meta classes can be used in place of media classes for: c/C/nc/lc/lnc/j/J/jd/Jd/ qa/qax options.
- SQL Filter fields:
- id, cachedurl, height, width, usecount, lastusetime
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement