Skip to content

Commit 15b3a23

Browse files
Merge remote-tracking branch 'upstream/master-v0.23.5' into release
2 parents 5156212 + 248f632 commit 15b3a23

File tree

6 files changed

+11
-57
lines changed

6 files changed

+11
-57
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -213,27 +213,6 @@ jobs:
213213
name: freetube-${{ steps.versionNumber.outputs.result }}.arm64.rpm
214214
path: build/freetube-${{ steps.versionNumber.outputs.result }}.aarch64.rpm
215215

216-
- name: Upload Alpine .apk x64 Artifact
217-
uses: actions/upload-artifact@v4
218-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
219-
with:
220-
name: freetube-${{ steps.versionNumber.outputs.result }}-alpine-amd64.apk
221-
path: build/freetube-${{ steps.versionNumber.outputs.result }}.apk
222-
223-
- name: Upload Alpine .apk ARMv7l Artifact
224-
uses: actions/upload-artifact@v4
225-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
226-
with:
227-
name: freetube-${{ steps.versionNumber.outputs.result }}-alpine-armv7l.apk
228-
path: build/freetube-${{ steps.versionNumber.outputs.result }}-armv7l.apk
229-
230-
- name: Upload Alpine .apk ARM64 Artifact
231-
uses: actions/upload-artifact@v4
232-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
233-
with:
234-
name: freetube-${{ steps.versionNumber.outputs.result }}-alpine-arm64.apk
235-
path: build/freetube-${{ steps.versionNumber.outputs.result }}-arm64.apk
236-
237216
- name: Upload Pacman .pacman x64 Artifact
238217
uses: actions/upload-artifact@v4
239218
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')

.github/workflows/release.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -249,39 +249,6 @@ jobs:
249249
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}.aarch64.rpm
250250
asset_content_type: application/x-rpm
251251

252-
- name: Upload Alpine .apk x64 Release
253-
uses: actions/upload-release-asset@v1
254-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')
255-
env:
256-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
257-
with:
258-
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
259-
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-alpine-amd64.apk
260-
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}.apk
261-
asset_content_type: application/octet-stream
262-
263-
- name: Upload Alpine .apk ARMv7l Release
264-
uses: actions/upload-release-asset@v1
265-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-armv7l')
266-
env:
267-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
268-
with:
269-
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
270-
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-alpine-armv7l.apk
271-
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}-armv7l.apk
272-
asset_content_type: application/octet-stream
273-
274-
- name: Upload Alpine .apk ARM64 Release
275-
uses: actions/upload-release-asset@v1
276-
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-arm64')
277-
env:
278-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
279-
with:
280-
upload_url: https://uploads.github.com/repos/FreeTubeApp/FreeTube/releases/${{ inputs.releaseId }}/assets{?name,label}
281-
asset_name: freetube-${{ steps.getPackageInfo.outputs.version }}-alpine-arm64.apk
282-
asset_path: build/freetube-${{ steps.getPackageInfo.outputs.version }}-arm64.apk
283-
asset_content_type: application/octet-stream
284-
285252
- name: Upload Pacman .pacman x64 Release
286253
uses: actions/upload-release-asset@v1
287254
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.runtime, 'linux-x64')

_scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (platform === 'darwin') {
3636
arch = Arch.armv7l
3737
}
3838

39-
targets = Platform.LINUX.createTarget(['deb', 'zip', '7z', 'apk', 'rpm', 'AppImage', 'pacman'], arch)
39+
targets = Platform.LINUX.createTarget(['deb', 'zip', '7z', 'rpm', 'AppImage', 'pacman'], arch)
4040
}
4141

4242
builder

_scripts/ebuilder.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const config = {
4646
linux: {
4747
category: 'Network',
4848
icon: '_icons/icon.svg',
49-
target: ['deb', 'zip', '7z', 'apk', 'rpm', 'AppImage', 'pacman'],
49+
target: ['deb', 'zip', '7z', 'rpm', 'AppImage', 'pacman'],
5050
},
5151
// See the following issues for more information
5252
// https://github.com/jordansissel/fpm/issues/1503

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "freetube",
33
"productName": "FreeTube",
44
"description": "A private YouTube client",
5-
"version": "0.23.4",
5+
"version": "0.23.5",
66
"license": "AGPL-3.0-or-later",
77
"main": "./dist/main.js",
88
"private": true,

src/renderer/helpers/api/local.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,14 @@ export async function getLocalVideoInfo(id) {
235235

236236
const info = await webInnertube.getInfo(id)
237237

238+
// temporary workaround for SABR-only responses
239+
const mwebInfo = await webInnertube.getBasicInfo(id, 'MWEB')
240+
241+
if (mwebInfo.playability_status.status === 'OK' && mwebInfo.streaming_data) {
242+
info.playability_status = mwebInfo.playability_status
243+
info.streaming_data = mwebInfo.streaming_data
244+
}
245+
238246
let hasTrailer = info.has_trailer
239247
let trailerIsAgeRestricted = info.getTrailerInfo() === null
240248

0 commit comments

Comments
 (0)