Skip to content

Releases

0.9.1

Choose a tag to compare

@hotdog-box hotdog-box released this 03 Nov 20:58

视频库 0.9.1

这是针对 Obsidian 官方审核意见的修复版本。

安全

  • 移除本地流代理中的 rejectUnauthorized: false,所有 HTTPS 上游请求恢复证书校验。

代码审核

  • 笔记面板改用独立 Component 渲染 Markdown,不再把长期存活的插件实例当作组件。
  • 使用 FileManager.trashFile() 代替 Vault.delete(),遵循用户的文件删除偏好。
  • 使用 Vault.configDir 获取配置目录,不再硬编码 .obsidian。
  • 移除多余类型断言、未使用函数和 lint 警告。
  • 修复悬浮笔记视图中的 any 类型。

README

  • 在 README 顶部增加英文简介,满足 Obsidian 社区目录的英文描述要求。

验证

  • npm run build 通过
  • npm test 9/9 通过
  • B 站代理流在启用证书校验后正常解析

0.9.0

Choose a tag to compare

@hotdog-box hotdog-box released this 03 Nov 20:49

视频库 0.9.0

播放器

  • B 站清晰度选择,登录后可播放 1080P+
  • 0.5× / 0.75× / 1.0× / 1.5× / 2× 倍速
  • 空格播放/暂停,左右方向键快进/快退,上下方向键调音量
  • 播放器可拖动、最大化、内容滚动,底部按钮固定
  • B 站多 P 支持选集,导入网址保留 ?p=

视频笔记

  • 标记节点自动截图,封面单独显示
  • 总结按 Markdown 渲染,支持标题、列表和多张内联图片
  • 总结可折叠,节点可单独收起,支持展开/收起全部
  • 笔记节点拖动排序并写入 Markdown 顺序
  • 左侧时间节点树,独立分组管理,MD 中生成 ## 分组和 ### 卡片
  • 整篇笔记文件夹可移入回收站、还原或彻底删除
  • 回收站支持搜索、按视频分组、多选删除,截图显示原时间节点
  • 侧边栏“视频笔记管理”、视频卡片“打开笔记”

预览

  • 笔记节点自动生成 2 秒悬停片段,总时长默认 10 秒
  • 设置中可修改片段长度、总时长和最大时长
  • B 站、网盘视频支持在线悬停预览

其他

  • 标签筛选保留当前搜索词和多标签逻辑,并跨文件夹把匹配视频直接显示在全部视频区域
  • 修复 B 站登录 Cookie 解析
  • 修复百度网盘登录校验
  • 数据版本升级到 6

已知限制

  • 百度/夸克文件列表 API 尚未接入,网盘视频仍需手填直链
  • B 站番剧 ep 列表选集尚未接入(多 P 已支持)
  • YouTube/Vimeo iframe 暂不支持悬停预览

安装

下载 main.js、manifest.json、styles.css,覆盖到:

<vault>/.obsidian/plugins/video-library/

0.8.1

Choose a tag to compare

@hotdog-box hotdog-box released this 02 Nov 03:08

Review fixes for the 0.8.0 submission.

  • Replace document.createElement with Obsidian's createEl helper for the site-import file input and the site-export download link.
  • Replace direct style assignments with setCssStyles on the hidden file input.
  • Remove an unnecessary type assertion in importScrapeSites().
  • Remove the unused setIcon and Marker imports.

Full changelog: CHANGELOG.md

Video Library 0.8.0

Choose a tag to compare

@hotdog-box hotdog-box released this 01 Nov 18:53

Video Library 0.8.0

中文

0.8.0 加入可选的 MetaTube 刮削和站点管理,同时补齐了一批日常使用体验:

  • 新增标记系统:用户可以把视频绑定到某个刮削来源,B 站 / YouTube 链接会自动打上对应标记。
  • 设置页新增“刮削站点”列表:启用/停用、测试、上移/下移、修改地址、删除、自定义添加、JSON 导入和导出。
  • GitHub 版本不附带任何预设站点,首次使用需要自己添加或导入模板,避免把特定站点配置强加给所有用户。
  • 新增 MetaTube 程序路径、启动/停止服务按钮,以及打开插件数据/封面文件夹的快捷按钮。
  • 新增手动刮削:在播放页或右键菜单打开“刮削信息”,搜索候选并勾选要写入的封面、标题、作者、厂商、系列、演出人员、标签、简介、上架时间和时长。
  • 自动刮削默认关闭;开启后只有恰好找到一个候选时才写入。标签采用合并,备注永远不会被覆盖。
  • 搜索框现在会跨分类和文件夹搜索整个视频库。
  • 新增撤销按钮和 Ctrl+Z,最多撤销 30 步(只恢复数据,不恢复已删除的封面/本地文件)。
  • 播放页的标签、系列、演出人员可以点击,联动显示相关视频;默认显示 10 个,可展开全部。
  • 设置页操作改为图标按钮,点击有明显按压反馈;修复点击站点按钮时整行/整个设置界面触发动画的问题。
  • 修复“导入站点”没有反应:文件选择器现在在设置窗口自己的文档中打开;新增“导出站点”。
  • 修复 MetaTube 404 被当作失败的问题;全部来源搜索超时提高到 90 秒。
  • 新增 项目架构与修改指南.md 和 AI技术交接报告.skill.md,方便后续维护和 AI 交接。

安装方式:下载下方的 main.js、manifest.json、styles.css,放入 .obsidian/plugins/video-library/,重启 Obsidian 后启用。需要 Obsidian 1.13.0 或更高版本,仅支持桌面端。

English

Video Library 0.8.0 adds optional MetaTube scraping and site management, plus a round of everyday UX fixes:

  • New marker system: bind a video to a scraping source; Bilibili and YouTube links receive the matching marker automatically.
  • New scraping-site list in settings: enable/disable, test, reorder, edit URL, delete, add custom sites, and import/export JSON.
  • The GitHub build ships no preset sites. Add your own sites or import a template; no site list is forced on users.
  • New MetaTube executable path, start/stop service buttons, and shortcuts to open the plugin data and covers folders.
  • Manual scraping from the player or the context menu: search, choose a candidate, and apply cover, title, author, studio, series, performers, tags, description, release date and duration.
  • Auto-scrape is off by default and only writes when exactly one candidate is found. Tags are merged; notes are never overwritten.
  • The search box now searches the whole library across categories and folders.
  • New undo button and Ctrl+Z, up to 30 steps (data only; deleted covers/local files are not restored).
  • Clickable tags, series and performers in the player show related videos; 10 shown initially with a show-all button.
  • Settings actions are now visible icon buttons with a clear press animation; fixed the bug where clicking a site button animated the whole settings row.
  • Fixed “Import sites” not responding: the file picker now opens from the settings window itself. Added “Export sites”.
  • MetaTube 404 is treated as “no results”; the all-provider search timeout is now 90 seconds.
  • Added 项目架构与修改指南.md and AI技术交接报告.skill.md for maintainers and AI handoff.

Install: download main.js, manifest.json and styles.css below into .obsidian/plugins/video-library/, restart Obsidian and enable the plugin. Requires Obsidian 1.13.0+ on desktop.

Full changelog: https://github.com/hotdog-box/obsidian-video-library/blob/main/CHANGELOG.md

Video Library 0.7.0

Choose a tag to compare

@hotdog-box hotdog-box released this 01 Nov 15:29

Video Library 0.7.0

中文

这一版补齐了视频资料管理和播放页体验:

  • 新增、编辑视频时可以填写 厂商 / 片商、系列、演出人员,多个演员用逗号或「、」分隔。
  • 播放页视频下方新增完整信息面板:时长、视频大小、分类、厂商、系列、演出人员、作者、添加时间、标签和备注。
  • 播放页新增 “修改标签和备注”,可以直接在当前页面编辑并同步,不需要跳转到编辑弹窗。
  • 鼠标悬停在播放进度条上会显示当前时间点的 视频帧缩略图和时间。
  • 批量导入和文件夹导入会为每个视频在后台 随机截取一帧作为封面。
  • 首页大图右上角新增展示切换:推荐、最近播放、最近添加、置顶、收藏、本地视频。
  • 优化仓库外视频的播放缓存检查,大型视频库启动时不会重复复制缓存。

安装方式:下载下方的 main.js、manifest.json、styles.css,放入 .obsidian/plugins/video-library/,重启 Obsidian 后启用。需要 Obsidian 1.13.0 或更高版本,仅支持桌面端。

English

Video Library 0.7.0 focuses on richer video details and a better player:

  • Add Studio/label, Series and Performers when creating or editing a video.
  • The player now shows duration, file size, category, studio, series, performers, author, added date, tags and notes below the video.
  • Edit tags and notes inline from the player with Edit tags & notes, without leaving playback.
  • Hover over the player timeline to see a frame thumbnail and timestamp.
  • Batch and folder imports capture a random frame as the cover for every imported video in the background.
  • The Home hero has a showcase selector: For you, Recently played, Recently added, Pinned, Favorites and Local videos.
  • External playback cache is reused when the cached file already matches the source size, so large libraries start faster.

Install: download main.js, manifest.json and styles.css below into .obsidian/plugins/video-library/, restart Obsidian and enable the plugin. Requires Obsidian 1.13.0+ on desktop.

Full changelog: https://github.com/hotdog-box/obsidian-video-library/blob/main/CHANGELOG.md

Video Library 0.5.2

Choose a tag to compare

@hotdog-box hotdog-box released this 31 Oct 06:32

Video Library 0.5.2

  • Adopt Obsidian's declarative settings API with getSettingDefinitions().
  • Remove the deprecated imperative display() settings implementation.
  • Settings now appear in Obsidian's settings search.
  • Minimum Obsidian version is 1.13.0.

This release addresses the remaining community review warning. All 0.5.1 review fixes remain included.

Video Library 0.5.1

Choose a tag to compare

@hotdog-box hotdog-box released this 31 Oct 06:25

Video Library 0.5.1

Community review fixes:

  • Replace direct style assignments with setCssStyles and Obsidian createEl helpers.
  • Stop detaching the view leaf in onunload.
  • Use Setting.setHeading in settings.
  • Use Obsidian getLanguage and vault.configDir.
  • Remove the plugin ID from command IDs.
  • Use FileManager.trashFile for vault-local deletion.
  • Improve Node/Electron typings and Promise handling.
  • Remove all CSS !important declarations while preserving button styling.
  • Add an English README overview and privacy/network/file-access disclosures.

The plugin still includes all 0.5.0 features: external local videos, batch and folder import, Home carousel, folders, tags, pinning, categories and Explorer-style dragging.

Video Library 0.5.0

Choose a tag to compare

@hotdog-box hotdog-box released this 31 Oct 05:40

Video Library 0.5.0

  • External local videos: single-file picker, multi-file import, and full folder import with subfolder preservation.
  • External videos are hard-linked into the plugin directory for playback; cross-volume imports fall back to a playback copy.
  • Delete dialog can optionally move the local video file to the system trash, including batch delete.
  • Bilibili-style Home carousel with six recent/played videos, auto-rotation, dots and previous/next controls.
  • Fixed switching from Home to All videos, Favorites, Uncategorized, categories and “View all”.
  • Category right-click rename/delete and drag-to-reorder.
  • Right-click empty areas to add a video or create a folder.