add open_channel_in_browser and error checking for add_to_queue

- add function to open the channel page for the currently playing video in a new tab
- add error checking for url passed to add_to_queue function
   - ensure url is a YouTube url
   - ensure the url is able to be processed by yt-dlp
This commit is contained in:
ksyasuda@umich.edu
2023-08-02 16:11:35 -07:00
parent fdb02bc58d
commit e2e4d2ddd5
2 changed files with 49 additions and 10 deletions

View File

@@ -6,6 +6,7 @@ move_selection_up=ctrl+UP
move_selection_down=ctrl+DOWN
play_selected_video=ctrl+ENTER
open_video_in_browser=ctrl+o
open_channel_in_browser=ctrl+O
print_current_video=ctrl+P
browser=firefox
clipboard_command=xclip -o