1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
######----Settings For SmartCopyPaste_II 3.1----######
####------Script Settings-----####
#--auto is for automatic device detection, or manually change to: windows or mac or linux
device=auto
#--copy command that will be used in Linux. OR write a different command
linux_copy=xclip -silent -selection clipboard -in
#--paste command that will be used in Linux. OR write a different command
linux_paste=xclip -selection clipboard -o
#--copy command that will be used in MAC. OR write a different command
mac_copy=pbcopy
#--paste command that will be used in MAC. OR write a different command
mac_paste=pbpaste
#--powershell is for using windows powershell to copy. OR write the copy command, e.g:clip
windows_copy=powershell
#--powershell is for using windows powershell to paste. OR write the paste command
windows_paste=powershell
#--Auto run the list when opening mpv and there is no video / file loaded. 'none' for disabled. Or choose between: all, copy, paste, recents, distinct, protocols, fileonly, titleonly, timeonly, keywords.
auto_run_list_idle=none
#--hides OSC idle screen message when opening and closing menu (could cause unexpected behavior if multiple scripts are triggering osc-idlescreen off)
toggle_idlescreen=no
#--change to 0 so item resumes from the exact position, or decrease the value so that it gives you a little preview before loading the resume point
resume_offset=-0.65
#--yes is for displaying osd messages when actions occur. Change to no will disable all osd messages generated from this script
osd_messages=yes
#--yes is for marking the time as a chapter. no disables mark as chapter behavior.
mark_clipboard_as_chapter=no
#--Option to copy time with video. Select between: local, protocols, specifics, all, none. 'none' for disabled, 'all' to copy time for all videos, 'protocols' for copying time only for protocols, 'specifics' to copy time only for websites defined below, 'local' to copy time for videos that are not protocols
copy_time_method=all
#--Behavior of paste when nothing valid is copied, and no video is running. select between: force, force-noresume
log_paste_idle_behavior=force-noresume
#--Behavior of paste when nothing valid is copied, and a video is running. select between: timestamp>playlist, timestamp>force, timestamp, playlist, force, force-noresume
log_paste_running_behavior=timestamp>playlist
#--The time attributes which will be added when copying protocols of specific websites from this list. Additional attributes can be added following the same format.
specific_time_attributes=[ ["twitter", "?t=", ""], ["twitch", "?t=", "s"], ["youtube", "&t=", "s"] ]
#--The text that will be copied before the seek time when copying a protocol video from mpv
protocols_time_attribute=&t=
#--The text that will be copied before the seek time when copying a local video from mpv
local_time_attribute=&time=
#--The time attributes that can be pasted for resume, specific_time_attributes, protocols_time_attribute, local_time_attribute are automatically added
pastable_time_attributes=[" | time="]
#--Keybind that will be used to copy
copy_keybind=["ctrl+y", "ctrl+Y", "meta+y", "meta+Y"]
#--The priority of paste behavior when a video is running. Select between: playlist, timestamp, force.
running_paste_behavior=playlist
#--Keybind that will be used to paste
paste_keybind=["ctrl+p", "ctrl+P", "meta+p", "meta+P"]
#--Copy behavior when using copy_specific_keybind. Select between: title, path, timestamp, path×tamp.
copy_specific_behavior=path
#--Keybind that will be used to copy based on the copy behavior specified
copy_specific_keybind=["ctrl+alt+y", "ctrl+alt+Y", "meta+alt+y", "meta+alt+Y"]
#--Paste behavior when using paste_specific_keybind. Select between: playlist, timestamp, force.
paste_specific_behavior=playlist
#--Keybind that will be used to paste based on the paste behavior specified
paste_specific_keybind=["ctrl+alt+y", "ctrl+alt+Y", "meta+alt+y", "meta+alt+Y"]
#--add below (after a comma) any protocol you want paste to work with; e.g: ,'ftp://'. Or set it as "" by deleting all defined protocols to make paste works with any protocol.
paste_protocols=["https?://", "magnet:", "rtmp:", "file:"]
#--add below (after a comma) any extension you want paste to work with; e.g: ,'pdf'. Or set it as "" by deleting all defined extension to make paste works with any extension.
paste_extensions=["ac3", "a52", "eac3", "mlp", "dts", "dts-hd", "dtshd", "yes-hd", "thd", "yeshd", "thd+ac3", "tta", "pcm", "wav", "aiff", "aif", "aifc", "amr", "awb", "au", "snd", "lpcm", "yuv", "y4m", "ape", "wv", "shn", "m2ts", "m2t", "mts", "mtv", "ts", "tsv", "tsa", "tts", "trp", "adts", "adt", "mpa", "m1a", "m2a", "mp1", "mp2", "mp3", "mpeg", "mpg", "mpe", "mpeg2", "m1v", "m2v", "mp2v", "mpv", "mpv2", "mod", "tod", "vob", "vro", "evob", "evo", "mpeg4", "m4v", "mp4", "mp4v", "mpg4", "m4a", "aac", "h264", "avc", "x264", "264", "hevc", "h265", "x265", "265", "flac", "oga", "ogg", "opus", "spx", "ogv", "ogm", "ogx", "mkv", "mk3d", "mka", "webm", "weba", "avi", "vfw", "divx", "3iv", "xvid", "nut", "flic", "fli", "flc", "nsv", "gxf", "mxf", "wma", "wm", "wmv", "asf", "dvr-ms", "dvr", "wtv", "dv", "hdv", "flv", "f4v", "f4a", "qt", "mov", "hdmov", "rm", "rmvb", "ra", "ram", "3ga", "3ga2", "3gpp", "3gp", "3gp2", "3g2", "ay", "gbs", "gym", "hes", "kss", "nsf", "nsfe", "sap", "spc", "vgm", "vgz", "m3u", "m3u8", "pls", "cue", "ase", "art", "bmp", "blp", "cd5", "cit", "cpt", "cr2", "cut", "dds", "dib", "djvu", "egt", "exif", "gif", "gpl", "grf", "icns", "ico", "iff", "jng", "jpeg", "jpg", "jfif", "jp2", "jps", "lbm", "max", "miff", "mng", "msp", "nitf", "ota", "pbm", "pc1", "pc2", "pc3", "pcf", "pcx", "pdn", "pgm", "PI1", "PI2", "PI3", "pict", "pct", "pnm", "pns", "ppm", "psb", "psd", "pdd", "psp", "px", "pxm", "pxr", "qfx", "raw", "rle", "sct", "sgi", "rgb", "int", "bw", "tga", "tiff", "tif", "vtf", "xbm", "xcf", "xpm", "3dv", "amf", "ai", "awg", "cgm", "cdr", "cmx", "dxf", "e2d", "egt", "eps", "fs", "gbr", "odg", "svg", "stl", "vrml", "x3d", "sxd", "v2d", "vnd", "wmf", "emf", "art", "xar", "png", "webp", "jxr", "hdp", "wdp", "cur", "ecw", "iff", "lbm", "liff", "nrrd", "pam", "pcx", "pgf", "sgi", "rgb", "rgba", "bw", "int", "inta", "sid", "ras", "sun", "tga", "torrent"]
#--add below (after a comma) any extension you want paste to attempt to add as a subtitle file, e.g.:'txt'. Or set it as "" by deleting all defined extension to make paste attempt to add any subtitle.
paste_subtitles=["aqt", "gsub", "jss", "sub", "ttxt", "pjs", "psb", "rt", "smi", "slt", "ssf", "srt", "ssa", "ass", "usf", "idx", "vtt"]
#--Keybind that will be used to open the list along with the specified filter. Available filters: "all", "copy", "paste", "recents", "distinct", "protocols", "fileonly", "titleonly", "timeonly", "keywords".
open_list_keybind=[ ["y", "all"], ["Y", "all"] ]
#--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", "copy", "paste", "recents", "distinct", "protocols", "fileonly", "titleonly", "timeonly", "keywords".
list_filter_jump_keybind=[ ["y", "all"], ["Y", "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 write any variable using "/:var" then the variable "/:var%APPDATA%" you can use path also, such as: "/:var%APPDATA%\mpv" OR "/:var%HOME%/mpv" OR specify the absolute path , e.g.: 'C:\Users\Eisa01\Desktop\'
log_path=/:dir%mpvconf%
#--name+extension of the file that will be used to store the log data
log_file=mpvClipboard.log
#--Date format in the log (see lua date formatting), e.g.:"%d/%m/%y %X" or "%d/%b/%y %X"
date_format=%A/%B %d/%m/%Y %X
#--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
#--add below (after a comma) any protocol you want its title to be stored in the log file. This is valid only for (file_title_logging = "protocols" or file_title_logging = "all")
logging_protocols=["https?://", "magnet:", "rtmp:"]
#--Prefers to copy and log filename over filetitle. Select between: local, protocols, all, none. 'local' prefer filenames for videos that are not protocols. 'protocols' will prefer filenames for protocols only. 'all' will prefer filename over filetitle for both protocols and not protocols videos. 'none' will always use filetitle instead of filename
prefer_filename_over_title=local
#--Limit saving entries with same path: -1 for unlimited, 0 will always update entries of same path, e.g. value of 3 will have the limit of 3 then it will start updating old values on the 4th entry.
same_entry_limit=4
####------List Settings-------####
#--yes is for going up on the first item loops towards the last item and vise-versa. no disables this behavior.
loop_through_list=no
#--no is for more items to show, then u must reach the end. yes is for new items to show after reaching the middle of list.
list_middle_loader=yes
#--Show file paths instead of media-title
show_paths=no
#--Show the number of each item before displaying its name and values.
show_item_number=yes
#--Change to yes or no. Slices long filenames per the amount specified below
slice_longfilenames=no
#--Amount for slicing long filenames
slice_longfilenames_amount=55
#--Change maximum number to show items at once
list_show_amount=10
#--Keybind entries from 0 to 9 for quick selection when list is open (list_show_amount = 10 is maximum for this feature to work)
quickselect_0to9_keybind=yes
#--Will exit the list when double tapping the main list, even if the list was accessed through a different filter.
main_list_keybind_twice_exits=yes
#--To smartly set the search as not typing (when search box is open) without needing to press ctrl+enter.
search_not_typing_smartly=yes
#--"specific" to find a match of either a date, title, path / url, time. "any" to find any typed search based on combination of date, title, path / url, and time. "any-notime" to find any typed search based on combination of date, title, and path / url, but without looking for time (this is to reduce unwanted results).
search_behavior=any
####------Filter Settings-------####
##--available filters: "all" to display all the items. Or "copy" to display copied items. Or "paste" to display pasted items. Or "recents" to display recently added items to log without duplicate. Or "distinct" to show recent saved entries for files in different paths. Or "fileonly" to display files saved without time. Or "timeonly" to display files that have time only. Or "keywords" to display files with matching keywords specified in the configuration. Or "playing" to show list of current playing file.
#--Jump to the following filters and in the shown sequence when navigating via left and right keys. You can change the sequence and delete filters that are not needed.
filters_and_sequence=["all", "copy", "paste", "recents", "distinct", "protocols", "playing", "fileonly", "titleonly", "keywords"]
#--Keybind that will be used to go to the next available filter based on the filters_and_sequence
next_filter_sequence_keybind=["RIGHT", "MBTN_FORWARD"]
#--Keybind that will be used to go to the previous available filter based on the filters_and_sequence
previous_filter_sequence_keybind=["LEFT", "MBTN_BACK"]
#--yes is for bypassing the last filter to go to first filter when navigating through filters using arrow keys, and vice-versa. no disables this behavior.
loop_through_filters=yes
#--Create a filter out of your desired "keywords", e.g.: youtube.com will filter out the videos from youtube. You can also insert a portion of filename or title, or extension or a full path / portion of a path. e.g.: ["youtube.com", "mp4", "naruto", "c:\\users\\eisa01\\desktop"]
keywords_filter_list=[""]
####------Sort Settings-------####
##--available sort: added-asc is for the newest added item to show first. Or added-desc for the newest added to show last. Or alphanum-asc is for A to Z approach with filename and episode number lower first. Or alphanum-desc is for its Z to A approach. Or time-asc, time-desc to sort the list based on time.
#--the default sorting method for all the different filters in the list. select between: added-asc, added-desc, time-asc, time-desc, alphanum-asc, alphanum-desc
list_default_sort=added-asc
#--Default sort for specific filters, e.g.: [ ["all", "alphanum-asc"], ["playing", "added-desc"] ]
list_filters_sort=[ ]
#--Keybind to cycle through the different available sorts when list is open
list_cycle_sort_keybind=["alt+s", "alt+S"]
####------List Design Settings------####
#--The alignment for the list, uses numpad positions choose from 1-9 or 0 to disable. e,g.:7 top left alignment, 8 top middle alignment, 9 top right alignment.
list_alignment=7
#--The time type for items on the list. Select between: duration, length, remaining.
text_time_type=duration
#--Time seperator that will be used before the saved time
time_seperator= 🕒
#--The text that indicates there are more items above. \N is for new line. \h is for hard space.
list_sliced_prefix=...\h\N\N
#--The text that indicates there are more items below
list_sliced_suffix=...
#--yes enables pre text for showing quickselect keybinds before the list. no to disable
quickselect_0to9_pre_text=no
#--Text color for list in BGR hexadecimal
text_color=ffffff
#--Font size for the text of list
text_scale=50
#--Black border size for the text of list
text_border=0.7
#--Text color of current cursor position in BGR
text_cursor_color=ffbf7f
#--Font size for text of current cursor position in list
text_cursor_scale=50
#--Black border size for text of current cursor position in list
text_cursor_border=0.7
#--Pre text for highlighted multi-select item
text_highlight_pre_text=✅
#--Search color when in typing mode
search_color_typing=ffffaa
#--Search color when not in typing mode and it is active
search_color_not_typing=56ffaa
#--Header color in BGR hexadecimal
header_color=56ffaa
#--Header text size for the list
header_scale=55
#--Black border size for the Header of list
header_border=0.8
#--Text to be shown as header for the list
#--Available header variables: %cursor%, %total%, %highlight%, %filter%, %search%, %listduration%, %listlength%, %listremaining%
#--User defined text that only displays if a variable is triggered: %prefilter%, %afterfilter%, %prehighlight%, %afterhighlight% %presearch%, %aftersearch%, %prelistduration%, %afterlistduration%, %prelistlength%, %afterlistlength%, %prelistremaining%, %afterlistremaining%
#--Variables explanation: %cursor: displays the number of cursor position in list. %total: total amount of items in current list. %highlight%: total number of highlighted items. %filter: shows the filter name, %search: shows the typed search. Example of user defined text that only displays if a variable is triggered of user: %prefilter: user defined text before showing filter, %afterfilter: user defined text after showing filter.
header_text=📋 Clipboard [%cursor%/%total%]%prehighlight%%highlight%%afterhighlight%%prefilter%%filter%%afterfilter%%presort%%sort%%aftersort%%presearch%%search%%aftersearch%
#--Sort method that is hidden from header when using %sort% variable
header_sort_hide_text=added-asc
#--Text to be shown before or after triggered variable in the header
header_sort_pre_text= \{
header_sort_after_text=}
header_filter_pre_text= [Filter:
header_filter_after_text=]
header_search_pre_text=\h\N\N[Search=
header_search_after_text=..]
header_highlight_pre_text=✅
header_highlight_after_text=
header_list_duration_pre_text= 🕒
header_list_duration_after_text=
header_list_length_pre_text= 🕒
header_list_length_after_text=
header_list_remaining_pre_text= 🕒
header_list_remaining_after_text=
#--Copy seperator that will be shown for copied items in the list
copy_seperator= ©
#--Paste seperator that will be shown for pasted item in the list
paste_seperator= ℗
####-----Time Format Settings-----####
##--in the first parameter, you can define from the available styles: default, hms, hms-full, timestamp, timestamp-concise "default" to show in HH:MM:SS.sss format. "hms" to show in 1h 2m 3.4s format. "hms-full" is the same as hms but keeps the hours and minutes persistent when they are 0. "timestamp" to show the total time as timestamp 123456.700 format. "timestamp-concise" shows the total time in 123456.7 format (shows and hides decimals depending on availability).
##--in the second parameter, you can define whether to show milliseconds, round them or truncate them. Available options: 'truncate' to remove the milliseconds and keep the seconds. 0 to remove the milliseconds and round the seconds. 1 or above is the amount of milliseconds to display. The default value is 3 milliseconds.
##--in the third parameter you can define the seperator between hour:minute:second. "default" style is automatically set to ":", "hms", "hms-full" are automatically set to " ". You can define your own. Some examples: ["default", 3, "-"],["hms-full", 5, "."],["hms", "truncate", ":"],["timestamp-concise"],["timestamp", 0],["timestamp", "truncate"],["timestamp", 5]
copy_time_format=["timestamp-concise"]
osd_time_format=["default", "truncate"]
list_time_format=["default", "truncate"]
header_duration_time_format=["hms", "truncate", ":"]
header_length_time_format=["hms", "truncate", ":"]
header_remaining_time_format=["hms", "truncate", ":"]
####------List Keybind Settings------####
#--Add below (after a comma) any additional keybind you want to bind. Or change the letter inside the quotes to change the keybind
#--Example of changing and adding keybinds: --From ["b", "B"] To ["b"]. --From [""] to ["alt+b"]. --From [""] to ["a" "ctrl+a", "alt+a"]
#--Keybind that will be used to navigate up on the list
list_move_up_keybind=["UP", "WHEEL_UP"]
#--Keybind that will be used to navigate down on the list
list_move_down_keybind=["DOWN", "WHEEL_DOWN"]
#--Keybind that will be used to go to the first item for the page shown on the list
list_page_up_keybind=["PGUP"]
#--Keybind that will be used to go to the last item for the page shown on the list
list_page_down_keybind=["PGDWN"]
#--Keybind that will be used to navigate to the first item on the list
list_move_first_keybind=["HOME"]
#--Keybind that will be used to navigate to the last item on the list
list_move_last_keybind=["END"]
#--Keybind that will be used to highlight while pressing a navigational keybind, keep holding shift and then press any navigation keybind, such as: up, down, home, pgdwn, etc..
list_highlight_move_keybind=["SHIFT"]
#--Keybind that will be used to highlight all displayed items on the list
list_highlight_all_keybind=["ctrl+a", "ctrl+A"]
#--Keybind that will be used to remove all currently highlighted items from the list
list_unhighlight_all_keybind=["ctrl+d", "ctrl+D"]
#--Keybind that will be used to load entry based on cursor position
list_select_keybind=["ENTER", "MBTN_MID"]
#--Keybind that will be used to add entry to playlist based on cursor position
list_add_playlist_keybind=["CTRL+ENTER"]
#--Keybind that will be used to add all highlighted entries to playlist
list_add_playlist_highlighted_keybind=["SHIFT+ENTER"]
#--Keybind that will be used to close the list (closes search first if it is open)
list_close_keybind=["ESC", "MBTN_RIGHT"]
#--Keybind that will be used to delete the entry based on cursor position
list_delete_keybind=["DEL"]
#--Keybind that will be used to delete all highlighted entries from the list
list_delete_highlighted_keybind=["SHIFT+DEL"]
#--Keybind that will be used to trigger search
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=["ALT+ENTER"]
#--Keybind thats are ignored when list is open
list_ignored_keybind=["h", "H", "r", "R", "b", "B", "k", "K"]
######----End of Settings----######
|