Commit Graph

23 Commits

Author SHA1 Message Date
ksyasuda
62964016e4
Add history db
- Sends video data to backend server on configured port and inserts into
a mysql database
2024-09-04 11:44:02 -07:00
Kyle Yasuda
870f7473cf
Fix reorder queue (#19)
Some checks are pending
Luacheck / luacheck (push) Waiting to run
* Fix reorder queue function for when from_index < to_index

* update default config

* Fix clipboard function and linting errors

* Update README.md with improved descriptions and installation instructions
2024-08-28 18:34:41 -07:00
Kyle Yasuda
fa2014acd6
Dev (#16)
All checks were successful
Luacheck / luacheck (push) Successful in 4s
* convert get_video_info to use mp functions and add menu_timeout option
* add menu_timeout config option
* fix add_to_queue not returning when given invalid url or path
2023-08-09 23:14:00 -07:00
Kyle Yasuda
e35aeac422
cleanup/optimize code and squash some bugs (#12)
* cleanup/optimize code and squash some bugs

- change print_queue to use mp.assdraw
- change print_queue function to a toggle
- clean up duplicated code
- squash some bugs

* remove unused function

* make download async and update clipboard function to use mp command

- utilize mp.command_native and command_native_async
- download files in the background

* update default display_limit from 6 -> 10
2023-08-09 01:24:24 -07:00
Kyle Yasuda
6e3d782081
add ytdlp_file_format config variable (#6)
- allow choosing preferred file format for downloads
- update readme
2023-08-07 17:46:25 -07:00
Kyle Yasuda
cc8c677e0b
Cleanup code (#5)
* cleanup code

- reorder variables
- set show_errors to true by default
- remove old variable from config file
- update readme
2023-08-07 02:17:05 -07:00
Kyle Yasuda
af81562606
Dev (#3)
* add download_selected_video function
* add ytdlp_output_template to conf file

- add function to download the currently selected video in the queue
- update readme and conf file
- change ordering of options to have keybindings in alphabetical order
2023-08-06 23:30:28 -07:00
ksyasuda
33918e87d0 update readme 2023-08-06 20:35:33 -07:00
ksyasuda
5e038d212e add remove_from_queue function
- add function/binding (ctrl+x) to remove currently selected video from queue
- update readme
- move get_video_info function into YouTubeQueue
2023-08-06 17:31:05 -07:00
c67ac189b0 add play_selected_video and update show_error 2023-08-06 12:11:34 -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
30ca33ed2d add download_format_str option 2023-08-06 02:23:09 -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@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
2204f690a8 add marked_icon 2023-08-05 12:49:42 -07:00
ksyasuda@umich.edu
2ca1234ee4 add downloader config option 2023-08-04 11:20:58 -07:00
ksyasuda
d41d85b0e3 add download function 2023-08-04 00:55:16 -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@umich.edu
c4f058bafe add display_limit to print queue function 2023-08-02 17:45:21 -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
07a5888acc initial commit for mpv-youtube-queue 2023-08-02 10:35:46 -07:00