Skip to content
Snippets Groups Projects
Commit 7d9f8a8b authored by Sebastien ANDRE's avatar Sebastien ANDRE
Browse files

hotline#136863 : zotero : add collation for streaming and videos

parent 78cd6d1f
Branches
Tags
2 merge requests!4098Hotline,!4086hotline#136863 : zotero : add collation for streaming and videos
Pipeline #13828 passed with stage
in 44 minutes and 47 seconds
- ticket #136863 : Zotero : Ajout du support de la durée pour les vidéos
\ No newline at end of file
...@@ -198,6 +198,12 @@ class Class_Notice_MetaData_VideoMovie extends Class_Notice_MetaData { ...@@ -198,6 +198,12 @@ class Class_Notice_MetaData_VideoMovie extends Class_Notice_MetaData {
$script_loader->addMeta('dc.identifier', $this->_record->getEan()); $script_loader->addMeta('dc.identifier', $this->_record->getEan());
return $this; return $this;
} }
protected function _addPages($script_loader) {
$script_loader->addMeta('Z.runningTime', $this->_record->getCollation());
return $this;
}
} }
......
...@@ -222,6 +222,7 @@ class ZoteroVideoTest extends ZoteroTestCase { ...@@ -222,6 +222,7 @@ class ZoteroVideoTest extends ZoteroTestCase {
['dc.creator', 'Cleese, John'], ['dc.creator', 'Cleese, John'],
['dc.creator', 'Coltrane, Robbie'], ['dc.creator', 'Coltrane, Robbie'],
['dc.creator', 'Davis, Warwick'], ['dc.creator', 'Davis, Warwick'],
['Z.runningTime', '2 DVD vidéo monoface zone 2 (2 h 27 min) ; coul.'],
['Z.volume', 1] ['Z.volume', 1]
]; ];
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment