diff --git a/CHANGELOG.md b/CHANGELOG.md index 1945f007..f8cd2dc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Bookmarks: different items can now be bookmarked, and be found in the `Bookmarks` screen. + Things that can be bookmarked: + - A video + - A channel + - A playlist + - Subscriptions + - Trending + - Popular + - Playlists + - Search results + - Channel tabs (latest videos, live streams, playlists, shorts, podcasts, related channels) +- Context menu: press and hold `OK` to show a context menu to: + - Play/queue a video or a playlist + - Open the channel of a playlist or of a video + - Manage bookmarks - Local DASH manifest generation - This adds support for multi languages audio tracks - Also adds thumbnails/preview in trick play mode @@ -17,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Layout in channel view so that the upload time and view count of videos is visible +- A few things in the logger ### Changed diff --git a/docs/README.md b/docs/README.md index 6a3cf257..becc3286 100644 --- a/docs/README.md +++ b/docs/README.md @@ -210,13 +210,13 @@ Additionally, the web server exposes the settings under `/api/preferences`, whic When Playlet starts, it shows a video feed on the screen. Subscription, Trending videos, and so on. -The layout is defined under [playlet-lib/src/config/default_home_layout.json5](/playlet-lib/src/config/default_home_layout.json5). +The layout is defined under [playlet-lib/src/config/default_home_layout.yaml](/playlet-lib/src/config/default_home_layout.yaml). This could allow users to define custom layouts, so they can see what they find relevant in the home page. This can include Subscription, Trending, Popular videos, Search per keywords, or Playlists. Additionally each feed has information on how it is fetched. For now, only Invidious can be data source, but other systems should be configured in the same way. -Invidious API definitions are defined under [playlet-lib/src/config/invidious_video_api.json5](/playlet-lib/src/config/invidious_video_api.json5), and Playlet parses these at runtime and make the right API calls to fetch the data. +Invidious API definitions are defined under [playlet-lib/src/config/invidious_video_api.yaml](/playlet-lib/src/config/invidious_video_api.yaml), and Playlet parses these at runtime and make the right API calls to fetch the data. Finally, this layout system is what allows both the BrightScript app and the Web app to display the same homepage. diff --git a/docs/models.md b/docs/models.md new file mode 100644 index 00000000..cedb6b2c --- /dev/null +++ b/docs/models.md @@ -0,0 +1,48 @@ + + +# Models + +ApiEndpoint: + +- id +- url +- queryParams +- pathParams +- cacheSeconds +- paginationType +- authenticated +- responseHandler + +FeedSource: + +- id +- title +- apiType: string ("Invidious") +- endpoint: ApiEndpoint +- pathParams +- queryParams +- state: + - paginationtype (Runtime field) + - page (Runtime field) + - continuation (Runtime field) + - queryParams.page (Runtime field) + - queryParams.continuation (Runtime field) + +Feed/FeedContentNode: + +- Title +- feedSources: FeedSource[] +- feedSourceIndex (Runtime field) + +RowListLayout + +- Feed[] + +Bookmarks + +- BookmarkGroup[] + +BookmarkGroup + +- title +- feedSources: FeedSource[] diff --git a/playlet-app/src/components/BootstrapScene/BootstrapScene.xml b/playlet-app/src/components/BootstrapScene/BootstrapScene.xml index b062dfeb..04a32c73 100644 --- a/playlet-app/src/components/BootstrapScene/BootstrapScene.xml +++ b/playlet-app/src/components/BootstrapScene/BootstrapScene.xml @@ -4,7 +4,7 @@ - +
- {#each $homeLayoutFileStore as homeLayoutItem} - + {#each $homeLayoutFileStore as feed} + {/each}