Beispiel #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
Beispiel #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