From c94adb42b1c5c709aa85c121801576e8f48ce80a Mon Sep 17 00:00:00 2001 From: Stefan Schueller Date: Fri, 29 Jan 2021 21:22:00 +0100 Subject: [PATCH] fix: incorrect model preventing video playback --- CHANGELOG.md | 3 ++ .../schueller/peertube/model/Redundancy.java | 30 +++++++++++++++++++ .../peertube/model/StreamingPlaylist.java | 6 ++-- .../android/en-US/changelogs/1055.txt | 1 + 4 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 app/src/main/java/net/schueller/peertube/model/Redundancy.java create mode 100644 fastlane/metadata/android/en-US/changelogs/1055.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 977a68e..8d109f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### Version 1.0.55 Tag: v1.0.55 (2021-01-29) + - Fixed incorrect model preventing video playback + ### Version 1.0.54 Tag: v1.0.54 (2021-01-24) - Added HLS playback support diff --git a/app/src/main/java/net/schueller/peertube/model/Redundancy.java b/app/src/main/java/net/schueller/peertube/model/Redundancy.java new file mode 100644 index 0000000..e2a6abb --- /dev/null +++ b/app/src/main/java/net/schueller/peertube/model/Redundancy.java @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2020 Stefan Schüller + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +package net.schueller.peertube.model; + +public class Redundancy { + + private String baseUrl; + + public String getBaseUrl() { + return baseUrl; + } + + public void setBaseUrl(final String baseUrl) { + this.baseUrl = baseUrl; + } +} diff --git a/app/src/main/java/net/schueller/peertube/model/StreamingPlaylist.java b/app/src/main/java/net/schueller/peertube/model/StreamingPlaylist.java index eb43120..5767994 100644 --- a/app/src/main/java/net/schueller/peertube/model/StreamingPlaylist.java +++ b/app/src/main/java/net/schueller/peertube/model/StreamingPlaylist.java @@ -24,7 +24,7 @@ public class StreamingPlaylist { private Integer type; private String playlistUrl; private String segmentsSha256Url; - private ArrayList redundancies; + private ArrayList redundancies; private ArrayList files; public Integer getId() { @@ -59,11 +59,11 @@ public class StreamingPlaylist { this.segmentsSha256Url = segmentsSha256Url; } - public ArrayList getRedundancies() { + public ArrayList getRedundancies() { return redundancies; } - public void setRedundancies(final ArrayList redundancies) { + public void setRedundancies(final ArrayList redundancies) { this.redundancies = redundancies; } diff --git a/fastlane/metadata/android/en-US/changelogs/1055.txt b/fastlane/metadata/android/en-US/changelogs/1055.txt new file mode 100644 index 0000000..06cf810 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/1055.txt @@ -0,0 +1 @@ + - Fixed incorrect model preventing video playback \ No newline at end of file