def tile_5(): global current_video current_title = disp_thumbnail[1][1] #print("current title",current_title) ans = search_caller.search_video(current_title) current_video.append(ans) master.switch_frame(PageSeven)
def attempt_search(): title=title_var.get() global current_video current_video=[] #print(name,password) if(len(title.replace(" ",""))==0): label = tk.Label( self, text="Enter the search field",bg='red', relief=tk.RAISED) label.pack() else: ans = search_caller.search_video(title) if(ans==False): label = tk.Label( self, text="No video by this title",bg='red', relief=tk.RAISED) label.pack() else: current_video.append(ans) master.switch_frame(PageSeven) title_var.set("")
def generic_tile(title): global current_video current_title = title ans = search_caller.search_video(current_title) current_video.append(ans) master.switch_frame(gui.PageSeven)