add modified date to timelines, they might change too (possibly add new timestamp to not reload timelines each time any metadata changes)
This commit is contained in:
parent
9f68f5a1c6
commit
b99e57ba15
2 changed files with 4 additions and 4 deletions
|
@ -27,13 +27,13 @@ pandora.ui.editor = function(data) {
|
||||||
enableSubtitles: ui.videoSubtitles,
|
enableSubtitles: ui.videoSubtitles,
|
||||||
find: ui.itemFind,
|
find: ui.itemFind,
|
||||||
getFrameURL: function(position) {
|
getFrameURL: function(position) {
|
||||||
return '/' + ui.item + '/' + ui.videoResolution + 'p' + position + '.jpg';
|
return '/' + ui.item + '/' + ui.videoResolution + 'p' + position + '.jpg?' + data.modified;
|
||||||
},
|
},
|
||||||
getLargeTimelineURL: function(type, i) {
|
getLargeTimelineURL: function(type, i) {
|
||||||
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg';
|
return '/' + ui.item + '/timeline' + type + '64p' + i + '.jpg?' + data.modified;
|
||||||
},
|
},
|
||||||
getSmallTimelineURL: function(type, i) {
|
getSmallTimelineURL: function(type, i) {
|
||||||
return '/' + ui.item + '/timeline' + type + '16p' + i + '.jpg';
|
return '/' + ui.item + '/timeline' + type + '16p' + i + '.jpg?' + data.modified;
|
||||||
},
|
},
|
||||||
height: pandora.$ui.contentPanel.size(1),
|
height: pandora.$ui.contentPanel.size(1),
|
||||||
id: 'editor',
|
id: 'editor',
|
||||||
|
|
|
@ -14,7 +14,7 @@ pandora.ui.item = function() {
|
||||||
id: pandora.user.ui.item,
|
id: pandora.user.ui.item,
|
||||||
keys: isVideoView ? [
|
keys: isVideoView ? [
|
||||||
'cuts', 'director', 'duration', 'editable', 'layers',
|
'cuts', 'director', 'duration', 'editable', 'layers',
|
||||||
'parts', 'posterFrame', 'rendered', 'rightslevel',
|
'modified', 'parts', 'posterFrame', 'rendered', 'rightslevel',
|
||||||
'size', 'title', 'videoRatio', 'year'
|
'size', 'title', 'videoRatio', 'year'
|
||||||
] : pandora.user.ui.itemView == 'documents' ? [
|
] : pandora.user.ui.itemView == 'documents' ? [
|
||||||
'director', 'documents', 'duration', 'editable',
|
'director', 'documents', 'duration', 'editable',
|
||||||
|
|
Loading…
Reference in a new issue