Only update bif if playing state

This commit is contained in:
JonnyWong16 2017-08-23 22:23:33 -07:00
parent da3abf11a2
commit 3b0e4bf254

View file

@ -272,7 +272,7 @@
% if config['pms_use_bif']: % if config['pms_use_bif']:
// if using bif indexes, update the bif thumbnail // if using bif indexes, update the bif thumbnail
if (s.indexes) { if (s.indexes && s.state == 'playing') {
var bif_poster = $('#bif-' + key); var bif_poster = $('#bif-' + key);
bif_poster.animate({ opacity: 0 }, { duration: 1000, queue: false }); bif_poster.animate({ opacity: 0 }, { duration: 1000, queue: false });
bif_poster.after($('<div id="bif-' + key + '"class="dashboard-activity-poster-face" style="background-image: url(pms_image_proxy?img=' bif_poster.after($('<div id="bif-' + key + '"class="dashboard-activity-poster-face" style="background-image: url(pms_image_proxy?img='