Skip to content

Commit

Permalink
Update SimpleHistory.conf
Browse files Browse the repository at this point in the history
Added open_list_keybind, list_filter_jump_keybind
Removed depreciated keybinds
  • Loading branch information
Eisa01 authored Dec 28, 2021
1 parent 4c08a48 commit 1aeb7af
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions script-opts/SimpleHistory.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ resume_notification_threshold=2
#--yes is for marking the time as a chapter. no disables mark as chapter behavior.
mark_history_as_chapter=no

#--choose the main list, between: 'all', 'recents', 'distinct', 'protocols', 'fileonly', 'titleonly', 'timeonly', 'keywords'.
main_list=all

#--Keybind that will be used to display the main list
history_list_keybind=["h", "H"]

#--Keybind that will be used to immediately load and resume last item when no video is playing. If video is playing it will resume to the last found position
history_resume_keybind=["ctrl+r", "ctrl+R"]

#--Keybind that will be used to immediately load the last item without resuming when no video is playing. If video is playing then it will add into playlist
history_load_last_keybind=["alt+r", "alt+R"]

#--Keybind that will be used to open the list along with the specified filter. Available filters: "all", "recents", "distinct", "protocols", "fileonly", "titleonly", "timeonly", "keywords".
open_list_keybind=[ ["h", "all"], ["H", "all"], ["r", "recents"], ["R", "recents"] ]

#--Keybind that is used while the list is open to jump to the specific filter (it also enables pressing a filter keybind twice to close list). Available filters: "all", "recents", "distinct", "protocols", "fileonly", "titleonly", "timeonly", "keywords".
list_filter_jump_keybind=[ ["h", "all"], ["H", "all"], ["r", "recents"], ["R", "recents"], ["d", "distinct"], ["D", "distinct"], ["f", "fileonly"], ["F", "fileonly"] ]

####------Logging Settings------####

#--Change to "/:dir%script" for placing it in the same directory of script, OR change to "/:dir%mpvconf" for mpv portable_config directory. OR specify the desired path, e.g.: "C:\Users\Eisa01\Desktop\"
Expand All @@ -42,9 +42,6 @@ log_file=mpvHistory.log
#--Date format in the log (see lua date formatting), e.g.:"%d/%m/%y %X" or "%d/%b/%y %X"
date_format=%d/%m/%y %X

#--The text that is stored for the video time inside log file. It can also be left blank.
log_time_text=time=

#--Change between all, protocols, none. This option will store the media title in log file, it is useful for websites / protocols because title cannot be parsed from links alone
file_title_logging=protocols

Expand Down Expand Up @@ -226,26 +223,4 @@ list_search_activate_keybind=["ctrl+f", "ctrl+F"]
#--Keybind that will be used to exit typing mode of search while keeping search open
list_search_not_typing_mode_keybind=["CTRL+ENTER"]

####------Filter Keybind Settings------####

#--Keybind to jump to the specific filter when list is open
recents_filter_inside_list_keybind=["r", "R"]
distinct_filter_inside_list_keybind=["d", "D"]
fileonly_filter_inside_list_keybind=["f", "F"]
timeonly_filter_inside_list_keybind=[""]
protocols_filter_inside_list_keybind=[""]
titleonly_filter_inside_list_keybind=[""]
keywords_filter_inside_list_keybind=[""]
playing_filter_inside_list_keybind=[""]

#--Keybind to jump to the specific filter when list is closed
recents_filter_outside_list_keybind=["r", "R"]
distinct_filter_outside_list_keybind=[""]
fileonly_filter_outside_list_keybind=[""]
timeonly_filter_outside_list_keybind=[""]
protocols_filter_outside_list_keybind=[""]
titleonly_filter_outside_list_keybind=[""]
keywords_filter_outside_list_keybind=[""]
playing_filter_outside_list_keybind=[""]

######----End of Settings----######

0 comments on commit 1aeb7af

Please sign in to comment.