diff options
| author | Shyam Sunder <sgsunder1@gmail.com> | 2018-09-13 15:48:13 -0400 |
|---|---|---|
| committer | Marcin Kurczewski <rr-@sakuya.pl> | 2018-09-24 11:36:13 +0200 |
| commit | 2235a72d2fa0f8216a868698d31cd8774444d7a5 (patch) | |
| tree | fd828c52c6d341d40dae2892345b21237c348419 /server | |
| parent | c8fe0fcdff0ba0c84183da2b07a5e02b1af0cc69 (diff) | |
server+client: added sound flag to video posts
Diffstat (limited to 'server')
| -rw-r--r-- | server/szurubooru/func/posts.py | 1 | ||||
| -rw-r--r-- | server/szurubooru/model/post.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/server/szurubooru/func/posts.py b/server/szurubooru/func/posts.py index 9589a30..4fcc087 100644 --- a/server/szurubooru/func/posts.py +++ b/server/szurubooru/func/posts.py @@ -81,6 +81,7 @@ TYPE_MAP = { FLAG_MAP = { model.Post.FLAG_LOOP: 'loop', + model.Post.FLAG_SOUND: 'sound', } diff --git a/server/szurubooru/model/post.py b/server/szurubooru/model/post.py index f04ffb5..d682c1b 100644 --- a/server/szurubooru/model/post.py +++ b/server/szurubooru/model/post.py @@ -154,6 +154,7 @@ class Post(Base): TYPE_FLASH = 'flash' FLAG_LOOP = 'loop' + FLAG_SOUND = 'sound' # basic meta post_id = sa.Column('id', sa.Integer, primary_key=True) |