diff --git a/script-opts/SmartCopyPaste.conf b/script-opts/SmartCopyPaste.conf index 1a1eb30..15b65c1 100644 --- a/script-opts/SmartCopyPaste.conf +++ b/script-opts/SmartCopyPaste.conf @@ -38,9 +38,9 @@ prefer_filename_over_title=local 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=[ ["twitter", "?t=", ""], ["twitch", "?t=", "s"], ["youtube", "&t=", "s"] ] +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 +#--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 diff --git a/script-opts/SmartCopyPaste_II.conf b/script-opts/SmartCopyPaste_II.conf index 29303af..2b3155d 100644 --- a/script-opts/SmartCopyPaste_II.conf +++ b/script-opts/SmartCopyPaste_II.conf @@ -47,9 +47,9 @@ log_paste_idle_behavior=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"] ] +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 +#--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 diff --git a/scripts/SmartCopyPaste.lua b/scripts/SmartCopyPaste.lua index 41af740..fba8498 100644 --- a/scripts/SmartCopyPaste.lua +++ b/scripts/SmartCopyPaste.lua @@ -23,7 +23,7 @@ local o = { prefer_filename_over_title = 'local', --Prefers to copy filename over filetitle. Select between 'local', 'protocols', 'all', and '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 copy_time_method = 'all', --Option to copy time with video, '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 specific_time_attributes=[[ - [ ["twitter", "?t=", ""], ["twitch", "?t=", "s"], ["youtube", "&t=", "s"] ] + [ ["twitch", "?t=", "s"], ["twitter", "?t=", ""], ["x", "?t=", ""], ["youtube", "&t=", "s"] ] ]], --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. protocols_time_attribute = '&t=', --The text that will be copied before the seek time when copying a protocol video from mpv local_time_attribute = '&time=', --The text that will be copied before the seek time when copying a local video from mpv diff --git a/scripts/SmartCopyPaste_II.lua b/scripts/SmartCopyPaste_II.lua index 16bbda0..69f6d29 100644 --- a/scripts/SmartCopyPaste_II.lua +++ b/scripts/SmartCopyPaste_II.lua @@ -26,7 +26,7 @@ local o = { log_paste_idle_behavior = 'force-noresume', --Behavior of paste when nothing valid is copied, and no video is running. select between 'force', 'force-noresume' log_paste_running_behavior = 'timestamp>playlist', --Behavior of paste when nothing valid is copied, and a video is running. select between 'timestamp>playlist', 'timestamp>force', 'timestamp', 'playlist', 'force', 'force-noresume' specific_time_attributes=[[ - [ ["twitter", "?t=", ""], ["twitch", "?t=", "s"], ["youtube", "&t=", "s"] ] + [ ["twitch", "?t=", "s"], ["twitter", "?t=", ""], ["x", "?t=", ""], ["youtube", "&t=", "s"] ] ]], --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. protocols_time_attribute = '&t=', --The default text that will be copied before the seek time when copying a protocol video from mpv, specific_time_attributes takes priority local_time_attribute = '&time=', --The text that will be copied before the seek time when copying a local video from mpv