Giter Club home page Giter Club logo

zyplayer's Introduction

官网 反馈 下载

ZYPlayer

基于 Vue 全家桶 + TDesign + Electron 开发;主题色:薄荷绿。

🎉 特性

  • 全平台支持 Windows、Mac、Linux
  • 适配深色模式
  • 支持资源站 cms(json、xml)
  • 支持 IPTV(m3u、genre)及电子节目单
  • 支持主流视频平台解析(解析页面有个小彩蛋,可在代码里自行探索)
  • 老板键,一键隐藏
  • 内置两套播放器(西瓜播放器,腾讯云播发器)

🌴 声明

  • 请大家支持正版. 所有资源来自网上, 该软件不参与任何制作, 上传, 储存等内容, 禁止传播违法资源.
  • 该软件仅供学习交流使用,禁止个人用于非法商业用途, 请于安装后 24 小时内删除.
  • 该软件为空壳播放器,不带源。
  • 该软件部分代码参考ZY-Player
  • icon 来源于ZY Player Issues 737

播放器说明:

  • 没有完美的播放器
  • tcplayer不支持 h265(hevc),通常表现为只有声音没有画面
  • xgplayer兼容性不如tcplayer
  • 腾讯一贯风格,tcplayer每次数据都会上报云端(https://datacenter.live.qcloud.com/)

包说明:

  • MacOS(dmg):arm64[Applechip]、x64[Intel]、universal[通用-不区分架构]
  • Windows(exe):arm64[骁龙]、x64[Intel、amd]、ia32(32位操作系统)、win-版本号.exe(通用-不区分架构)
  • Linux(Image):arm64[鲲鹏、飞腾]、x64[兆兴]

win7说明:

  • Chromium内核110.0.5481.100对应Electron23.1.1(续航能力的大幅优化 即降低能耗和性能优化)
  • Electron 23 将包含 Chromium 110, 不再支持Windows(7/8/8.1)
  • 维护两套版本成本太高,将随时停止打包Windows(7/8/8.1),用户可自行打包(建议 19.1.9版本)
1.安装 node.js version16 以上
2.克隆项目  git clone https://github.com/Hiram-Wong/ZyPlayer.git
3.进入项目  cd ZyPlayer
4.修改packgae.json "electron": "^19.1.9",
5.安装依赖包  yarn
6.打包  yarn electron:build:win
展开查看接口说明

一键格式

{
  "sites": { // 站点源
    "default": 1, // 默认值:需为data中需要设置的id
    "data": [ // 所有数据
      {
        "id": 1, // id 唯一值不可重复
        "key": "39kan",
        "name": "39影视", // 名称
        "api": "https://www.39kan.com/api.php/provide/vod/", // 站点源地址
        "type": 1, // 0:cms(xml) 1:cms(json) 2:drpy
        "search": 1, // 0:关闭 1:聚合搜索 2:本站搜索
        "playUrl": "", // 配合解析去url地址
        "group": "影视", // 分组
        "isActive": true, // 是否启用 true启用 false 禁用
        "status": true, // 状态 true可用 false 失效
      }
    ]
  },
  "iptv": { // 直播源
    "default": 1, // 默认值:需为data中需要设置的id
    "data": [
      {
        "id": 1, // id 唯一值不可重复
        "name": "APTV", // 名称
        "url": "https://raw.githubusercontent.com/Kimentanm/aptv/master/m3u/iptv.m3u", // 直播源地址
        "epg": "", // 电子节目单地址
        "type": "remote", // remote为远程m3u local本地m3u文件路径
        "isActive": true // 是否启用 true启用 false 禁用
      }
    ]
  },
  "analyzes": { // 解析源
    "default": 2, // 默认值:需为data中需要设置的id
    "data": [
      {
        "id": 2, // id 唯一值不可重复
        "name": "爱豆", // 名称
        "url": "https://jx.aidouer.net/?url=", // 解析源地址
        "isActive": true // 是否启用 true启用 false 禁用
      }
    ]
  }
}

资源站点接口格式

[
  {
    "id": 1,
    "key": "39kan",
    "name": "39影视",
    "api": "https://www.39kan.com/api.php/provide/vod/",
    "type": 1,
    "search": 1,
    "playUrl": "",
    "group": "影视",
    "isActive": true,
    "status": true,
  }
]

iptv 站点接口格式

[
  {
    "id": 1,
    "name": "APTV",
    "url": "https://raw.githubusercontent.com/Kimentanm/aptv/master/m3u/iptv.m3u",
    "epg": "",
    "type": "remote",
    "isActive": true
  }
]

解析站点接口格式

[
  {
    "id":1,
    "name":"爱豆",
    "url":"https://jx.aidouer.net/?url=",
    "isActive": true
  }
]

社区分享格式接口格式

{  
  "user": {
    "name": "不敢share真名的憨憨", // 用户名
    "avatar": "", // 用户头像
    "desc": "Hi~小可爱!会不定时分享福利哦!让憨憨陪伴你更久✧( •˓◞•̀ )" // 用户描述
  },
  "share": [
    {
      "type": "recommend",  // 类型 recommend分享影视  source分享源
      "key": "向往的生活", // 关键字 类型为recommend时影视搜索的关键字 类型为source时 站点源为site  直播源为iptv  解析源为analyze
      "img": "https://4img.hitv.com/preview/sp_images/2023/05/05/202305051335152292032.jpg_220x125.jpg", // 海报 类型为recommend生效
      "url": {}, // 类型为 source 生效 内容与前面添加源一致,不要带 id 属性(重要)
      "desc": "影片推荐:向往的生活,超级好看!", // 描述
      "time": "2023-05-07" // 发布时间
    },
    {
      "type": "source",
      "key": "analyze",
      "img": "",
      "url": {
        "name": "爱豆",
        "url": "https://jx.aidouer.net/?url=",
        "isActive": true
      },
      "desc": "解析源:爱豆解析",
      "time": "2023-05-07"
    }
  ]
}
展开查看软件截图
影视(首页) 影视(搜索)
影视 影视搜索
影视(播放) 影视 (介绍)
影视播放 影视详情
影视(热搜榜) 直播(首页)
热榜 直播首页
直播(播放) 解析
直播播放 解析
历史记录 在追
历史 在追
社区 设置
社区 设置

zyplayer's People

Contributors

hiram-wong avatar jim114042 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.