Scene grouping: a variant set (farmyard ~2) is the same place
This commit is contained in:
parent
84fd6b257d
commit
1d8896e8c4
1 changed files with 1 additions and 1 deletions
|
|
@ -1480,7 +1480,7 @@
|
|||
// filmed and current, red when it still needs work - so nobody scrolls
|
||||
// through seventy cards to find one.
|
||||
function hasScenes(shots) { return shots.length > 8 && shots.filter(function (x) { return x.scene; }).length > shots.length / 2; }
|
||||
function sceneKey(s) { return String(s.place || s.scene || s.setting || "").toLowerCase().replace(/^(int|ext)\.?\s*\/?\s*(int|ext)?\.?\s*/, "").replace(/\s*[-–—]\s*(day|night|dawn|dusk|morning|evening|afternoon|late afternoon|continuous|the storm|the tornado).*$/, "").replace(/[^a-z0-9]+/g, " ").trim(); }
|
||||
function sceneKey(s) { return String(s.place || s.scene || s.setting || "").replace(/\s*~\d+$/, "").toLowerCase().replace(/^(int|ext)\.?\s*\/?\s*(int|ext)?\.?\s*/, "").replace(/\s*[-–—]\s*(day|night|dawn|dusk|morning|evening|afternoon|late afternoon|continuous|the storm|the tornado).*$/, "").replace(/[^a-z0-9]+/g, " ").trim(); }
|
||||
// Two keys name one place when one begins with the other ("farmyard",
|
||||
// "farmyard gravel drive"). And a scene that cuts between the kitchen and
|
||||
// the doorstep is ONE scene: a place that comes back within two groups
|
||||
|
|
|
|||
Loading…
Reference in a new issue