diff --git a/README.md b/README.md index d548e72..1b9a749 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,16 @@ ## ZY Player 资源播放器 -1. 全平台支持. windows, mac, linux. -2. 12个视频源. 未来更新更多的视频源. -3. 新增历史播放记录, 并记录播放进度. -4. 新增分享功能. 一键分享海报图片. -5. 新增精简模式. 支持修改透明度. -6. 全新布局配色. -7. 新增多语言. -8. 下载功能 (最大资源网和OK资源网支持下载.) +1. 全平台支持. Windows, Mac, Linux +2. 12个视频源. 未来更新更多的视频源 +3. 新增历史播放记录, 并记录播放进度 +4. 新增分享功能. 一键分享海报图片 +5. 新增精简模式. 支持修改透明度 +6. 全新布局配色 +7. 新增多语言 +8. 下载功能 9. 更详细的视频分类 -10. 收藏夹同步更新视频追剧.(手动更新) +10. 收藏夹同步更新视频追剧 11. 后台自动更新 12. 全局快捷键 13. 支持演员名称搜索 @@ -45,13 +45,12 @@ | 快捷键 | 说明 | 主界面 | 小窗口 | | :----------------------: | ---------- | :----: | :----: | -| `⌘ + ➡` 或 `Ctrl + ➡` | 下一集 | √ | √ | -| `⌘ + ⬅` 或 `Ctrl + ⬅` | 上一集 | √ | √ | -| `⌘ + ⬆` 或 `Ctrl + ⬆` | 减少透明度 | | √ | -| `⌘ + ⬇` 或 `Ctrl + ⬇` | 增加透明度 | | √ | -| `Shift + ⬆` | 增加倍速 + 0.25 | √ | √ | -| `Shift + ⬇` | 减少倍速 - 0.25 | √ | √ | - +| `⌘ + →` 或 `Ctrl + →` | 下一集 | √ | √ | +| `⌘ + ←` 或 `Ctrl + ←` | 上一集 | √ | √ | +| `⌘ + ↑` 或 `Ctrl + ↑` | 减少透明度 | | √ | +| `⌘ + ↓` 或 `Ctrl + ↓` | 增加透明度 | | √ | +| `Shift + ↑` | 增加倍速 + 0.25 | √ | √ | +| `Shift + ↓` | 减少倍速 - 0.25 | √ | √ | #### 下载: diff --git a/package.json b/package.json index 4060424..b5e5390 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "zy", - "version": "1.0.10", + "version": "1.0.11", "private": true, "author": { "name": "Hunlongyu", diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index a70cf0a..7198d31 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -151,6 +151,9 @@ padding-left: 10px; font-size: 12px; } + .btn{ + cursor: pointer; + } } } diff --git a/src/background.js b/src/background.js index b3c9322..c5952f1 100644 --- a/src/background.js +++ b/src/background.js @@ -76,6 +76,9 @@ function createMini () { app.allowRendererProcessReuse = true app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors') +if (process.platform === 'Linux') { + app.disableHardwareAcceleration() +} app.on('window-all-closed', () => { if (process.platform !== 'darwin') { diff --git a/src/components/Film.vue b/src/components/Film.vue index 8e24b15..fe2c2cc 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -69,6 +69,7 @@
@@ -81,6 +82,7 @@ import { sites, getSite } from '../lib/site/sites' import tools from '../lib/site/tools' import video from '../lib/dexie/video' import setting from '../lib/dexie/setting' +import { shell } from 'electron' const { clipboard } = require('electron') export default { name: 'film', @@ -297,6 +299,9 @@ export default { this.tb.list = res.list this.tb.loading = false }) + }, + goWebsite () { + shell.openExternal(this.site.url) } }, created () { diff --git a/src/mini/Mini.vue b/src/mini/Mini.vue index 111c1d6..1f0c2f9 100644 --- a/src/mini/Mini.vue +++ b/src/mini/Mini.vue @@ -92,6 +92,7 @@ export default { this.xg.on('ended', () => { if (this.d.m3u8_urls.length > 1 && (this.d.m3u8_urls.length - 1 > this.index)) { this.video.currentTime = 0 + this.video.index++ this.index++ let src = this.d.m3u8_urls[this.index] src = src.split('$')[1] @@ -122,6 +123,7 @@ export default { if (res) { const v = res v.currentTime = this.xg.currentTime + v.index = this.index const id = v.id delete v.id history.update(id, v)