-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathSmartCopyPaste.conf
More file actions
90 lines (61 loc) · 7.36 KB
/
SmartCopyPaste.conf
File metadata and controls
90 lines (61 loc) · 7.36 KB
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
######----Settings For SmartCopyPaste 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
#--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
#--Time seperator that will be shown before the saved time in osd messages
time_seperator= 🕒
#--Prefers to copy 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
#--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
#--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=[ ["twitch", "?t=", "s"], ["twitter", "?t=", ""], ["x", "?t=", ""], ["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+c", "ctrl+C", "meta+c", "meta+C"]
#--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+v", "ctrl+V", "meta+v", "meta+V"]
#--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+c", "ctrl+alt+C", "meta+alt+c", "meta+alt+C"]
#--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+v", "ctrl+alt+V", "meta+alt+v", "meta+alt+V"]
#--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"]
####-----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"]
######----End of Settings----######