Add more stats.

This commit is contained in:
Jim Driessen
2017-09-28 17:25:21 +02:00
committed by Daan Sprenkels
parent cbc9284865
commit 04cdce9ad4
6 changed files with 148 additions and 19 deletions

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-09-26 13:56
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('queues', '0004_remove_playlistsong_order'),
]
operations = [
migrations.AddField(
model_name='playlistsong',
name='played_at',
field=models.DateTimeField(blank=True, null=True),
),
]

View File

@ -29,6 +29,7 @@ class PlaylistSong(models.Model):
blank=True,
null=True
)
played_at = models.DateTimeField(blank=True, null=True)
# 0: Queued.
# 1: Playing.