# Path: simpleMediaCenter/player/MPlayer.py
# class MPlayer(Omxplayer):
#     __logger=logging.getLogger(__name__)
#     __playerline="mplayer -slave -fs -vo xv -zoom"
#     
#     keymapping = {
#         'pause' : 'pause\n',
#         'quit'  : 'quit\n',
#         'volume': {
#                     'up'   : 'volume +5\n',
#                     'down' : 'volume -5\n'
#                   }
#         }
# 
#     def __init__(self):
#         self.__logger.debug("init")
#     
#     def getcmdline(self,file):
#         return self.__playerline + " " + " '" + file + "'"


from simpleMediaCenter.player.MPlayer import MPlayer
import unittest
import time

class TestMPlayer(unittest.TestCase):
    testfilepath1 = "TEST VIDEO-1.mp4"
    testfilepath2 = "TEST VIDEO-2.mp4"
    

    def setUp(self):

# Path: simpleMediaCenter/player/MPlayer.py
# class MPlayer(Omxplayer):
#     __logger=logging.getLogger(__name__)
#     __playerline="mplayer -slave -fs -vo xv -zoom"
#     
#     keymapping = {
#         'pause' : 'pause\n',
#         'quit'  : 'quit\n',
#         'volume': {
#                     'up'   : 'volume +5\n',
#                     'down' : 'volume -5\n'
#                   }
#         }
# 
#     def __init__(self):
#         self.__logger.debug("init")
#     
#     def getcmdline(self,file):
#         return self.__playerline + " " + " '" + file + "'"


# Path: test/test_MPlayer.py
from simpleMediaCenter.player.MPlayer import MPlayer
import unittest
import time


class TestMPlayer(unittest.TestCase):
    testfilepath1 = "TEST VIDEO-1.mp4"
    testfilepath2 = "TEST VIDEO-2.mp4"
    

    def setUp(self):

        self.mplayer = MPlayer()