From a7493d10399c4423802736b12e0981a749bc3c7d Mon Sep 17 00:00:00 2001 From: mhmdanas <6daf084a-8eaf-40fb-86c7-8500077c3b69@anonaddy.me> Date: Thu, 24 Dec 2020 19:33:03 +0300 Subject: [PATCH 01/10] Remove .gitmodules It's empty anyway. --- .gitmodules | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index e69de29bb..000000000 From 35fc27cfb0a6032b2e5c3ee188f0ff1c4fb0ac0b Mon Sep 17 00:00:00 2001 From: TobiGr Date: Mon, 21 Dec 2020 19:58:48 +0100 Subject: [PATCH 02/10] update version --- app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 36bce9456..522c36062 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { resValue "string", "app_name", "NewPipe" minSdkVersion 19 targetSdkVersion 29 - versionCode 960 - versionName "0.20.6" + versionCode 961 + versionName "0.20.7" multiDexEnabled true From feea084c60ea2ba12f97683d46777bd35f6c0c2a Mon Sep 17 00:00:00 2001 From: XiangRongLin <41164160+XiangRongLin@users.noreply.github.com> Date: Sat, 26 Dec 2020 10:06:16 +0100 Subject: [PATCH 03/10] Replace travic ci badge with github actions one for dev branch pushes --- README.ko.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.ko.md b/README.ko.md index a86eae8d9..b5e0d2aa1 100644 --- a/README.ko.md +++ b/README.ko.md @@ -6,7 +6,7 @@

- + diff --git a/README.md b/README.md index c66bcfa7f..006085a51 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@

- + From c923d35a1fb86de972856ef8d256389222289d8e Mon Sep 17 00:00:00 2001 From: Gontzal Manuel Pujana Onaindia Date: Sat, 26 Dec 2020 13:48:48 +0000 Subject: [PATCH 04/10] Translated using Weblate (Basque) Currently translated at 28.5% (12 of 42 strings) Translation: NewPipe/Metadata Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/eu/ --- fastlane/metadata/android/eu/changelogs/961.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fastlane/metadata/android/eu/changelogs/961.txt diff --git a/fastlane/metadata/android/eu/changelogs/961.txt b/fastlane/metadata/android/eu/changelogs/961.txt new file mode 100644 index 000000000..c5a02831f --- /dev/null +++ b/fastlane/metadata/android/eu/changelogs/961.txt @@ -0,0 +1,12 @@ +• [YouTube] Mix bateragarritasuna +• [YouTube] Erakutsi emisore publikoei eta Covid-19ri buruzko informazioa +• [media.ccc.de] Azken bideoak gehitu dira +• Somaliar itzulpena gehitu da + +• Barne hobekuntza ugari + +• Erreproduzitzailetik bideoak partekatzea konpondu da +• ReCaptcha web ikuspegi hutsa konpondu da +• Zerrenda batetik jario bat kentzean gertatutako kraskadura konpondu da +• [PeerTube] Konpondu erlazionatutako jarioak +• [YouTube] YouTube Music bilaketa konpondu da From 8ba2f5f964a0f5335616dd6b859eb798d3cea45b Mon Sep 17 00:00:00 2001 From: chr56 Date: Sat, 26 Dec 2020 02:25:09 +0000 Subject: [PATCH 05/10] Translated using Weblate (Chinese (Simplified)) Currently translated at 71.4% (30 of 42 strings) Translation: NewPipe/Metadata Translate-URL: https://hosted.weblate.org/projects/newpipe/metadata/zh_Hans/ --- fastlane/metadata/android/zh_Hans/changelogs/961.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 fastlane/metadata/android/zh_Hans/changelogs/961.txt diff --git a/fastlane/metadata/android/zh_Hans/changelogs/961.txt b/fastlane/metadata/android/zh_Hans/changelogs/961.txt new file mode 100644 index 000000000..0bd58c19a --- /dev/null +++ b/fastlane/metadata/android/zh_Hans/changelogs/961.txt @@ -0,0 +1,12 @@ +- [YouTube] Mix支持 +- [YouTube]显示关于公共广播和Covid-19的信息 +- [media.cc.de] 添加了「最近的视频」。 +- 新增 索马里语翻译 + +- 大量内部改进 + +- 修正 在播放器内分享视频时出错 +- 修正 ReCaptcha网页视图一片空白 +- 修正 在列表中删除视频时崩溃 +- [PeerTube]修复 相关视频播放 +- [YouTube] 修正 YouTube音乐搜索 From 1984436b41e2b3f32265f17db4e51adc4a29963e Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 27 Dec 2020 01:29:24 +0100 Subject: [PATCH 06/10] [media.ccc.de] Add "recent" kiosk --- app/build.gradle | 2 +- app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java | 3 +++ app/src/main/res/values/strings.xml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 36bce9456..ff230d0ee 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -179,7 +179,7 @@ dependencies { // NewPipe dependencies // You can use a local version by uncommenting a few lines in settings.gradle - implementation 'com.github.TeamNewPipe:NewPipeExtractor:b2837698f55296e00aeca5cb1847755dd1174af4' + implementation 'com.github.TeamNewPipe:NewPipeExtractor:674f2227f3a1ca11cbc9101a9d6211ad7babd42a' implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751" implementation "org.jsoup:jsoup:1.13.1" diff --git a/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java b/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java index ccd4d13fc..c9b69e4d7 100644 --- a/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java +++ b/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java @@ -44,6 +44,8 @@ public final class KioskTranslator { return c.getString(R.string.most_liked); case "conferences": return c.getString(R.string.conferences); + case "recent": + return c.getString(R.string.recent); default: return kioskId; } @@ -59,6 +61,7 @@ public final class KioskTranslator { case "Local": return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_kiosk_local); case "Recently added": + case "recent": return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_kiosk_recent); case "Most liked": return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_thumb_up); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7d790dfdc..c70b56e97 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -691,4 +691,5 @@ Playlist page Show thumbnail Use thumbnail for both lock screen background and notifications + Recent \ No newline at end of file From 36aea35a92950037193ce27087b3a6310d575f70 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 27 Dec 2020 13:26:40 +0100 Subject: [PATCH 07/10] [media.ccc.de] Add live stream kiosk --- app/build.gradle | 2 +- .../newpipe/info_list/holder/StreamMiniInfoItemHolder.java | 3 ++- .../main/java/org/schabi/newpipe/util/KioskTranslator.java | 4 ++++ app/src/main/res/drawable/ic_live_tv_black_24dp.xml | 5 +++++ app/src/main/res/drawable/ic_live_tv_white_24dp.xml | 5 +++++ app/src/main/res/values/attrs.xml | 1 + app/src/main/res/values/styles.xml | 2 ++ 7 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable/ic_live_tv_black_24dp.xml create mode 100644 app/src/main/res/drawable/ic_live_tv_white_24dp.xml diff --git a/app/build.gradle b/app/build.gradle index ff230d0ee..370bb4e8f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -179,7 +179,7 @@ dependencies { // NewPipe dependencies // You can use a local version by uncommenting a few lines in settings.gradle - implementation 'com.github.TeamNewPipe:NewPipeExtractor:674f2227f3a1ca11cbc9101a9d6211ad7babd42a' + implementation 'com.github.TeamNewPipe:NewPipeExtractor:b4e191397117447364d137791ec4b1ca3672d75b' implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751" implementation "org.jsoup:jsoup:1.13.1" diff --git a/app/src/main/java/org/schabi/newpipe/info_list/holder/StreamMiniInfoItemHolder.java b/app/src/main/java/org/schabi/newpipe/info_list/holder/StreamMiniInfoItemHolder.java index c0096ed10..12eab4734 100644 --- a/app/src/main/java/org/schabi/newpipe/info_list/holder/StreamMiniInfoItemHolder.java +++ b/app/src/main/java/org/schabi/newpipe/info_list/holder/StreamMiniInfoItemHolder.java @@ -70,7 +70,8 @@ public class StreamMiniInfoItemHolder extends InfoItemHolder { } else { itemProgressView.setVisibility(View.GONE); } - } else if (item.getStreamType() == StreamType.LIVE_STREAM) { + } else if (item.getStreamType() == StreamType.LIVE_STREAM + || item.getStreamType() == StreamType.AUDIO_LIVE_STREAM) { itemDurationView.setText(R.string.duration_live); itemDurationView.setBackgroundColor(ContextCompat.getColor(itemBuilder.getContext(), R.color.live_duration_background_color)); diff --git a/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java b/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java index c9b69e4d7..d2daaf6cc 100644 --- a/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java +++ b/app/src/main/java/org/schabi/newpipe/util/KioskTranslator.java @@ -46,6 +46,8 @@ public final class KioskTranslator { return c.getString(R.string.conferences); case "recent": return c.getString(R.string.recent); + case "live": + return c.getString(R.string.duration_live); default: return kioskId; } @@ -65,6 +67,8 @@ public final class KioskTranslator { return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_kiosk_recent); case "Most liked": return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_thumb_up); + case "live": + return ThemeHelper.resolveResourceIdFromAttr(c, R.attr.ic_live_tv); default: return 0; } diff --git a/app/src/main/res/drawable/ic_live_tv_black_24dp.xml b/app/src/main/res/drawable/ic_live_tv_black_24dp.xml new file mode 100644 index 000000000..1f7957c4a --- /dev/null +++ b/app/src/main/res/drawable/ic_live_tv_black_24dp.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/drawable/ic_live_tv_white_24dp.xml b/app/src/main/res/drawable/ic_live_tv_white_24dp.xml new file mode 100644 index 000000000..303858f9d --- /dev/null +++ b/app/src/main/res/drawable/ic_live_tv_white_24dp.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml index ab415508f..42fc7660e 100644 --- a/app/src/main/res/values/attrs.xml +++ b/app/src/main/res/values/attrs.xml @@ -82,6 +82,7 @@ + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 5c402b751..d7e7ab1dc 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -48,6 +48,7 @@ @drawable/ic_home_black_24dp @drawable/ic_add_circle_outline_black_24dp @drawable/ic_tv_black_24dp + @drawable/ic_live_tv_black_24dp @drawable/ic_bookmark_black_24dp @drawable/ic_playlist_add_black_24dp @drawable/ic_playlist_add_check_black_24dp @@ -156,6 +157,7 @@ @drawable/ic_home_white_24dp @drawable/ic_add_circle_outline_white_24dp @drawable/ic_tv_white_24dp + @drawable/ic_live_tv_white_24dp @drawable/ic_bookmark_white_24dp @drawable/ic_playlist_add_white_24dp @drawable/ic_playlist_add_check_white_24dp From 8343d9cc18337c8cc69e350d6d8e4ab4d6183946 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 27 Dec 2020 14:55:57 +0100 Subject: [PATCH 08/10] Release 0.20.8 (962) --- app/build.gradle | 4 ++-- fastlane/metadata/android/en-US/changelogs/962.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 fastlane/metadata/android/en-US/changelogs/962.txt diff --git a/app/build.gradle b/app/build.gradle index 5d1dce46e..f4ca64661 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { resValue "string", "app_name", "NewPipe" minSdkVersion 19 targetSdkVersion 29 - versionCode 961 - versionName "0.20.7" + versionCode 962 + versionName "0.20.8" multiDexEnabled true diff --git a/fastlane/metadata/android/en-US/changelogs/962.txt b/fastlane/metadata/android/en-US/changelogs/962.txt new file mode 100644 index 000000000..3e43bc70d --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/962.txt @@ -0,0 +1,2 @@ +Added "recent" videos to media.ccc.de service. +Added live streams to media.ccc.de service. \ No newline at end of file From 0483d3ff3241b4ef26c5bef5a9bac352c66aa038 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 27 Dec 2020 15:06:03 +0100 Subject: [PATCH 09/10] add live stream support to changelog --- fastlane/metadata/android/en-US/changelogs/962.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/metadata/android/en-US/changelogs/962.txt b/fastlane/metadata/android/en-US/changelogs/962.txt index 3e43bc70d..9551cda23 100644 --- a/fastlane/metadata/android/en-US/changelogs/962.txt +++ b/fastlane/metadata/android/en-US/changelogs/962.txt @@ -1,2 +1,2 @@ Added "recent" videos to media.ccc.de service. -Added live streams to media.ccc.de service. \ No newline at end of file +Added live streams to media.ccc.de service and also live stream support. \ No newline at end of file From 7153506ddbe5b5c4ad3acf2ae281927ad73b44d7 Mon Sep 17 00:00:00 2001 From: TobiGr Date: Sun, 27 Dec 2020 17:09:09 +0100 Subject: [PATCH 10/10] Update extractor --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index f4ca64661..2b7b9cdb0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -179,7 +179,7 @@ dependencies { // NewPipe dependencies // You can use a local version by uncommenting a few lines in settings.gradle - implementation 'com.github.TeamNewPipe:NewPipeExtractor:b4e191397117447364d137791ec4b1ca3672d75b' + implementation 'com.github.TeamNewPipe:NewPipeExtractor:deb9af7bf53b3f8fd9d32322adae02df78d985ea' implementation "com.github.TeamNewPipe:nanojson:1d9e1aea9049fc9f85e68b43ba39fe7be1c1f751" implementation "org.jsoup:jsoup:1.13.1"