From 7e8c828007be5a72ebe734df8c2dddde0fec6861 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Thu, 28 Dec 2023 18:17:42 -0500 Subject: [PATCH] Remove legacy stuff --- CHANGELOG.md | 4 ++++ playlet-lib/src/components/ChannelView/ChannelView.bs | 3 --- playlet-lib/src/config/invidious_video_api.yaml | 9 --------- playlet-web/src/lib/Api/PlayletApi.ts | 4 ---- 4 files changed, 4 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36486949..97b40c5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Nothing worth mentioning yet. + ## [0.18.0] - 2023-12-28 ### Added diff --git a/playlet-lib/src/components/ChannelView/ChannelView.bs b/playlet-lib/src/components/ChannelView/ChannelView.bs index 3221b3bf..6c090bf2 100644 --- a/playlet-lib/src/components/ChannelView/ChannelView.bs +++ b/playlet-lib/src/components/ChannelView/ChannelView.bs @@ -185,9 +185,6 @@ function InitializeTabs() playlists: function(authorId as string, author as string) as object return CreateChannelFeed("Playlists", "channel_playlists", authorId, author) end function - channels: function(authorId as string, author as string) as object - return CreateChannelFeed("Channels", "channel_channels", authorId, author) - end function } end function diff --git a/playlet-lib/src/config/invidious_video_api.yaml b/playlet-lib/src/config/invidious_video_api.yaml index b982b177..264982fa 100644 --- a/playlet-lib/src/config/invidious_video_api.yaml +++ b/playlet-lib/src/config/invidious_video_api.yaml @@ -194,15 +194,6 @@ channel_podcasts: paginationType: Continuation tryCount: 3 -# TODO:P1 related channels are no longer working -# https://github.com/iv-org/invidious/issues/4275 -channel_channels: - title: Related channels - url: /api/v1/channels/{ucid}/channels - responseHandler: ChannelRelatedChannelsHandler - paginationType: Continuation - tryCount: 3 - watch_history: title: Watch history url: /api/v1/auth/history diff --git a/playlet-web/src/lib/Api/PlayletApi.ts b/playlet-web/src/lib/Api/PlayletApi.ts index 2686b9c6..eaa08757 100644 --- a/playlet-web/src/lib/Api/PlayletApi.ts +++ b/playlet-web/src/lib/Api/PlayletApi.ts @@ -119,10 +119,6 @@ export class PlayletApi { return await response.json(); } - static async updateInstance(instance) { - return await PlayletApi.putJson(`${PlayletApi.host()}/api/preferences`, { "invidious.instance": instance }); - } - static async setPlayletLibVersion(tag) { if (tag !== "") { const urls = [{