VidScraper Update

Removed Popups and debug
This commit is contained in:
Oli Passey
2017-12-05 20:41:38 +00:00
parent 2d5ff73cc8
commit f07eb026f2
19 changed files with 969 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.blogscraper" name="VidGrab" version="0.1" provider-name="Oli Passey">
<addon id="plugin.video.blogscraper" name="VidGrab" version="0.1.1" provider-name="Oli Passey">
<requires>
<import addon="xbmc.python" version="2.19.0" />
<import addon="script.module.python.koding.aio" version="0.0.1"/>

View File

@@ -95,18 +95,7 @@ YOUTUBE_CHANNEL_ID_5 = "UCur4HQg-2EQltweoKQfwOfg"
def Main_Menu():
# If debug mode is enabled show the koding tutorials
if debug == 'true':
Add_Dir ( '[COLOR=lime]Koding Tutorials[/COLOR]', '', "tutorials", True, '', '', '' )
else:
Add_Dir ( '[COLOR=lime]Enable debug mode for some cool dev tools![/COLOR]', '', "koding_settings", False, '', '', '' )
# An example title/message we're going to send through to a popup dialog in the first Add_Dir item
my_message= "{'title' : 'Support & Suggestions', 'msg' : \"If you come across any online content you'd like to get added please use the support thread at noobsandnerds.com and I'll be happy to look into it for you.\"}"
Add_Dir(
name="Support/Suggestions", url=my_message, mode="simple_dialog", folder=False,
icon="https://cdn2.iconfinder.com/data/icons/picons-basic-2/57/basic2-087_info-512.png")
# Add some YT Playlists (see we're using BASE as the url)
Add_Dir(
name="DEF CON 25 (2017)", url=BASE+YOUTUBE_CHANNEL_ID_1+"/", folder=True,