Exemplo n.º 1
0
    def test_get_fanarts(self):
        provider = Provider()
        context = kodion.Context()

        resource_manager = ResourceManager(context, provider.get_client(context))
        resource_manager.clear()
        fanarts = resource_manager.get_fanarts(['UCDbAn9LEzqONk__uXA6a9jQ', 'UC8i4HhaJSZhm-fu84Bl72TA'])
        fanarts = resource_manager.get_fanarts(['UCDbAn9LEzqONk__uXA6a9jQ', 'UC8i4HhaJSZhm-fu84Bl72TA'])
        pass
    def test_get_fanarts(self):
        provider = Provider()
        context = kodion.Context()

        resource_manager = ResourceManager(context, provider.get_client(context))
        resource_manager.clear()
        fanarts = resource_manager.get_fanarts(["UCDbAn9LEzqONk__uXA6a9jQ", "UC8i4HhaJSZhm-fu84Bl72TA"])
        fanarts = resource_manager.get_fanarts(["UCDbAn9LEzqONk__uXA6a9jQ", "UC8i4HhaJSZhm-fu84Bl72TA"])
        pass
Exemplo n.º 3
0
    def test_get_related_playlists(self):
        provider = Provider()
        context = kodion.Context()

        resource_manager = ResourceManager(context, provider.get_client(context))
        resource_manager.clear()
        playlists = resource_manager.get_related_playlists('UCDbAn9LEzqONk__uXA6a9jQ')
        playlists = resource_manager.get_related_playlists('UCDbAn9LEzqONk__uXA6a9jQ')
        pass
    def test_get_related_playlists(self):
        provider = Provider()
        context = kodion.Context()

        resource_manager = ResourceManager(context, provider.get_client(context))
        resource_manager.clear()
        playlists = resource_manager.get_related_playlists("UCDbAn9LEzqONk__uXA6a9jQ")
        playlists = resource_manager.get_related_playlists("UCDbAn9LEzqONk__uXA6a9jQ")
        pass