Lines Matching defs:persistentid
234 " persistentid INTEGER NOT NULL," \
243 "CREATE INDEX IF NOT EXISTS idx_persistentidwh ON artwork(type, persistentid, max_w, max_h);"
307 DPRINTF(E_FATAL, L_CACHE, "Error creating index on artwork(type, persistentid, max_w, max_h): %s\n", errmsg);
1036 * @param cmd->arg.persistentid persistent songalbumid or songartistid
1053 query = "INSERT INTO artwork (id, persistentid, max_w, max_h, format, filepath, db_timestamp, data, type) VALUES (NULL, ?, ?, ?, ?, ?, ?, ?, ?);";
1098 * Get the cached artwork image for the given persistentid and maximum width/height
1104 * @param cmd->arg.persistentid persistent itemid, songalbumid or songartistid
1115 #define Q_TMPL "SELECT a.format, a.data FROM artwork a WHERE a.type = %d AND a.persistentid = %" PRIi64 " AND a.max_w = %d AND a.max_h = %d;"
1464 * @param persistentid persistent itemid, songalbumid or songartistid
1473 cache_artwork_add(int type, int64_t persistentid, int max_w, int max_h, int format, char *filename, struct evbuffer *evbuf)
1485 cmd.arg.peristentid = persistentid;
1500 * Get the cached artwork image for the given persistentid and maximum width/height
1505 * @param persistentid persistent songalbumid or songartistid
1514 cache_artwork_get(int type, int64_t persistentid, int max_w, int max_h, int *cached, int *format, struct evbuffer *evbuf)
1526 cmd.arg.peristentid = persistentid;