Mercurial > code > home > repos > light9
diff bin/vidref @ 1994:1b690005aabd
little vidref player inside timeline
Ignore-this: 87333fed2271d9eae182fff1e3d2be1
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 09 Jun 2019 19:16:37 +0000 |
parents | c8f0d1b9a171 |
children | 67575505c400 |
line wrap: on
line diff
--- a/bin/vidref Sun Jun 09 18:31:47 2019 +0000 +++ b/bin/vidref Sun Jun 09 19:16:37 2019 +0000 @@ -153,7 +153,7 @@ }) clips.sort(key=lambda c: len(cast(list, c['songToVideo']))) - clips = clips[-3:] + clips = clips[-int(self.get_argument('maxClips', '3')):] clips.sort(key=lambda c: c['uri'], reverse=True) ret = json.dumps(clips)