Example #1
0
def Main_Menu():
    Add_Dir(
        name="Tchaikovsky",
        url=' ',
        mode="tchaikovsky_menu",
        folder=True,
    )
    Add_Dir(
        name="Prokofiev",
        url=' ',
        mode="prokofiev_menu",
        folder=True,
    )
    Add_Dir(
        name="Khachaturian",
        url=' ',
        mode="khachaturian_menu",
        folder=True,
    )
    Add_Dir(
        name="Grieg",
        url=' ',
        mode="grieg_menu",
        folder=True,
    )
    Add_Dir(
        name="London Childrens Ballet",
        url=' ',
        mode="london_childrens_ballet_menu",
        folder=True,
    )
Example #2
0
def Main_Menu():

# Only show koding tutorials if debug mode is enabled in addon settings
    if debug=='true':
        Add_Dir(name='KODING TUTORIALS', url='', mode='tutorials', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))

    Add_Dir(name='TEST DIALOG', url='{"my_text":"My First Add-on[CR]Woohooo!!!","my_desc":"test description"}', mode='testing', folder=False, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))
Example #3
0
def Main_Menu():
    Add_Dir(name='Directions',
            mode='directions',
            folder=False,
            icon=os.path.join(art_path, 'icon.png'),
            fanart=os.path.join(art_path, 'fanart.jpg'))
    Add_Dir(name='Settings',
            url="",
            mode='settings',
            folder=False,
            icon=os.path.join(art_path, 'settings.png'),
            fanart=os.path.join(art_path, 'fanart.jpg'))
    Add_Dir(name='TMDB Lists',
            url="",
            mode='tmdb',
            folder=False,
            icon=os.path.join(art_path, 'tmdb.png'),
            fanart=os.path.join(art_path, 'fanart.jpg'))
    Add_Dir(name='IMDB Lists',
            url="",
            mode='imdb',
            folder=False,
            icon=os.path.join(art_path, 'imdb.png'),
            fanart=os.path.join(art_path, 'fanart.jpg'))
    Add_Dir(name='Trakt Lists',
            url="",
            mode='trakt',
            folder=False,
            icon=os.path.join(art_path, 'trakt.png'),
            fanart=os.path.join(art_path, 'fanart.jpg'))
Example #4
0
def Test_Folder(url):
    if url == 'test_mode':
        dialog.ok(
            'Test Mode',
            'open_folder has been called with the url being "test_mode". When you click OK you should open into and empty folder - this is because folder=True in our Add_Dir()'
        )
    else:
        dialog.ok(
            'TRY THESE EXAMPLES',
            'If you\'ve left the mode as the default you\'ll receive a message explaining the mode does not exist. Feel free to change this to a mode that does exist.'
        )
        Add_Dir(name='EXAMPLE FOLDER',
                url='',
                mode='changeme',
                folder=True,
                icon=os.path.join(art_path, 'icon.png'),
                fanart=os.path.join(art_path, 'fanart.jpg'))
        Add_Dir(name='EXAMPLE ITEM',
                url='',
                mode='changeme',
                folder=False,
                icon=os.path.join(art_path, 'icon.png'),
                fanart=os.path.join(art_path, 'fanart.jpg'))
        Add_Dir(name='EXAMPLE BAD FUNCTION',
                url='',
                mode='bad_function',
                folder=False,
                icon=os.path.join(art_path, 'icon.png'),
                fanart=os.path.join(art_path, 'fanart.jpg'))
Example #5
0
def Tchaikovsky_Menu():
    Add_Dir(
        name="Swan Lake, Kirov Ballet",
        url=BASE3 + YOUTUBE_CHANNEL_ID_1,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Nutcracker Suite",
        url=BASE3 + YOUTUBE_CHANNEL_ID_2,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Sleeping Beauty",
        url=BASE3 + YOUTUBE_CHANNEL_ID_3,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Iolanta",
        url=BASE3 + YOUTUBE_CHANNEL_ID_5,
        folder=False,
        mode='play_yt',
    )
Example #6
0
def Main_Menu():


    Add_Dir(name="Edinburgh Military Tattoo", url=' ', mode="edinburgh_military_tattoo_menu", folder=True,)
    Add_Dir(name="Regimental Bands", url=' ', mode="regimental_bands_menu", folder=True,)
    Add_Dir(name="Other Military Tattoos", url=' ', mode="other_military_tattoos_menu", folder=True,) 
    Add_Dir(name="General Piping Content", url=' ', mode="general_piping_content_menu", folder=True,)
    Add_Dir(name="Gurkha Pipes and Drums", url=' ', mode="gurkha_pipes_and_drums_menu", folder=True,)
Example #7
0
def Khachaturian_Menu():
    Add_Dir(
        name="Spartacus, Bolshoi Ballet",
        url=BASE3 + YOUTUBE_CHANNEL_ID_16,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Gayanee, Armenian Ballet",
        url=BASE3 + YOUTUBE_CHANNEL_ID_17,
        folder=False,
        mode='play_yt',
    )
Example #8
0
def Prokofiev_Menu():
    Add_Dir(
        name="Romeo and Juliet, Nureyev, Orchestra de L'opera de Paris",
        url=BASE3 + YOUTUBE_CHANNEL_ID_1,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Romeo and Juliet, La Scala Ballet",
        url=BASE3 + YOUTUBE_CHANNEL_ID_15,
        folder=False,
        mode='play_yt',
    )
Example #9
0
def Edinburgh_Military_Tattoo_Menu():
    Add_Dir(name="2002", url=BASE3+YOUTUBE_CHANNEL_ID_4, folder=False, mode='play_yt',)
    Add_Dir(name="2010", url=BASE3+YOUTUBE_CHANNEL_ID_6, folder=False, mode='play_yt',)
    Add_Dir(name="2011", url=BASE3+YOUTUBE_CHANNEL_ID_14, folder=False, mode='play_yt',)
    Add_Dir(name="2012", url=BASE3+YOUTUBE_CHANNEL_ID_1, folder=False, mode='play_yt',)
    Add_Dir(name="2013", url=BASE3+YOUTUBE_CHANNEL_ID_2, folder=False, mode='play_yt',)
    Add_Dir(name="2014", url=BASE3+YOUTUBE_CHANNEL_ID_23, folder=False, mode='play_yt',)
    Add_Dir(name="2015", url=BASE3+YOUTUBE_CHANNEL_ID_5, folder=False, mode='play_yt',)
    Add_Dir(name="2016", url=BASE3+YOUTUBE_CHANNEL_ID_7, folder=False, mode='play_yt',)
    Add_Dir(name="2017", url=BASE3+YOUTUBE_CHANNEL_ID_19, folder=False, mode='play_yt',)
Example #10
0
def Main_Menu():

# Only show koding tutorials if debug mode is enabled in addon settings
    if debug=='true':
        Add_Dir(name='KODING TUTORIALS', url='', mode='tutorials', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))

    Add_Dir(name='TEST DIALOG', url='{"my_text":"My First Add-on[CR]Woohooo!!!","my_desc":"test description"}', mode='testing', folder=False, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))

# Once you've played with the above try uncommenting each of the following lines one by one.
# After uncommenting a line re-run the add-on to see your changes take place.

    # Add_Dir(name='OPEN FOLDER - TEST MODE', url='test_mode', mode='open_folder', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))
    # Add_Dir(name='OPEN FOLDER - NO URL', url='', mode='open_folder', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))
     Add_Dir(name='VIDEO EXAMPLES', url='', mode='video_examples', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'), description='A couple of test videos for you to look at.', content_type='video')
Example #11
0
def Video_Examples():
    """
Below are some examples showing Add_Dir() with some artwork and infolabels sent through including trailer link for a movie
You would obviously use some sort of automated loop to auto-generate this info for large lists but hopefully this example may help
    """
    Add_Dir(name='[COLOR=dodgerblue][TV][/COLOR] Fraggle Rock S03E21', url='episode_dialog', mode='scrape_sites', folder=False, content_type='Video',
        icon='https://images-na.ssl-images-amazon.com/images/M/MV5BNzg0MzQwODY3N15BMl5BanBnXkFtZTgwMjA2OTEwMjE@._V1_SY1000_CR0,0,789,1000_AL_.jpg',
        fanart='https://images-na.ssl-images-amazon.com/images/M/MV5BMjI0MjI4NTEwNV5BMl5BanBnXkFtZTgwMzA4NTQ2MjE@._V1_.jpg',
        info_labels={"season":"03", "episode":"21", "genre":"Kids", "plot":"Get your cares away, worries for another day...", "mpaa":"U"})

    Add_Dir(name='[COLOR=dodgerblue][MOVIE][/COLOR] Trainspotting', url='movie_dialog', mode='scrape_sites', folder=False, content_type='Video',
        icon='https://images-na.ssl-images-amazon.com/images/M/MV5BMzA5Zjc3ZTMtMmU5YS00YTMwLWI4MWUtYTU0YTVmNjVmODZhXkEyXkFqcGdeQXVyNjU0OTQ0OTY@._V1_UX182_CR0,0,182,268_AL_.jpg',
        fanart='https://images-na.ssl-images-amazon.com/images/M/MV5BMTMxNjE3NzU2Nl5BMl5BanBnXkFtZTcwMzI0OTAyNg@@._V1_.jpg',
        info_labels={"originaltitle":"Trainspotting","genre":"crime,british", "plot":"Trainspotting is an awesome movie!", "mpaa":"18", "trailer":"plugin://plugin.video.youtube/play/?video_id=nBKWnAdmJJ8"})
    dialog.ok('CLICK INFO','Try bringing up the info for these items, you should see our artwork and other metadata has been populated.')
Example #12
0
def Main_Menu(url=main_xml):

    if debug == 'true':
        Add_Dir ( '[COLOR=lime]Koding Tutorials[/COLOR]', '', "tutorials", True, '', '', '' )

    if url.startswith('http'):
        contents  = Open_URL(url)
    else:
        contents  = Text_File(url,'r')

    contents = contents.replace('\n','').replace('\t','')

    raw_links = Find_In_Text(content=contents, start='<item>', end=r'</item>')
    xbmc.log(repr(raw_links),2)
    counter = 1

    for item in raw_links:
        xbmc.log('# Checking link %s'%counter,2)
        counter += 1
        title  = Find_In_Text(content=item, start='<title>', end=r'</title>')
        title  = title[0] if (title!=None) else 'Unknown Video'
        thumb  = Find_In_Text(content=item, start='<thumbnail>', end=r'</thumbnail>')
        thumb  = thumb[0] if (thumb!=None) else ''
        fanart = Find_In_Text(content=item, start='<thumbnail>', end=r'</thumbnail>')
        fanart = fanart[0] if (fanart!=None) else ''

        if not '<sublink>' in item:
            links  = Find_In_Text(content=item, start='<link>', end=r'</link>')

        else:
            links  = Find_In_Text(content=item, start='<sublink>', end=r'</sublink>')

        if links[0].endswith('.xml') or links[0]=='none' or links[0] == '' or links[0].startswith('msg~'):
            links = links[0]

        if links == 'none' or links == '':
            Add_Dir( name=title, url='', mode='', folder=False, icon=thumb, fanart=fanart )

        elif Data_Type(links)=='str':

            if links.startswith('msg~'):
                links = links.replace('msg~','')
                Add_Dir( name=title, url="{%s}"%links, mode='simple_dialog', folder=False, icon=thumb, fanart=fanart )
            else:
                Add_Dir( name=title, url=links, mode='main_menu', folder=True, icon=thumb, fanart=fanart )

        else:
            Add_Dir( name=title, url="{'url':%s}"%links, mode='play_link', folder=False, icon=thumb, fanart=fanart )
Example #13
0
def Main_Menu():
    Add_Dir(
        name="Latest Videos",
        url=BASE2 + YOUTUBE_CHANNEL_ID_1 + "/",
        folder=True,
        icon=
        "https://banner2.kisspng.com/20180331/gqw/kisspng-youtube-play-button-clip-art-youtube-logo-5abf62e1e59f11.1826685915224921299405.jpg"
    )

    Add_Dir(
        name="Playlist - Human Spaceflight",
        url=BASE + YOUTUBE_CHANNEL_ID_2 + "/",
        folder=True,
        icon=
        "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Wisoff_on_the_Arm_-_GPN-2000-001069.jpg/300px-Wisoff_on_the_Arm_-_GPN-2000-001069.jpg"
    )
Example #14
0
def Grieg_Menu():
    Add_Dir(
        name="Peer Gynt, Santiago Municipal Theatre",
        url=BASE3 + YOUTUBE_CHANNEL_ID_18,
        folder=False,
        mode='play_yt',
    )
Example #15
0
def Rachmaninoff_Menu():
    Add_Dir(name="Piano Concerto No2, Yuja Wang", url=BASE3+YOUTUBE_CHANNEL_ID_41, folder=False, mode='play_yt',)
    Add_Dir(name="Piano Concerto No2 Op 18, Anna Fedorova", url=BASE3+YOUTUBE_CHANNEL_ID_52, folder=False, mode='play_yt')
    Add_Dir(name="Piano Concerto No3, Olga Kern", url=BASE3+YOUTUBE_CHANNEL_ID_42, folder=False, mode='play_yt',)
    Add_Dir(name="Symphony No 2 Op 27, NL Radio Philharmonic Orchestra", url=BASE3+YOUTUBE_CHANNEL_ID_51, folder=False, mode='play_yt',)
    Add_Dir(name="Piano Concerto No3, Martha Argerich, Berlin RSO, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_119, folder=False,mode='play_yt',)
    Add_Dir(name="Vespers, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_120, folder=False,mode='play_yt',) 
    Add_Dir(name="Liturgie van St Johannes Chystostomous, Klava, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_121, folder=False,mode='play_yt',)
    Add_Dir(name="The Bells, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_122, folder=False,mode='play_yt',)
Example #16
0
def Prokoviev_Menu():
    Add_Dir(name="Symphony No 1, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_201, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 2, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_200, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 3, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_199, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 4, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_198, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 5, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_195, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 6, Gergiev, Marlinksy Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_196, folder=False,mode='play_yt',)
    Add_Dir(name="Symphony No 7, Gergiev, Marlinsky Theatre Orchestra, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_197, folder=False,mode='play_yt',)
    Add_Dir(name="Piano Concerto No.3, Martha Argerich, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_194, folder=False,mode='play_yt',)
Example #17
0
def Haydn_Menu():
    Add_Dir(name="Oboe Concerto, Hartrmann, OSUCS, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_182, folder=False, mode='play_yt',)
    Add_Dir(name="Symphony No 104, Proms, London PO, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_183, folder=False, mode='play_yt',)
    Add_Dir(name="Symphony No 94, Bernstein, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_184, folder=False,mode='play_yt',)
    Add_Dir(name="Piano Concerto No 11, Pletnev, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_185, folder=False,mode='play_yt',)
    Add_Dir(name="The Creation, Lawrence Symphony Orchetra, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_186, folder=False,mode='play_yt',)
    Add_Dir(name="The Seasons, Harnoncourt, Salzburg, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_187, folder=False,mode='play_yt',)
    Add_Dir(name="The Creation, Bernstein, Benedictine Abbey, added Jan 18", url=BASE3+YOUTUBE_CHANNEL_ID_188, folder=False,mode='play_yt',)
    Add_Dir(name="Trumpet Concerto in E flat, Alison Balsom, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_193, folder=False,mode='play_yt',)
Example #18
0
def Main_Menu():

    Add_Dir( 
        name="DEF CON 25 (2017)", url=BASE+YOUTUBE_CHANNEL_ID_1+"/", folder=True,
        icon="https://i2.wp.com/itmeets.guru/wp-content/uploads/2017/05/Untitled-design-2.jpg?resize=642%2C360&ssl=1")

    Add_Dir( 
        name="DEF CON 24 (2016)", url=BASE+YOUTUBE_CHANNEL_ID_4+"/", folder=True,
        icon="https://www.defcon.org/images/defcon-24/dc-24-logo-sm.png")

    Add_Dir( 
        name="SpaceX: Launches", url=BASE+YOUTUBE_CHANNEL_ID_3+"/", folder=True,
        icon="http://outerbusiness.com/wp-content/uploads/2015/09/spacex.jpg")

    Add_Dir( 
        name="Oli's YouTube Channel", url=BASE2+YOUTUBE_CHANNEL_ID_5+"/", folder=True,
        icon="http://mediad.publicbroadcasting.net/p/wcbu/files/styles/medium/public/201610/YouTube-logo.png")
Example #19
0
def Main_Menu():
    Add_Dir(name="DEF CON 27 (2019)",
            url=BASE + YOUTUBE_CHANNEL_ID_10 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-27/dc-27-village.png")

    Add_Dir(
        name="DEF CON 26 (2018)",
        url=BASE + YOUTUBE_CHANNEL_ID_9 + "/",
        folder=True,
        icon=
        "https://www.defcon.org/images/defcon-26/post-images/defcon26-logo.png"
    )

    Add_Dir(
        name="DEF CON 25 (2017)",
        url=BASE + YOUTUBE_CHANNEL_ID_1 + "/",
        folder=True,
        icon=
        "https://www.defcon.org/images/defcon-25/post-images/dc-25-logo.jpg")

    Add_Dir(name="DEF CON 24 (2016)",
            url=BASE + YOUTUBE_CHANNEL_ID_4 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-24/dc-24-logo-sm.png")

    Add_Dir(name="DEF CON 23 (2015)",
            url=BASE + YOUTUBE_CHANNEL_ID_3 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-23/dc-23-logo-sm.jpg")

    Add_Dir(name="DEF CON 22 (2014)",
            url=BASE + YOUTUBE_CHANNEL_ID_2 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-22/dc-22-web.jpg")

    Add_Dir(name="DEF CON 21 (2013)",
            url=BASE + YOUTUBE_CHANNEL_ID_6 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-21/dc-21-logo-sm.png")

    Add_Dir(name="DEF CON 20 (2012)",
            url=BASE + YOUTUBE_CHANNEL_ID_8 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-20/dc20-logo_smsq.png")

    Add_Dir(name="DEF CON 20 Documentary",
            url=BASE + YOUTUBE_CHANNEL_ID_7 + "/",
            folder=True,
            icon="https://www.defcon.org/images/defcon-20/dc20-logo_smsq.png")
Example #20
0
def Main_Menu():
# Uncomment the following line for help creating your add-on
    # Add_Dir(name='KODING TUTORIALS', url='', mode='tutorials', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))
    
# An example title/message we're going to send through to a popup dialog in the first Add_Dir item
    my_message= "{'title' : 'LIVE EVENTS', 'msg' : 'This section is a work in progress, please keep an eye on the forum at noobsandnerds.com for all the latest updates'}"

    Add_Dir(
        name="Live Events -- Coming Soon", url=my_message, mode="simple_dialog", folder=False,
        icon="https://i.ytimg.com/vi/5AAagPtRTY8/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=pIhFUvyUFOgbEQmq-01X2fpH6_Q")
		
    Add_Dir( 
        name="Nascar replays 2017", url=BASE+YOUTUBE_CHANNEL_ID_6+"/", folder=True,
        icon="https://i.ytimg.com/vi/80IBoKOWU-Q/hqdefault.jpg?custom=true&w=168&h=94&stc=true&jpg444=true&jpgq=90&sp=67&sigh=g5B0Gy5cGfz4go-6nvvId3dYq1U")		

    Add_Dir( 
        name="Nascar replays 2016", url=BASE+YOUTUBE_CHANNEL_ID_1+"/", folder=True,
        icon="http://i1.ytimg.com/vi/yj__WIAAWG8/hqdefault.jpg")

    Add_Dir( 
        name="Tech Talk", url=BASE+YOUTUBE_CHANNEL_ID_2+"/", folder=True,
        icon="https://i.ytimg.com/vi/kxDFlJIwKzY/hqdefault.jpg?custom=true&w=196&h=110&stc=true&jpg444=true&jpgq=90&sp=68&sigh=-049rfdbLDq75mJqkOlRFuWYp34")

    Add_Dir( 
        name="Spectacular Wrecks", url=BASE+YOUTUBE_CHANNEL_ID_3+"/", folder=True,
        icon="https://i.ytimg.com/vi/84hz9w2GlV4/hqdefault.jpg?custom=true&w=320&h=180&stc=true&jpg444=true&jpgq=90&sp=68&sigh=hxhObi9FHZUKZg-JI4pOgKibK6w")

    Add_Dir( 
        name="Sprint Cup Recap", url=BASE+YOUTUBE_CHANNEL_ID_4+"/", folder=True,
        icon="https://i.ytimg.com/vi/-bNhcVc8UPE/hqdefault.jpg?custom=true&w=320&h=180&stc=true&jpg444=true&jpgq=90&sp=68&sigh=RSQOEvCNxgwRHd_ed4-gNm02nwE")

    Add_Dir( 
        name="Xfinity Recap", url=BASE+YOUTUBE_CHANNEL_ID_5+"/",folder=True,
        icon="https://i.ytimg.com/vi/LHyuUABChEw/hqdefault.jpg?custom=true&w=320&h=180&stc=true&jpg444=true&jpgq=90&sp=68&sigh=iqsiIV3dCmhVyt2A3o2N5nc8--w")
Example #21
0
def Music_Examples():
    """
This is an example of adding a song, there's a good chance the scaper will find no results for this song,
it's only here as an example to show how to set things like artwork.
    """
    Add_Dir(name='Sally Cinnamon - Stone Roses', url='song_dialog', mode='scrape_sites', folder=False,
        icon='http://images.rapgenius.com/7929026cc89ab0c77669dee5cc323da9.530x528x1.jpg',
        fanart='http://www.flickofthefinger.co.uk/wp-content/uploads/2016/03/the-stone-roses-1.jpg',
        info_labels={"genre":"Rock,Inde,British", "artist":"Stone Roses", "title":"Sally Cinnamon"})
Example #22
0
def Handel_Menu():
    Add_Dir(name="A Sacred Oratorio, Sir Colin Davis", url=BASE3+YOUTUBE_CHANNEL_ID_110, folder=False,mode='play_yt',)
    Add_Dir(name="Messiah, V Luks, added Dec17", url=BASE3+YOUTUBE_CHANNEL_ID_125, folder=False,mode='play_yt',)
    Add_Dir(name="Dixit Dominus, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_126, folder=False,mode='play_yt',)
    Add_Dir(name="Organ Concertos, Munich Bach Orchestra, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_127, folder=False,mode='play_yt',)
    Add_Dir(name="Water Music, Berlin, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_128, folder=False,mode='play_yt',)
    Add_Dir(name="Water Music, Jordi Savall, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_129, folder=False,mode='play_yt',)
    Add_Dir(name="Fireworks Music, Jordi Savall, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_130, folder=False,mode='play_yt',)
Example #23
0
def Rimsky_Korsakhov_Menu():
    Add_Dir(name="Scheherazade, Vienna Philharmonic", url=BASE3+YOUTUBE_CHANNEL_ID_21, folder=False, mode='play_yt',)
    Add_Dir(name="Fantasy on Russian Themes, Vienna Philharmonic", url=BASE3+YOUTUBE_CHANNEL_ID_21, folder=False, mode='play_yt',)
    Add_Dir(name="Flight of the Bumblebee, Russian National Orchestra", url=BASE3+YOUTUBE_CHANNEL_ID_93, folder=False, mode='play_yt',)
    Add_Dir(name="The Imperial March, Vienna Philharmonic", url=BASE3+YOUTUBE_CHANNEL_ID_94, folder=False, mode='play_yt',)
    Add_Dir(name="Capriccio Espagnol, Berlin Philharmonic", url=BASE3+YOUTUBE_CHANNEL_ID_91, folder=False,mode='play_yt',)
    Add_Dir(name="Scheherazade, Kuerti, Frankfurt RS, added Dec 17", url=BASE3+YOUTUBE_CHANNEL_ID_133, folder=False,mode='play_yt',)
    Add_Dir(name="Scherazade, Leif Segerstam, Sinfonica de Galicia, added May 18", url=BASE3+YOUTUBE_CHANNEL_ID_192, folder=False,mode='play_yt',)
Example #24
0
def Round_The_World_Menu():
    Add_Dir(name="Florida Sportsman", url=BASE+YOUTUBE_CHANNEL_ID_21+"/", folder=True,)  
    Add_Dir(name="Ice Fishing", url=BASE+YOUTUBE_CHANNEL_ID_22+"/", folder=True,)  
    Add_Dir(name="Spear Fishing", url=BASE+YOUTUBE_CHANNEL_ID_23+"/", folder=True,)  
    Add_Dir(name="Blue Fishing", url=BASE+YOUTUBE_CHANNEL_ID_24+"/", folder=True,)             
    Add_Dir(name="Catfish Fishing", url=BASE+YOUTUBE_CHANNEL_ID_25+"/", folder=True,)     
    Add_Dir(name="Hobie Outdoors Fishing", url=BASE+YOUTUBE_CHANNEL_ID_27+"/", folder=True,)  
    Add_Dir(name="Jet Ski Fishing", url=BASE+YOUTUBE_CHANNEL_ID_28+"/", folder=True,)
Example #25
0
def Main_Menu():
    Add_Dir(
        name="Latest Joe Rogram Experience",
        url=BASE + YOUTUBE_CHANNEL_ID_10 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #1001 - Current",
        url=BASE + YOUTUBE_CHANNEL_ID_6 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #701 - 1000",
        url=BASE + YOUTUBE_CHANNEL_ID_5 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #500 - 700",
        url=BASE + YOUTUBE_CHANNEL_ID_4 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #350 - 499",
        url=BASE + YOUTUBE_CHANNEL_ID_3 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #200 - 349",
        url=BASE + YOUTUBE_CHANNEL_ID_2 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )

    Add_Dir(
        name="JRE Archive #1 - 199",
        url=BASE + YOUTUBE_CHANNEL_ID_1 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/a-/AN66SAyJWj4wg2agMY20Ma5mrECrCy6m1nxzwuRO1w=s900-mo-c-c0xffffffff-rj-k-no"
    )
Example #26
0
def Main_Menu():
# Uncomment the following line for help creating your add-on
    # Add_Dir(name='KODING TUTORIALS', url='', mode='tutorials', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))
    
# 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_Dir( 
        name="Popular Fly Fishing Videos", url=BASE+YOUTUBE_CHANNEL_ID_1+"/", folder=True,
        icon="http://www.free-icons-download.net/images/fishing-icons-23810.png")

    Add_Dir( 
        name="Fly TV", url=BASE+YOUTUBE_CHANNEL_ID_2+"/", folder=True,
        icon="https://yt3.ggpht.com/-ldvmtOEepRk/AAAAAAAAAAI/AAAAAAAAAAA/OOEsBMgcqQI/s100-c-k-no-mo-rj-c0xffffff/photo.jpg")

    Add_Dir( 
        name="Fishing videos from DALLMYD", url=BASE+YOUTUBE_CHANNEL_ID_3+"/", folder=True,
        icon="https://yt3.ggpht.com/-HB9PwSeNSE8/AAAAAAAAAAI/AAAAAAAAAAA/LmADXY0mgbA/s100-c-k-no-mo-rj-c0xffffff/photo.jpg")

    Add_Dir( 
        name="Sea Fishing videos from TAFishing", url=BASE+YOUTUBE_CHANNEL_ID_4+"/", folder=True,
        icon="https://yt3.ggpht.com/-P2USlMtGNXo/AAAAAAAAAAI/AAAAAAAAAAA/sDV3FPYrotM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg")

    Add_Dir( 
        name="Uncut Angling Channel", url=BASE2+YOUTUBE_CHANNEL_ID_5+"/", folder=True,
        icon="https://yt3.ggpht.com/-8Rt7LjDZrtU/AAAAAAAAAAI/AAAAAAAAAAA/-0-9PLOJWXM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg")
Example #27
0
def London_Childrens_Ballet_Menu():
    Add_Dir(
        name="A Little Princess",
        url=BASE3 + YOUTUBE_CHANNEL_ID_6,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Rumpelstiltskin",
        url=BASE3 + YOUTUBE_CHANNEL_ID_7,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="The Secret Garden",
        url=BASE3 + YOUTUBE_CHANNEL_ID_8,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Snow White",
        url=BASE3 + YOUTUBE_CHANNEL_ID_9,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="The Canterville Ghosts",
        url=BASE3 + YOUTUBE_CHANNEL_ID_10,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Jane Eyre",
        url=BASE3 + YOUTUBE_CHANNEL_ID_11,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Nanny McPhee Act 1 ",
        url=BASE3 + YOUTUBE_CHANNEL_ID_12,
        folder=False,
        mode='play_yt',
    )
    Add_Dir(
        name="Nanny McPhee Act 2 ",
        url=BASE3 + YOUTUBE_CHANNEL_ID_13,
        folder=False,
        mode='play_yt',
    )
Example #28
0
def Main_Menu():
    Add_Dir(
        name="Black Hat Europe 2017",
        url=BASE + YOUTUBE_CHANNEL_ID_1 + "/",
        folder=True,
        icon=
        "https://www.blackhat.com/images/page-graphics/metatag/event-logo-eu17.png"
    )

    Add_Dir(
        name="Black Hat USA 2017",
        url=BASE + YOUTUBE_CHANNEL_ID_2 + "/",
        folder=True,
        icon=
        "https://www.blackhat.com/images/page-graphics/metatag/event-logo-us17.png"
    )

    Add_Dir(
        name="Black Hat Asia 2017",
        url=BASE + YOUTUBE_CHANNEL_ID_3 + "/",
        folder=True,
        icon=
        "https://www.blackhat.com/images/page-graphics/metatag/event-logo-asia17.png"
    )
Example #29
0
def Main_Menu():
    # Uncomment the following line for help creating your add-on
    # Add_Dir(name='KODING TUTORIALS', url='', mode='tutorials', folder=True, icon=os.path.join(art_path,'icon.png'), fanart=os.path.join(art_path,'fanart.jpg'))

    # An example title/message we're going to send through to a popup dialog in the first Add_Dir item
    my_message = "{'title' : 'LIVE EVENTS', 'msg' : 'This section is a work in progress, please keep an eye on the forum at noobsandnerds.com for all the latest updates'}"

    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="Popular Fly Fishing Videos",
        url=BASE + YOUTUBE_CHANNEL_ID_1 + "/",
        folder=True,
        icon="http://www.free-icons-download.net/images/fishing-icons-23810.png"
    )

    Add_Dir(
        name="Fly TV",
        url=BASE + YOUTUBE_CHANNEL_ID_2 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/-ldvmtOEepRk/AAAAAAAAAAI/AAAAAAAAAAA/OOEsBMgcqQI/s100-c-k-no-mo-rj-c0xffffff/photo.jpg"
    )

    Add_Dir(
        name="Fishing videos from DALLMYD",
        url=BASE + YOUTUBE_CHANNEL_ID_3 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/-HB9PwSeNSE8/AAAAAAAAAAI/AAAAAAAAAAA/LmADXY0mgbA/s100-c-k-no-mo-rj-c0xffffff/photo.jpg"
    )

    Add_Dir(
        name="Sea Fishing videos from TAFishing",
        url=BASE + YOUTUBE_CHANNEL_ID_4 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/-P2USlMtGNXo/AAAAAAAAAAI/AAAAAAAAAAA/sDV3FPYrotM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg"
    )

    # Add some YT channels (see we're using BASE2 as the url for this one)
    Add_Dir(
        name="Uncut Angling Channel",
        url=BASE2 + YOUTUBE_CHANNEL_ID_5 + "/",
        folder=True,
        icon=
        "https://yt3.ggpht.com/-8Rt7LjDZrtU/AAAAAAAAAAI/AAAAAAAAAAA/-0-9PLOJWXM/s100-c-k-no-mo-rj-c0xffffff/photo.jpg"
    )
Example #30
0
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]Thank You For Visiting[/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 facebook.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="Zob's Glass", url=BASE2+YOUTUBE_CHANNEL_ID_1+"/", folder=True,
        icon="http://i1200.photobucket.com/albums/bb335/scollar2/Screenshot-2018-6-22%20zobs%20glass%20icon%20-%20Google%20Search_zpscz5693mn.png~original")

    Add_Dir( 
        name="Live In the Garden", url=BASE+YOUTUBE_CHANNEL_ID_2+"/", folder=True,
        icon="http://i1200.photobucket.com/albums/bb335/scollar2/mendoicon_zpsmrbsswbp.png~original")

    Add_Dir( 
        name="Gil's Showcase", url=BASE+YOUTUBE_CHANNEL_ID_3+"/", folder=True,
        icon="http://i1200.photobucket.com/albums/bb335/scollar2/wmicon2_zpsx1sv0lnr.png~original")

    Add_Dir( 
        name="Gil's Adventure's", url=BASE+YOUTUBE_CHANNEL_ID_4+"/", folder=True,
        icon="http://i1200.photobucket.com/albums/bb335/scollar2/ba29e804-201b-4681-b823-8b1354bc3be3_zpszwul84rl.png~original")

# Add some YT channels (see we're using BASE2 as the url for this one)
    Add_Dir( 
        name="CT Weed Review", url=BASE2+YOUTUBE_CHANNEL_ID_5+"/", folder=True,
        icon="http://i1200.photobucket.com/albums/bb335/scollar2/CTREVIEW_zps8ec95pdl.png~original")