Win Creating your first Youtube Add-on
#61
(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

Image
Reply
#62
(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.
Reply
#63
(2015-12-30, 14:59)zag Wrote: Step 2 Setup the add-on
Download the source template for this add-on https://github.com/zag2me/plugin.video.fullycharged
Extract the source into a folder like this

@zag 
Hi

will there be an update here?
I really hope so :-)
Reply
#64
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/
Image Image
Reply
#65
Very nice and informative. Looks very interesting!
Reply
#66
(2019-12-24, 15:28)Andi Wrote: ython 3.

python 3 would work! .
Reply
#67
(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?
Reply
#68
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
Reply
#69
Yes you can create multiple channels.
Image Image
Reply
#70
(2016-02-03, 12:54)johnbless Wrote: Todayshot.in Bengali Tech Review anyone got the multiple channels to work?
Reply



Logout Mark Read Team Forum Stats Members Help
Creating your first Youtube Add-on1
This forum uses Lukasz Tkacz MyBB addons.