Compare commits

...

2 Commits

Author SHA1 Message Date
hunlongyu
010b488340 😋 修复精简模式下切换视频无法保留历史记录的问题 2020-05-27 09:49:56 +08:00
hunlongyu
03c32d8ee2 😥 修改说明文字 2020-05-25 22:32:38 +08:00
6 changed files with 29 additions and 17 deletions

View File

@@ -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 + ` | 减少透明度 | √ | √ |
| `Shift + ` | 增加透明度 | √ | √ |
| `⌘ + ``Ctrl + ` | 下一集 | √ | √ |
| `⌘ + ``Ctrl + ` | 上一集 | √ | √ |
| `⌘ + ``Ctrl + ` | 减少透明度 | | √ |
| `⌘ + ``Ctrl + ` | 增加透明度 | | √ |
| `Shift + ` | 增加倍速 + 0.25 | √ | √ |
| `Shift + ` | 减少倍速 - 0.25 | √ | √ |
#### 下载:

View File

@@ -1,6 +1,6 @@
{
"name": "zy",
"version": "1.0.10",
"version": "1.0.11",
"private": true,
"author": {
"name": "Hunlongyu",

View File

@@ -151,6 +151,9 @@
padding-left: 10px;
font-size: 12px;
}
.btn{
cursor: pointer;
}
}
}

View File

@@ -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') {

View File

@@ -69,6 +69,7 @@
</div>
<div class="tFooter">
<span class="tFooter-span">今日更新: {{ tb.update }} </span>
<span class="tFooter-span btn" @click="goWebsite">前往该资源网</span>
<el-pagination small :page-size="tb.size" :total="tb.total" :current-page="tb.page" @current-change="tbPageChange" layout="total, prev, pager, next, jumper"></el-pagination>
</div>
</div>
@@ -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 () {

View File

@@ -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)