示例#1
0
def mock_playing_next():
    from resources.lib.gui.windows.playing_next import PlayingNext

    xbmc.Player = mock_modules.KodiPlayer
    window = PlayingNext(*SkinManager().confirm_skin_path("playing_next.xml"), item_information=_mock_information)
    window.doModal()
    del window
示例#2
0
    def _show_playing_next(self):
        from resources.lib.gui.windows.playing_next import PlayingNext
        from resources.lib.database.skinManager import SkinManager

        window = PlayingNext(
            *SkinManager().confirm_skin_path("playing_next.xml"),
            item_information=self._get_next_item_item_information())
        window.doModal()
        del window
示例#3
0
    def _show_playing_next(self):

        from resources.lib.gui.windows.playing_next import PlayingNext
        from resources.lib.modules.skin_manager import SkinManager

        PlayingNext(*SkinManager().confirm_skin_path('playing_next.xml'),
                    actionArgs=self._get_next_item_args()).doModal()
示例#4
0
def test_playing_next():
    from resources.lib.gui.windows.playing_next import PlayingNext
    tools.player = mock_modules.KodiPlayer
    PlayingNext(*SkinManager().confirm_skin_path('playing_next.xml'), actionArgs=_mock_args).doModal()