Commit Graph

46 Commits

Author SHA1 Message Date
c67ac189b0 add play_selected_video and update show_error 2023-08-06 12:11:34 -07:00
ksyasuda
ef5ceaa499 update image 2023-08-06 03:13:18 -07:00
ksyasuda
b20776bce3 update transparency/font size and fix first video caling add to queue repeatedly on skip forward 2023-08-06 03:13:13 -07:00
ksyasuda
a47da19922 update readme 2023-08-06 02:23:12 -07:00
ksyasuda
30ca33ed2d add download_format_str option 2023-08-06 02:23:09 -07:00
ksyasuda
4e4489cf36 add download_format_str option and update icons
- change icons to unicode glyphs
- remove trailing slash from download directory if it exists
- allow configuring file output format during download
2023-08-06 02:22:44 -07:00
ksyasuda
02ad7d708e update icons 2023-08-06 02:16:08 -07:00
ksyasuda
1706bc75ec update default configuration 2023-08-06 01:15:29 -07:00
ksyasuda
abd33346a1 change option names 2023-08-06 01:15:13 -07:00
ksyasuda
bfb7988c70 add check in add to queue function to make sure url is a youtube video 2023-08-06 01:00:42 -07:00
ksyasuda
1bd0aa7c58 Merge branch 'master' of github.com:ksyasuda/mpv-youtube-queue 2023-08-06 00:57:45 -07:00
4ad1974e64 fix user options not being read before style configuration 2023-08-06 00:56:38 -07:00
ksyasuda@umich.edu
654e369940 add show_error config variable and fix add_to_queue to work for playing from command line again 2023-08-05 18:18:12 -07:00
ksyasuda@umich.edu
c94ff7dcf2 fix first video not playing when opening video though app
Fix mpv not switching to and playing first video in queue when adding from the dekstop application
2023-08-05 18:08:48 -07:00
29fc46fd41 refactor script 2023-08-05 17:18:35 -07:00
7ad4f264d1 refactor script
- clean up code
- add nil checks instead of boolean
- add script-message to allow print and add_to_queue functions to be called from outside
2023-08-05 17:02:21 -07:00
ksyasuda
463813ee76 add function to edit queue and modify script to add first video opened to the queue
- add keybinding (ctrl+m) to mark a video to move in the queue
- update listener to capture initial video played from command line and add to queue
2023-08-05 12:54:18 -07:00
ksyasuda
2204f690a8 add marked_icon 2023-08-05 12:49:42 -07:00
ksyasuda@umich.edu
b46116e976 move listeners out of YouTubeQueue object 2023-08-04 11:45:41 -07:00
ksyasuda@umich.edu
2ca1234ee4 add downloader config option 2023-08-04 11:20:58 -07:00
ksyasuda@umich.edu
14e57bd9b4 fix update_current_index 2023-08-04 09:02:01 -07:00
ksyasuda
d41d85b0e3 add download function 2023-08-04 00:55:16 -07:00
ksyasuda
90c255b60e update readme 2023-08-04 00:54:58 -07:00
ksyasuda
0ad2880098 add styling to print_osd_message function 2023-08-04 00:09:28 -07:00
ksyasuda
894bc5b8e6 update styling and improve performance
- fix transparency
- add channel name to print function
- gather video info in single function
2023-08-03 23:18:12 -07:00
ksyasuda
cc4f11cb1c update styling 2023-08-03 22:28:32 -07:00
ksyasuda
dfdbe42b33 update image 2023-08-03 22:28:19 -07:00
ksyasuda
28c3855370 add header and update print function 2023-08-03 20:35:48 -07:00
ksyasuda@umich.edu
f9ac4b6d18 add color reset variable 2023-08-03 15:53:59 -07:00
ksyasuda@umich.edu
c767c02262 update code formatting 2023-08-03 10:36:32 -07:00
ksyasuda
d967bd4021 reset selected index on video change 2023-08-03 01:43:18 -07:00
ksyasuda
0d3bdebd6c change default cursor icon from nerd font to unicode 2023-08-03 00:53:52 -07:00
ksyasuda
52a2197fbb update color configuration 2023-08-03 00:49:56 -07:00
ksyasuda
84332bc7e2 fix second row incorrect indent on print function 2023-08-03 00:30:29 -07:00
ksyasuda
0bae7c76f0 add icon and coloring 2023-08-03 00:10:55 -07:00
ksyasuda@umich.edu
c4f058bafe add display_limit to print queue function 2023-08-02 17:45:21 -07:00
ksyasuda@umich.edu
e1e033f37d fix selected index not updating with current index 2023-08-02 16:54:02 -07:00
ksyasuda@umich.edu
b8ef352bf5 add error handling for is_valid_ytdlp_url 2023-08-02 16:14:31 -07:00
ksyasuda@umich.edu
e2e4d2ddd5 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
2023-08-02 16:11:35 -07:00
ksyasuda@umich.edu
fdb02bc58d add sleep function and clean up formatting 2023-08-02 14:30:25 -07:00
ksyasuda@umich.edu
1211d68dcb account for 0 based indexing in playlists 2023-08-02 14:06:33 -07:00
ksyasuda@umich.edu
a77ad04f41 modify script to automatically play first video added to queue 2023-08-02 13:24:18 -07:00
ksyasuda@umich.edu
0fd4673029 remove print from event functions 2023-08-02 13:18:22 -07:00
ksyasuda@umich.edu
beeaee28dd refactor next/prev in queue functions to work with internal playlist 2023-08-02 13:02:52 -07:00
ksyasuda@umich.edu
0fa2970132 add event handlers for video ending and next video button 2023-08-02 11:07:24 -07:00
ksyasuda@umich.edu
07a5888acc initial commit for mpv-youtube-queue 2023-08-02 10:35:46 -07:00