import pygame

class Lullaby():
    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()


    def stopmusic(self):
        pygame.mixer.music.stop()

    def getmixerargs(self):
        pygame.mixer.init()
        freq, size, chan = pygame.mixer.get_init()
        return freq, size, chan

    def initMixer(self):
        BUFFER = 3072
        FREQ, SIZE, CHAN = self.getmixerargs()
        pygame.mixer.init(FREQ, SIZE, CHAN, BUFFER)

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if (pygame.mixer.music.get_busy() == 1):
            return 1
        else:
            return 0

06fd6a922c93bd2e1a90035041af45952d8fc6c6
<mask token>


class Lullaby:

    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()
    <mask token>
    <mask token>
    <mask token>

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if pygame.mixer.music.get_busy() == 1:
            return 1
        else:
            return 0

<mask token>


class Lullaby:

    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()

    def stopmusic(self):
        pygame.mixer.music.stop()
    <mask token>

    def initMixer(self):
        BUFFER = 3072
        FREQ, SIZE, CHAN = self.getmixerargs()
        pygame.mixer.init(FREQ, SIZE, CHAN, BUFFER)

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if pygame.mixer.music.get_busy() == 1:
            return 1
        else:
            return 0

<mask token>


class Lullaby:

    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()

    def stopmusic(self):
        pygame.mixer.music.stop()

    def getmixerargs(self):
        pygame.mixer.init()
        freq, size, chan = pygame.mixer.get_init()
        return freq, size, chan

    def initMixer(self):
        BUFFER = 3072
        FREQ, SIZE, CHAN = self.getmixerargs()
        pygame.mixer.init(FREQ, SIZE, CHAN, BUFFER)

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if pygame.mixer.music.get_busy() == 1:
            return 1
        else:
            return 0

import pygame


class Lullaby:

    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()

    def stopmusic(self):
        pygame.mixer.music.stop()

    def getmixerargs(self):
        pygame.mixer.init()
        freq, size, chan = pygame.mixer.get_init()
        return freq, size, chan

    def initMixer(self):
        BUFFER = 3072
        FREQ, SIZE, CHAN = self.getmixerargs()
        pygame.mixer.init(FREQ, SIZE, CHAN, BUFFER)

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if pygame.mixer.music.get_busy() == 1:
            return 1
        else:
            return 0

import pygame

class Lullaby():
    def __init__(self):
        self.isPlaying = 0

    def pmusic(self, file):
        pygame.init()
        pygame.mixer.init()
        pygame.mixer.music.load(file)
        pygame.mixer.music.play()


    def stopmusic(self):
        pygame.mixer.music.stop()

    def getmixerargs(self):
        pygame.mixer.init()
        freq, size, chan = pygame.mixer.get_init()
        return freq, size, chan

    def initMixer(self):
        BUFFER = 3072
        FREQ, SIZE, CHAN = self.getmixerargs()
        pygame.mixer.init(FREQ, SIZE, CHAN, BUFFER)

    def playMusic(self):
        self.initMixer()
        file = './lullaby.mp3'
        self.pmusic(file)

    def isContinuePlay(self):
        if (pygame.mixer.music.get_busy() == 1):
            return 1
        else:
            return 0
