main
Li ZongYing 2 years ago
parent b372d52510
commit d65ac508eb
  1. 25
      .github/workflows/build.yml
  2. 314
      HISTORY.md
  3. 201
      LICENSE
  4. 10
      Makefile
  5. 20
      history.sh
  6. BIN
      screenshots/img_1.png
  7. BIN
      screenshots/img_2.png
  8. BIN
      screenshots/img_3.png
  9. 1
      version.json

@ -37,6 +37,13 @@ jobs:
# override default build-tools version (29.0.3) -- optional
BUILD_TOOLS_VERSION: "34.0.0"
- name: Get History
id: get_history
run: |
chmod +x history.sh
output=$(./history.sh)
echo "$output" > history.md
- name: Create Release
id: create_release
uses: actions/create-release@v1
@ -47,6 +54,7 @@ jobs:
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
body_path: history.md
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
@ -56,4 +64,19 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ steps.sign_app.outputs.signedReleaseFile }}
asset_name: my-tv-${{ github.ref_name }}.apk
asset_content_type: application/vnd.android.package-archive
asset_content_type: application/vnd.android.package-archive
- name: Gitee Create Release
run: |
latest_commit=$(git rev-parse HEAD)
history=$(cat history.md)
curl -v POST https://gitee.com/api/v5/repos/${{ github.repository }}/releases \
-H "Content-Type: application/json" \
-d '{
"access_token": "${{ secrets.GITEE_ACCESS_TOKEN}}",
"tag_name": "${{ github.ref_name }}",
"name": "Release ${{ github.ref_name }}",
"body": "'"$history"'",
"prerelease": false,
"target_commitish": "'"$latest_commit"'"
}'

@ -1,207 +1,265 @@
## 更新日志
## 更新日誌
### v2.1.0
* 恢復播放
### 以下已不可用
### v2.0.9
* 修復部分設備閃退的問題
* 修復設置頁可能顯示不全的問題
### v2.0.5
* 設置頁增加恢復默認按鈕,目前只用於同步系統時間
### v2.0.4
* 修復不能播放的問題
* 包含國際頻道
### v2.0.3
* 修復不能播放的問題
* 不包含國際頻道
### v2.0.0
* 解決卡頓問題
* 解決網格樣式時,點擊空白處不退出的問題
* 解決頻道列表樣式切換可能不生效的問題
### v1.9.8(通用)
* 優化在線升級
* 優化可能狀態錯誤的問題
### v1.9.6(通用)
* 優化在線升級
* 優化可能狀態錯誤的問題
### v1.9.4(通用)
* 修復默認時間不顯示問題
* 設置頁居中
* 頻道號和時間對齊
### v1.9.2(通用)
* 修復一個重試的錯誤
### v1.9.0(通用)
* 減少視頻播放失敗情況
* 全面屏手機居中顯示
### v1.8.8(通用)
* 樣式優化
### v1.8.6(通用)
* 增加错误显示
* 节目预告优化
* 频道列表页单击切换频道
* 增加錯誤顯
* 節目預告優
* 頻道列表頁單擊切換頻
### v1.8.4(通用)
* 解決部分情況下打開後黑屏问题
* 延长频道信息显示时间,增加信息显示长度
* 调整频道列表间距
* 其他样式优化
* 解決部分情況下打開後黑屏問題
* 延長頻道信息顯示時間,增加信息顯示長
* 調整頻道列表間
* 其他樣式優
### v1.8.2(通用)
* 修复无法播放问题
* 修復無法播放問題
### v1.8.0(通用)
* 修复返回键无法退出问题
* 设置中增加退出按钮
* 修改非电视上的样式
* 修复低版本闪退问题
* 修復返回鍵無法退出問題
* 設置中增加退出按鈕
* 修改非電視上的樣
* 修復低版本閃退問題
### v1.7.8(通用)
* 修复播放过程中的卡顿问题
* 增加时间显示
* 频道号优化
* 遥控器左键打开频道列表
* 遥控器右键打开设置菜单
* 频道列表空白处点击隐藏频道列表
* 修復播放過程中的卡頓問題
* 增加時間顯
* 頻道號優
* 遙控器左鍵打開頻道列表
* 遙控器右鍵打開設置菜單
* 頻道列表空白處點擊隱藏頻道列表
### v1.7.6(通用)
* 临时去掉部分频道,提高频道的可用性
* 部分频道增加节目单
* 臨時去掉部分頻道,提高頻道的可用性
* 部分頻道增加節目單
### v1.7.5(安卓5及以上专用)
### v1.7.5(安卓5及以上用)
* 修复播放过程中的卡顿问题
* 增加时间显示
* 频道号优化
* 设置中增加退出按钮
* 修復播放過程中的卡頓問題
* 增加時間顯
* 頻道號優
* 設置中增加退出按鈕
### v1.7.4(通用)
* 修复368
* 修368
### v1.7.3(安卓5及以上专用)
### v1.7.3(安卓5及以上用)
* 临时去掉部分频道,提高频道的可用性
* 部分频道增加节目单
* 遥控器左键进入节目列表
* 遥控器右键进入菜单
* 臨時去掉部分頻道,提高頻道的可用性
* 部分頻道增加節目單
* 遙控器左鍵進入節目列表
* 遙控器右鍵進入菜單
### v1.7.2(通用)
* 支持节目列表网格样式和行样式切换,软件重启后生效
* 节目列表样式变
* 支持節目列表網格樣式和行樣式切換,軟件重啟後生效
* 節目列表樣式變
### v1.7.1(安卓5及以上用)
### v1.7.1(安卓5及以上用)
* 解决设置页更新闪退的问题
* 凤凰卫视回归
* 解决368问题
* 解決設置頁更新閃退的問題
* 鳳凰衛視回歸
* 解決368問題
### v1.7.0(通用)
* 网络请求优
* 網絡請求優
### v1.6.9(安卓5及以上用)
### v1.6.9(安卓5及以上用)
* 去掉港澳台和国际频
* 解决部分情况下3、6、8等频道无法播放的问题
* 解决部分情况下启动后黑屏问题
* 去掉港澳台和國際頻
* 解決部分情況下3、6、8等頻道無法播放的問題
* 解決部分情況下啟動後黑屏問題
### v1.6.8(通用)
* 修复部分设备崩溃的问题
* 修复部分设备凤凰卫视无法播放的问题
* 修復部分設備崩潰的問題
* 修復部分設備鳳凰衛視無法播放的問題
### v1.6.7(安卓5及以上用)
### v1.6.7(安卓5及以上用)
* 手机双击打开配置
* 自更新
* 手機雙擊打開配置
* 自更新
### v1.6.6(通用)
* 更新重庆卫视图标
* 凤凰卫视增强画质
* 凤凰卫视增加EPG
* 更新重慶衛視圖標
* 鳳凰衛視增強畫質
* 鳳凰衛視增加EPG
### v1.6.5(安卓5及以上用)
### v1.6.5(安卓5及以上用)
* 增加CETV1图标
* 定性提升
* 增加CETV1圖標
* 定性提升
### v1.6.4(通用)
* 增加CETV1
* 增加凤凰卫视
* 默认关闭开机启动
* 增加鳳凰衛視
* 默認關閉開機啟動
### v1.6.3(安卓5及以上用)
### v1.6.3(安卓5及以上用)
* 增加CETV1
* 凤凰卫视增强画质
* 默认关闭开机启动
* 延迟菜单自动关闭时间
* 解决一些可能导致首次打开时黑屏的问题
* 鳳凰衛視增強畫質
* 默認關閉開機啟動
* 延遲菜單自動關閉時間
* 解決一些可能導致首次打開時黑屏的問題
### v1.6.2(通用)
* 修复按键无效的问题
* 新的频道列表样
* 修復按鍵無效的問題
* 新的頻道列表樣
### v1.6.1(安卓5及以上用)
### v1.6.1(安卓5及以上用)
* 增加凤凰卫视
* 增加鳳凰衛視
### v1.6.0(通用)
* 通用(春晚緊急修復)
### v1.5.9(安卓5及以上用)
### v1.5.9(安卓5及以上用)
* 解决天猫魔盒闪退问题
* 解決天貓魔盒閃退問題
### v1.5.8(通用)
* 修复央视6画质差的问题
* 增加兵团卫视
* 播放失败重试
* 修復央視6畫質差的問題
* 增加兵團衛視
* 播放失敗重試
### v1.5.7(安卓5及以上用)
### v1.5.7(安卓5及以上用)
* 修复播放失败的问题
* 修復播放失敗的問題
### v1.5.6(通用)
* 解决部分设备系统时间不对导致播放失败的问题
* 解決部分設備系統時間不對導致播放失敗的問題
### v1.5.5(安卓5及以上用)
### v1.5.5(安卓5及以上用)
* 修复播放失败的问题
* 修复APP恢复后频道号、频道列表不自动消失的问题
* 修復播放失敗的問題
* 修復APP恢復後頻道號、頻道列表不自動消失的問題
### v1.5.4(通用)
* 修复播放失败的问题
### 以下已不可用
* 修復播放失敗的問題
### v1.5.3(安卓5及以上用)
### v1.5.3(安卓5及以上專用)
* 修复部分情况下APP切换后无法继续播放的问题
* 优化重试逻辑
* 修復部分情況下APP切換後無法繼續播放的問題
* 優化重試邏輯
### v1.5.2(通用)
* 修复APP恢复后频道号、频道列表不自动消失的问题
* 修復APP恢復後頻道號、頻道列表不自動消失的問題
### v1.5.1(安卓5及以上用)
### v1.5.1(安卓5及以上用)
* 性能
* 性能
### v1.5.0(通用)
* 修复部分情况下APP切换后无法继续播放的问题
* 修復部分情況下APP切換後無法繼續播放的問題
### v1.4.9(安卓5及以上用)
### v1.4.9(安卓5及以上用)
* 同步v1.4.8
### v1.4.8(通用)
* 频道号从1开始,CCTV5+为18
* 頻道號從1開始,CCTV5+為18
* 提高CCTV6清晰度
* 增加天津卫视、新疆卫视
* 增加天津衛視、新疆衛視
### v1.4.7(安卓5及以上用)
### v1.4.7(安卓5及以上用)
* 修复部分用户CCTV13播放过程中卡住的问题
* 调整CCTV的频道顺
* 修復部分用戶CCTV13播放過程中卡住的問題
* 調整CCTV的頻道順
### v1.4.6(通用)
* 10以下道不再需要先按0
* 10以下道不再需要先按0
### v1.4.5(安卓5及以上用)
### v1.4.5(安卓5及以上用)
* 数字选台配置
* 數字選台配置
### v1.4.4(通用)
* 优化图标显
* 增加换台反转
* 優化圖標顯
* 增加換台反轉
### v1.4.3(安卓5及以上用)
### v1.4.3(安卓5及以上用)
* 支持频道反转配置
* 支持頻道反轉配置
### v1.4.2(通用)
@ -209,40 +267,40 @@
### v1.4.1
* 解决部分用户无法打开菜单的问题
* 解決部分用戶無法打開菜單的問題
### v1.4.0
* 解决极个别高版本机型黑屏问题
* 解決極個別高版本機型黑屏問題
### v1.3.9
* 提高定性
* 提高接速度
* 提高定性
* 提高接速度
### v1.3.4
* 部分错误会提示用户
* 菜单3秒钟后自动关闭
* 部分錯誤會提示用戶
* 菜單3秒鐘後自動關閉
### v1.3.3
* 部分错误会提示用户
* 菜单3秒钟后自动关闭
* 部分錯誤會提示用戶
* 菜單3秒鐘後自動關閉
### v1.3.2
* 增加重试,减少因网络问题导致的播放失败
* 优化横幅banner
* 增加重試,減少因網絡問題導致的播放失敗
* 優化橫幅banner
### v1.3.1
* 增加CCTV 8K 超高清
* 增加国际频道栏
* 增加CCTV 8K 超高清
* 增加國際頻道欄
### v1.3.0
* 处理368可能失败的情形
* 處理368可能失敗的情形
### v1.2.9
@ -254,32 +312,32 @@
### v1.2.7
* 此版本是为了测试安卓6.0以下版本,如之前可以正常运行,请勿安装
* 此版本是為了測試安卓6.0以下版本,如之前可以正常運行,請勿安裝
### v1.2.6
* 支持安卓4.2
* 解决部分频道无法播放的问题
* 修复切换时有时没有恢复播放的问题
* 左右键不再切换
* 增大频道信息标题尺寸,缩小与节目信息的间
* 解決部分頻道無法播放的問題
* 修復切換時有時沒有恢復播放的問題
* 左右鍵不再切換
* 增大頻道信息標題尺寸,縮小與節目信息的間
### v1.2.5
* 美化频道信息显
* 优化节目单获
* 美化頻道信息顯
* 優化節目單獲
### v1.2.4
* 改变换台滑动方向,上一个频道下滑,下一个频道上滑
* 软件退出时,退出播放器
* 播放相同的频道,不再重复加载
* 暂时移除部分频
* 改變換台滑動方向,上一個頻道下滑,下一個頻道上滑
* 軟件退出時,退出播放器
* 播放相同的頻道,不再重複加載
* 暫時移除部分頻
### v1.2.3
* 固定视频比列为16:9
* 隐藏全面屏底部的小横条
* 移除移动专区
* 修复一个闪退问题
* 更换图标和应用名
* 固定視頻比例為16:9
* 隱藏全面屏底部的小橫條
* 移除移動專區
* 修復一個閃退問題
* 更換圖標和應用名

@ -1,201 +0,0 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

@ -1,6 +1,6 @@
.PHONY: all
all: info
all: info gen-version
branch := $(shell git rev-parse --abbrev-ref HEAD)
commit := $(shell git rev-parse --short HEAD)
@ -9,3 +9,11 @@ info:
@echo 'SHELL='$(SHELL)
@echo 'branch='$(branch)
@echo 'commit='$(commit)
gen-version:
git describe --tags --always
git describe --tags --always | sed 's/v/ /g' | sed 's/\./ /g' | sed 's/-/ /g' | awk '{print ($$1*16777216)+($$2*65536)+($$3*256)+$$4}'
#make gen v=v2.0.0
gen:
echo $(v) | sed 's/v/ /g' | sed 's/\./ /g' | sed 's/-/ /g' | awk '{print "{\"version_code\": " ($$1*16777216)+($$2*65536)+($$3*256)+$$4 ", \"version_name\": \"" "v$(v)" "\"}"}' > version.json

@ -0,0 +1,20 @@
#!/bin/bash
in_changelog=false
while IFS= read -r line; do
if [[ "$line" == "## "* ]]; then
continue
fi
if [[ $in_changelog == false ]] && [[ "$line" == "### "* ]]; then
in_changelog=true
continue
fi
if [[ $in_changelog == true ]] && [[ "$line" == "### "* ]]; then
break
fi
echo "$line"
done < HISTORY.md

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

After

Width:  |  Height:  |  Size: 0 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 0 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 0 B

@ -0,0 +1 @@
{"version_code": 33619968, "version_name": "v2.1.0"}
Loading…
Cancel
Save