Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace twitter with x #162

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion script-opts/SmartCopyPaste.conf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ 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"], ["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=
Expand Down
2 changes: 1 addition & 1 deletion script-opts/SmartCopyPaste_II.conf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ 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"], ["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=
Expand Down
2 changes: 1 addition & 1 deletion scripts/SmartCopyPaste.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"], ["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
Expand Down
2 changes: 1 addition & 1 deletion scripts/SmartCopyPaste_II.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"], ["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
Expand Down