# Path: core/engine/hplayer.py
# def signal_handler(signal, frame):
#     def __init__(self, basepath=None, settingspath=None):
#     def log(self, *argv):
#     def isRPi():
#     def name():
#     def addPlayer(self, ptype, name):
#             def vol(ev, value, settings):
#             def pan(ev, value, settings):
#             def flip(ev, value, settings):
#             def loop(ev, value, settings=None):
#             def emitStatus(ev, *args):
#             def reset(ev, *args):
#     def player(self, name):
#     def players(self):
#     def activePlayer(self):
#     def statusPlayers(self):
#     def addSampler(self, ptype, name, poly=4):
#             def emitStatus(ev, *args):
#             def reset(ev, *args):
#     def sampler(self, name):
#     def samplers(self):
#     def statusSamplers(self):
#     def addInterface(self, iface, *argv):
#     def interface(self, name):
#     def interfaces(self):
#     def running(self):
#     def run(self):
#     def autoBind(self, module):
#         def hardreset(ev, *args): 
#         def doaudioout(ev, *args):
#         def play(ev, *args):
#         def playonce(ev, *args):
#         def playloop(ev, *args):
#         def load(ev, *args):
#         def playindex(ev, *args):
#         def playindex(ev, *args):
#         def add(ev, *args):
#         def remove(ev, *args):
#         def clear(ev, *args):
#         def next(ev, *args):
#         def prev(ev, *args):
#         def doplay(ev, *args):
#         def stop(ev, *args):
#         def pause(ev, *args):
#         def resume(ev, *args):
#         def seek(ev, *args):
#         def skip(ev, *args):
#         def doplayseq(ev, *args):
#         def loop(ev, *args):
#         def unloop(ev, *args):
#         def volume(ev, *args):
#         def volume(ev, *args):
#         def volume(ev, *args):
#         def mute(ev, *args):
#         def unmute(ev, *args):
#         def pan(ev, *args):
#         def audiomode(ev, *args):
#         def audiomode(ev, *args):
#         def flip(ev, *args):
#         def fade(ev, *args):
#         def unfade(ev, *args):
#         def unflip(ev, *args):
#         def autoplay(ev, *args):
# class HPlayer2(EventEmitterX):
# 
# Path: core/engine/network.py
# def get_ip(iface=None):
# def get_allip():
# def get_broadcast(iface=None):
# def get_hostname():
# def get_ethmac():
# def get_essid(iface):
# def get_rssi(iface):


from core.engine import hplayer
from core.engine import network
import os, platform

# KXKM
playerName = network.get_hostname()
is_RPi = platform.machine().startswith('armv')
regie_ip = None

# PLAYER

# Path: core/engine/hplayer.py
# def signal_handler(signal, frame):
#     def __init__(self, basepath=None, settingspath=None):
#     def log(self, *argv):
#     def isRPi():
#     def name():
#     def addPlayer(self, ptype, name):
#             def vol(ev, value, settings):
#             def pan(ev, value, settings):
#             def flip(ev, value, settings):
#             def loop(ev, value, settings=None):
#             def emitStatus(ev, *args):
#             def reset(ev, *args):
#     def player(self, name):
#     def players(self):
#     def activePlayer(self):
#     def statusPlayers(self):
#     def addSampler(self, ptype, name, poly=4):
#             def emitStatus(ev, *args):
#             def reset(ev, *args):
#     def sampler(self, name):
#     def samplers(self):
#     def statusSamplers(self):
#     def addInterface(self, iface, *argv):
#     def interface(self, name):
#     def interfaces(self):
#     def running(self):
#     def run(self):
#     def autoBind(self, module):
#         def hardreset(ev, *args): 
#         def doaudioout(ev, *args):
#         def play(ev, *args):
#         def playonce(ev, *args):
#         def playloop(ev, *args):
#         def load(ev, *args):
#         def playindex(ev, *args):
#         def playindex(ev, *args):
#         def add(ev, *args):
#         def remove(ev, *args):
#         def clear(ev, *args):
#         def next(ev, *args):
#         def prev(ev, *args):
#         def doplay(ev, *args):
#         def stop(ev, *args):
#         def pause(ev, *args):
#         def resume(ev, *args):
#         def seek(ev, *args):
#         def skip(ev, *args):
#         def doplayseq(ev, *args):
#         def loop(ev, *args):
#         def unloop(ev, *args):
#         def volume(ev, *args):
#         def volume(ev, *args):
#         def volume(ev, *args):
#         def mute(ev, *args):
#         def unmute(ev, *args):
#         def pan(ev, *args):
#         def audiomode(ev, *args):
#         def audiomode(ev, *args):
#         def flip(ev, *args):
#         def fade(ev, *args):
#         def unfade(ev, *args):
#         def unflip(ev, *args):
#         def autoplay(ev, *args):
# class HPlayer2(EventEmitterX):
# 
# Path: core/engine/network.py
# def get_ip(iface=None):
# def get_allip():
# def get_broadcast(iface=None):
# def get_hostname():
# def get_ethmac():
# def get_essid(iface):
# def get_rssi(iface):


# Path: profiles/_legacy/hpod.py
from core.engine import hplayer
from core.engine import network
import os, platform


# KXKM
playerName = network.get_hostname()
is_RPi = platform.machine().startswith('armv')
regie_ip = None

# PLAYER

player = hplayer.addplayer('mpv', playerName)