Commit Graph

19 Commits

Author SHA1 Message Date
6abfe30d44 update readme
All checks were successful
Luacheck / luacheck (push) Successful in 5s
2024-09-09 23:40:15 -07:00
4fda62f588
update save_queue function and add alt command (#21)
- add option to save full or unwatched videos only
- fix when only 1 valid video
- fix error handling
- show messages on save/load
2024-09-09 23:38:43 -07:00
Kyle Yasuda
3bbbcae0b8
Feature: Add Support for mpv-youtube-queue-server (#20)
All checks were successful
Luacheck / luacheck (push) Successful in 3s
* Add history db

- Sends video data to backend server on configured port and inserts into
a mysql database

* add option to disable history db function

* Squash bugs

- update strip command to remove newline characters
- add history db function call to playback restart listener to catch
first video

* squash more bugs

- add debug
- fix history db for repeated calls and first play
- fix is file
- change print current video to use full file path if showing a file
- remove unused functions
- fix video title when selecting video from list

* disable history db by default

- change default config
- add back line to prevent from running when disabled

* appease the linter

* update readme

* add load-file even listener for adding to history db

* add save/load queue functions

* fix load_queue command

- fix parsing/conversion to table from json list

* update readme

* add new keybinding options

* add keybinding options

* disable debug and clean up code

- disable debug mode
- sanitize clipboard content
- clean up error handling
2024-09-09 00:15:41 -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
ksyasuda
e88e7f7f1c
update readme 2023-08-08 01:18:55 -07:00
ksyasuda
cdc797f55c
update readme 2023-08-08 01:09:21 -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
8b4d2639e6 update readme 2023-08-06 20:41:42 -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
a47da19922 update readme 2023-08-06 02:23:12 -07:00
ksyasuda
90c255b60e update readme 2023-08-04 00:54:58 -07:00
ksyasuda@umich.edu
07a5888acc initial commit for mpv-youtube-queue 2023-08-02 10:35:46 -07:00