Cache clear hooks, track length update fix
This commit is contained in:
@@ -32,7 +32,7 @@ class ArtistController < ApplicationController
|
||||
title: @artist.name,
|
||||
status: @artist.status_str,
|
||||
callback: {object: :player, action: :updateLibrary},
|
||||
cache_for: 1.day
|
||||
cache_for: (1.day if @artist.status_str == "ok")
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user