(2019-09-09, 01:43)kido Wrote: [ -> ]can you make a addon that lets you add list of youtube channel subcriptions and it will make menus for it ?
may not be what you are after but add this to a widget
plugin://plugin.video.youtube/special/new_uploaded_videos_tv/
you will need to activate plugin 2 times to use Subscriptions
(2017-09-05, 11:29)docwra Wrote: [ -> ] (2017-06-26, 02:09)johnboy1973 Wrote: [ -> ]hey folks im new at this and would like to learn how to do a multi ytoutube channel addon dont understsand this much is there a youtube vid ?
My code for multiple Youtube channel Add-on: editing default.py
Code:
# -*- coding: utf-8 -*-
#------------------------------------------------------------
#------------------------------------------------------------
# License: GPL (http://www.gnu.org/licenses/gpl-3.0.html)
# Based on code from youtube addon
#------------------------------------------------------------
import os
import sys
import plugintools
import xbmc,xbmcaddon
from addon.common.addon import Addon
addonID = 'plugin.video.vanlife'
addon = Addon(addonID, sys.argv)
local = xbmcaddon.Addon(id=addonID)
icon = local.getAddonInfo('icon')
YOUTUBE_CHANNEL_ID1 = "UCHV7BvFPyD5Lixoo8yMRiLA"
YOUTUBE_CHANNEL_ID2 = "UCSCRVmBT1YyuAlCA8c9FJRA"
# Entry point
def run():
# Get params
params = plugintools.get_params()
if params.get("action") is None:
main_list(params)
else:
action = params.get("action")
exec action+"(params)"
plugintools.close_item_list()
# Main menu
def main_list(params):
plugintools.log("vanlife.main_list "+repr(params))
plugintools.add_item(
#action="",
title="Kombi Life",
url="plugin://plugin.video.youtube/channel/"+YOUTUBE_CHANNEL_ID1+"/",
thumbnail=icon,
folder=True )
plugintools.add_item(
#action="",
title="Nomadic Life",
url="plugin://plugin.video.youtube/channel/"+YOUTUBE_CHANNEL_ID2+"/",
thumbnail=icon,
folder=True )
run()
Hi there.
unfortunately it is not possible with python 3.
what would the script look like in python3?
sorry, i use the google translator.
The Add-on migration should be pretty easy(just needs the import module commands updated to py3 style) but I am not sure about plugintools as that is a dependency.
I have messaged the original author to see if he wants to update.
The original author is here is anyone can help (who also speaks spanish!!)
https://www.mimediacenter.info/plugintools/
Very nice and informative. Looks very interesting!
(2020-06-10, 09:52)jaswantbro19 Wrote: [ -> ] (2019-12-24, 15:28)Andi Wrote: [ -> ]ython 3.
python 3 would work! 2 player games
on all system operation? does it work on windows 10?
Hey zag,
Thank you so much for this information, I just wanted to ask that is it okay if I create more than one channel or only one add on can be created.
Regards,
Mika hawkins
Yes you can create multiple channels.
(2021-01-17, 20:21)Laser78 Wrote: [ -> ] (2020-12-02, 12:16)docwra Wrote: [ -> ]So has anyone been able to test with Python 3 yet?
Does the plugintools.py dependency work?
I might update to use the youtube plugin instead as it looks pretty easy to launch.
This might be a good Add-on to fork
https://github.com/misty-/addons/tree/3a....bestofnhk
EDIT: This commit seems to be the one that removes plugintools
https://github.com/misty-/addons/commit/...861383d597
Hi, any ideas ?
It seems that Add-on is not updated for Kodi Matrix yet so we will need to find one that is.
As soon as someone posts a suitable Python 3 Matrix Youtube channel template Add-on I will update this tutorial.
EDIT: For now, the workaround is to just use the youtube Add-on and create favorites to your Subbed channels. It works but lacks the control of a separate Add-on.
Ik zou ook graag een add on creëren alleen het loopt steeds vast?
Heeft iemand tips?