Releases: MouJieQin/iina-for-varchive
IINA v1.3.5 custom v1.0.4
Add custom config file to support custom bookmark knob color
Automatically display osc when operating bookmarks or custom-ab-loop
Do not stop when seek to bookmark timestamps
Enlarge bookmark offset value and cycle seek for bookmarks
Support load local video bookmark file from the same folder
Fix the bug that does not save playback position while navigating in playlist
What I have done
I add some mpv-like commands in keyboard shortcuts.
note: You should set these commands you need in your Key Bindings in your IINA preferences.
sub-text
Show the current subtitle text regardless of sub visibility.
secondary-sub-text
Same as sub-text, but for the secondary subtitle.
sub-start
Seek to the current subtitle start time.
secondary-sub-start
Same as sub-start, but for the secondary subtitle.
custom-ab-loop <flag>
-
It does what the abloop of mpv do, but provide a conevience.
the flag argument:
sub
Cycle through A-B loop states, in which the current subtitle start time will be set as A point, and the current subtitle end time will be set as B point.
secondarySub
Same as sub above, but for the secondary subtitle.
current [<value1>] [<value2>]
The value1 and value2 should be positive decimals. The default value of the value1 and the valu2 is 1.0. The point that is 'value1' seconds leftward away from the current position will be set as A point and the point that is 'value2' seconds rightward away from the current position will be set as B point. It might be used to listen to a word hard to understand.
timestamps
Cycle the adjacent pairs of timestamps in which the current position is (see mark-timestamp following).
mark-timestamp <flag>
-
It marks some timestamps as bookmarks and shows knobs on progress bar, enabling to seek between timestamps marked.
the flag argument:
Set
Mark the current position as a bookmark.
left-seek
Leftward seek to the timestamp most closest to the current position.
right-seek
Same as left-seek, but for rightward seeking.
remove
Remove the timestamp marked at the current position.
clear
Clear all timestamps marked.
IINA for Varchive 1.0.0
IINA for Varchive
Based on the original iina porject, this project add websocket module to implement IPC(Internet Process Connection) with Varchive(video archive), a web extension app to archive videos. Besides that, there are additional custom features, such as mpv-like commands using keyboard shortcuts.
Tip
The following chart shows the key and its action. The key binding is already included in the IINA for Varchive default key bindings config when its key is not empty. Otherwise you will have to add key bindings you need in the config you are using in your IINA preferences.
Key | Action |
---|---|
a | varchive archive |
o | varchive open-in-varchive |
1 | sub-text |
secondary-sub-text | |
2 | sub-start |
secondary-sub-start | |
3 | custom-ab-loop current 1.0 1.0 |
4 | custom-ab-loop sub |
custom-ab-loop secondary-sub | |
5 | custom-ab-loop bookmarks |
bookmark sub-start | |
bookmark secondary-sub-start | |
6 | bookmark mark-preview |
7 | bookmark mark |
8 | bookmark seek-prev |
9 | bookmark seek-next |
0 | bookmark remove |
Shift+BS | bookmark clear |
B | skip-manager prev |
F | skip-manager next |
Features
varchive <flag>
Tip
You could check varchive to know more information about it.
- archive
Send current video url to varchive server to archive the video, even if it's a network resource.
- open-in-varchive
Open the varchive page of this video in varchive app if it's running, or in browser, but only when the video is archived.
sub-text
Show the current subtitle text regardless of sub visibility.
secondary-sub-text
Same as sub-text, but for the secondary subtitle.
sub-start
Seek to the current subtitle start time.
secondary-sub-start
Same as sub-start, but for the secondary subtitle.
custom-ab-loop <flag>
It does what the abloop of mpv do, but provides a conevience.
the flag argument:
-
sub
Cycle through A-B loop states, in which the current subtitle start time will be set as A point, and the current subtitle end time will be set as B point.
-
secondary-sub
Same as sub above, but for the secondary subtitle.
-
current [<value1>] [<value2>]
The value1 and value2 should be positive decimals. The default value of the value1 and the valu2 is 1.0. The point that is 'value1' seconds leftward away from the current position will be set as A point and the point that is 'value2' seconds rightward away from the current position will be set as B point. It might be used to listen to a word hard to understand.
-
bookmarks
Cycle the adjacent pairs of bookmarks in which the current position is (see bookmark following).
bookmark <flag>
It marks some timestamps as bookmarks and shows knobs on progress bar, enabling to seek between timestamps marked. You can edit bookmarks on the corresponding varchive page of a video.
the flag argument:
-
mark
Mark the current timestamp position as a bookmark.
The current video will be archived by varchive if it's not archived yet.
-
mark-preview
Same as mark, but additionally generate the preview(images) of the current position.
-
seek-prev
Seek to the previous bookmark closest to the current position.
-
seek-next
Same as seek-prev, but seek to the next bookmark .
-
remove
Remove the bookmark marked at the current position.
-
clear
Clear all bookmarks marked.
skip-manager <flag>
The skip-manager keeps the latest 100 skip(seeking) records of current playing video. When you accidentally move the progress knob away from the point you are watching, you could use it to quickly reach back to the original timestamp. Note: The vlaue of the index to locate records will be reset when a new seek coming in. The skip-manager doesn't keep the skip records caused by itself.
-
prev
Seek to the previous timestamp you skipped from.
-
next
Same as the prev, but seek to the next skipped timestamp.
IINA for Varchive 1.0.0.beta1
IINA for Varchive
Based on the original iina porject, this project add websocket module to implement IPC(Internet Process Connection) with Varchive(video archive), a web extension app to archive videos. Besides that, there are additional custom features, such as mpv-like commands using keyboard shortcuts.
Tip
The following chart shows the key and its action. The key binding is already included in the IINA for Varchive default key bindings config when its key is not empty. Otherwise you will have to add key bindings you need in the config you are using in your IINA preferences.
Key | Action |
---|---|
a | varchive archive |
o | varchive open-in-varchive |
1 | sub-text |
secondary-sub-text | |
2 | sub-start |
secondary-sub-start | |
3 | custom-ab-loop current 1.0 1.0 |
4 | custom-ab-loop sub |
custom-ab-loop secondary-sub | |
5 | custom-ab-loop bookmarks |
bookmark sub-start | |
bookmark secondary-sub-start | |
6 | bookmark mark-preview |
7 | bookmark mark |
8 | bookmark seek-prev |
9 | bookmark seek-next |
0 | bookmark remove |
Shift+BS | bookmark clear |
B | skip-manager prev |
F | skip-manager next |
Features
varchive <flag>
Tip
You could check varchive to know more information about it.
- archive
Send current video url to varchive server to archive the video, even if it's a network resource.
-
open-in-varchive
Open the varchive page of this video in browser, but only when the video is archived.
sub-text
Show the current subtitle text regardless of sub visibility.
secondary-sub-text
Same as sub-text, but for the secondary subtitle.
sub-start
Seek to the current subtitle start time.
secondary-sub-start
Same as sub-start, but for the secondary subtitle.
custom-ab-loop <flag>
It does what the abloop of mpv do, but provides a conevience.
the flag argument:
-
sub
Cycle through A-B loop states, in which the current subtitle start time will be set as A point, and the current subtitle end time will be set as B point.
-
secondary-sub
Same as sub above, but for the secondary subtitle.
-
current [<value1>] [<value2>]
The value1 and value2 should be positive decimals. The default value of the value1 and the valu2 is 1.0. The point that is 'value1' seconds leftward away from the current position will be set as A point and the point that is 'value2' seconds rightward away from the current position will be set as B point. It might be used to listen to a word hard to understand.
-
bookmarks
Cycle the adjacent pairs of bookmarks in which the current position is (see bookmark following).
bookmark <flag>
It marks some timestamps as bookmarks and shows knobs on progress bar, enabling to seek between timestamps marked. You can edit bookmarks on the corresponding varchive page of a video.
the flag argument:
-
mark
Mark the current timestamp position as a bookmark.
The current video will be archived by varchive if it's not archived yet.
-
mark-preview
Same as mark, but additionally generate the preview(images) of the current position.
-
seek-prev
Seek to the previous bookmark closest to the current position.
-
seek-next
Same as seek-prev, but seek to the next bookmark .
-
remove
Remove the bookmark marked at the current position.
-
clear
Clear all bookmarks marked.
skip-manager <flag>
The skip-manager keeps the latest 100 skip(seeking) records of current playing video. When you accidentally move the progress knob away from the point you are watching, you could use it to quickly reach back to the original timestamp. Note: The skip-manager doesn't keep the skip records caused by itself. The index of records will be reset when a new seek coming in.
-
prev
Seek to the previous timestamp you skipped from.
-
next
Same as the prev, but seek to the next skipped timestamp.
Full Changelog: https://github.com/MouJieQin/iina-for-varchive/commits/v1.3.5-varchive-v1.0.0-beta1
IINA v1.3.5 custom v1.0.0
What I have done
I add some mpv-like commands in keyboard shortcuts.
note: You should set these commands you need in your Key Bindings in your IINA preferences.
sub-text
Show the current subtitle text regardless of sub visibility.
secondary-sub-text
Same as sub-text, but for the secondary subtitle.
sub-start
Seek to the current subtitle start time.
secondary-sub-start
Same as sub-start, but for the secondary subtitle.
custom-ab-loop <flag>
-
It does what the abloop of mpv do, but provide a conevience.
the flag argument:
sub
Cycle through A-B loop states, in which the current subtitle start time will be set as A point, and the current subtitle end time will be set as B point.
secondarySub
Same as sub above, but for the secondary subtitle.
current [<value1>] [<value2>]
The value1 and value2 should be positive decimals. The default value of the value1 and the valu2 is 1.0. The point that is 'value1' seconds leftward away from the current position will be set as A point and the point that is 'value2' seconds rightward away from the current position will be set as B point. It might be used to listen to a word hard to understand.
timestamps
Cycle the adjacent pairs of timestamps in which the current position is (see mark-timestamp following).
mark-timestamp <flag>
-
It marks some timestamps as bookmarks and shows knobs on progress bar, enabling to seek between timestamps marked.
the flag argument:
Set
Mark the current position as a bookmark.
left-seek
Leftward seek to the timestamp most closest to the current position.
right-seek
Same as left-seek, but for rightward seeking.
remove
Remove the timestamp marked at the current position.
clear
Clear all timestamps marked.