# Path: simpleMediaCenter/interface/Interface.py
# class Displayable():
#     def getDict(self):
#         raise NotImplementedError
#         
#     def getName(self):
#         return self.__class__.__name__


import os
import logging
from simpleMediaCenter.interface.Interface import Displayable
        from simpleMediaCenter.helpers.twitch import TwitchTV
        from simpleMediaCenter.helpers.youtube import Youtube
#needs rework, pathing needs to be done via a full path, not just parent dir
#similar to a rest interface would be best 
#/ marks root
#/Games/Game Name/1 could display the first page and so on <- workingDir
'''
>>> path = "/Games/Garry's Mod/1"
>>> path.split('/')
['', 'Games', "Garry's Mod", '1']
>>> sp = path.split('/')
>>> '/'.join(sp)
"/Games/Garry's Mod/1"
>>>

'''




# Path: simpleMediaCenter/interface/Interface.py
# class Displayable():
#     def getDict(self):
#         raise NotImplementedError
#         
#     def getName(self):
#         return self.__class__.__name__


# Path: simpleMediaCenter/browser/Browser.py
import os
import logging
from simpleMediaCenter.interface.Interface import Displayable
        from simpleMediaCenter.helpers.twitch import TwitchTV
        from simpleMediaCenter.helpers.youtube import Youtube

#needs rework, pathing needs to be done via a full path, not just parent dir
#similar to a rest interface would be best 
#/ marks root
#/Games/Game Name/1 could display the first page and so on <- workingDir
'''
>>> path = "/Games/Garry's Mod/1"
>>> path.split('/')
['', 'Games', "Garry's Mod", '1']
>>> sp = path.split('/')
>>> '/'.join(sp)
"/Games/Garry's Mod/1"
>>>

'''




class Browser(Displayable):