Skip to content

Commit

Permalink
feat: 优先清晰度添加字幕/弹幕选项,用于快速批量下载. close #167
Browse files Browse the repository at this point in the history
  • Loading branch information
nICEnnnnnnnLee committed Nov 23, 2023
1 parent b328e35 commit eac4367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nicelee/bilibili/enums/VideoQualityEnum.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package nicelee.bilibili.enums;

public enum VideoQualityEnum {
// QDanmu("Danmu", 801, "弹幕"),
// QCC("CC", 800, "字幕"),
QDanmu("弹幕", 801, "弹幕"),
QCC("CC字幕", 800, "字幕"),
Q8K("8K", 127, "超高清 8K"),
QHDR("HDR", 125, "真彩 HDR"),
Q4K("4K", 120, "超清4K"),
Expand Down
2 changes: 2 additions & 0 deletions src/nicelee/ui/item/ClipInfoPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public void actionPerformed(ActionEvent e) {
}

for (final int qn : clip.getLinks().keySet()) {
if(qn >= 800)
continue;
// JButton btn = new JButton("清晰度: " + qn);
String qnName = VideoQualityEnum.getQualityDescript(qn);
if (qnName == null)
Expand Down

0 comments on commit eac4367

Please sign in to comment.