Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[events] advance

PossiblyKris edited this page Jan 27, 2017 · 4 revisions
Key Type Description
currentDJ user object Current DJ
lastPlay object Information about last play
media object Media information
mediaStartTime string Server timestamp for when the media started playing
earn boolean If the previous DJ earned points from his play

Example

{
    currentDJ: {
        id: 'xxxxxxxxxxxxxxxxxxxxxxxx',
        username: 'plug.dj',
        ...
    },
    lastPlay: {
        dj: {
            id: 'xxxxxxxxxxxxxxxxxxxxxxxx',
            username: 'plug.dj',
            ...
        },
        media: {
            title: 'Freefire - Dataloss (Darth & Vader Remix)',
            format: 'x',
            author: 'Mateus Rossetto',
            cid: 'xxxxxxxx',
            duration: 332.935,
            id: 'x:xxxxxxxx'
        },
        score: {
            positive: 5,
            listeners: 9,
            curates: 1,
            negative: 0
        }
    },
    media: {
        title: 'Freefire - Dataloss (Darth & Vader Remix)',
        format: 'x',
        author: 'Mateus Rossetto',
        cid: 'xxxxxxxx',
        duration: 332.935,
        id: 'x:xxxxxxxx'
    },
    mediaStartTime: '2012-11-28 21:12:28.674382',
    earn: true
}
Clone this wiki locally