Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preferences / Web App #79

Merged
merged 44 commits into from
Jun 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
dbe350a
Add basic router
iBicha May 19, 2023
5d77d04
Add a preferences file
iBicha May 24, 2023
2cc4f88
small changes
iBicha May 24, 2023
8a8043b
Basic settings navigation menu
iBicha Jun 4, 2023
6b86c46
Lint fix
Jun 10, 2023
bbd3925
Add bunch of controls
iBicha Jun 10, 2023
1fbc15e
Merge commit '6b86c46c722f72909bfeb6894e167410ef1d531c' into feature/…
iBicha Jun 10, 2023
a50bee5
Lint fix
Jun 10, 2023
86e7025
StringControl
iBicha Jun 10, 2023
c297e97
Lint fix
Jun 10, 2023
91d7850
Add description to keyboard
iBicha Jun 10, 2023
7daa5ba
Settings saving and loading
iBicha Jun 11, 2023
b1c701e
Lint fix
Jun 11, 2023
241e93e
Settings migration stuff
iBicha Jun 11, 2023
d6b62dd
GET web api
iBicha Jun 11, 2023
7b435a8
Lint fix
Jun 11, 2023
f3a4a16
PUT and DELETE (I really fucking hate BrightScript)
iBicha Jun 11, 2023
2a54a6a
plug in sponsorblock settings
iBicha Jun 16, 2023
e36c2a8
autoplay, quality, and video proxying
iBicha Jun 16, 2023
303a572
Remove unused stuff
iBicha Jun 16, 2023
475d832
Lint fix
Jun 16, 2023
4c0aa41
Invidious instance stuff
iBicha Jun 17, 2023
bcdd7cf
cache public instances on start
iBicha Jun 17, 2023
68757ef
Start loading home screen after fetching instances
iBicha Jun 17, 2023
bb124e6
Move web app out of settings to its own screen
iBicha Jun 19, 2023
17b0e21
picture in picture when in settings
iBicha Jun 23, 2023
be60b68
Web app (#80)
iBicha Jun 23, 2023
0e744ff
Lint fix
Jun 23, 2023
ad995db
Dependencies bump
iBicha Jun 23, 2023
cd35d0e
Add video duration and LIVE indicator to cell
iBicha Jun 23, 2023
c068ee3
Delete legacy stuff
iBicha Jun 23, 2023
0ad3cdd
Add dev menu
iBicha Jun 23, 2023
d10e483
Lint fix
Jun 23, 2023
706cfa1
Video cell layout
iBicha Jun 23, 2023
811def7
Cell stuff
iBicha Jun 23, 2023
9a4af38
prefs visibility
iBicha Jun 24, 2023
33f9d6a
Modal layout
iBicha Jun 24, 2023
b85bd08
Drag and drop functionality
iBicha Jun 24, 2023
24665bd
Clear search history
iBicha Jun 24, 2023
6965729
Move web calls to main app
iBicha Jun 24, 2023
e96b796
changelog
iBicha Jun 24, 2023
783bac4
changelog
iBicha Jun 24, 2023
b1eea02
Mostly comments
iBicha Jun 24, 2023
b75f6d5
Lint fix
Jun 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"recommendations": [
"RokuCommunity.brightscript"
"RokuCommunity.brightscript",
"svelte.svelte-vscode",
]
}
54 changes: 53 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,81 @@
# Changelog

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

### Added

- New web app, mirroring Playlet app
- Includes home page, search, settings and info
- Dark mode
- Also includes a dev menu
- Hidden by default, use `dev=1` in the browser to show it
- Improved drag and drop functionality (drag and drop a link from Youtube into the web app)
- New settings page, available on TV and web app
- New preferences system
- Unified settings between TV and web app
- Web API allowing to import/export preferences (no UI for that yet)

### Changed

- SponsorBlock segments are not skipped by default, except for sponsor segments
- Web app QR Code is now in its own page

### Removed

- The ability to set multiple Invidious instances. This was anticipated to use as fallback in case of failure, but it was never implemented. This is now removed to avoid confusion
- Sometimes it is necesary to check multiple instances for closed captions in case one instance is saturated. For this case, publicly hosted Invidious instances will be used.
- Of course, if no instance if provided, and public instance will be used by default. This behaviour did not change. It is now implicit.

## [0.9.0] - 2023-04-21

### Added

- Add watched videos to Invidious watch history
- App info screen
- A dev menu selector to test newer or older versions of playlet lib
- Makes it possible to test unstable releases before they officially release

### Fixed

- A crash where the metadata of a video is not validated [#57](https://github.com/iBicha/playlet/issues/57)
- A crash where the video details in home screen are null [#56](https://github.com/iBicha/playlet/issues/56)
- A crash where the video details are not returned in json [#63](https://github.com/iBicha/playlet/issues/63)
- Revert to using DASH instead of 720p by default
- A crash where request cache fails [#62](https://github.com/iBicha/playlet/issues/62)

## [0.8.0] - 2023-03-02

### Added

- SponsorBlock notification
- Invidious username to web app v1

### Fixed

- Crash in case GetLocalIpAddress() returns invalid
- Use Format Stream (720p) instead of DASH (https://github.com/iv-org/invidious/issues/3666)
- Use Format Stream (720p) instead of DASH (<https://github.com/iv-org/invidious/issues/3666>)

## [0.7.0] - 2023-02-04

### Added

- A script to sync between Youtube profile and and Invidious profile
- Moved most of Playlet logic to Playlet Lib
- Support for multiple caption languages

#### Fixed

- Issue where auto-play keeps playing the same videos in a loop

## [0.6.0] - 2023-01-10

### Added

- Ability to clear search history from web app
- WebSocket server for realtime events
- SponsorBlock tracking
Expand All @@ -50,22 +84,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Caching for video details

### Changed

- The License has changed from MIT to AGPL
- Now videos play the next related/recommended video once finished
- This does not take into account the videos in playlists

### Fixed

- Bug where app freezes if metadata fails to fetch
- Bug where SponsorBlock returning videoDuration of zero causes the app to hang
- Bug where app would lose focus when casting from web app
- Bug where DASH stream is not compatible. Play format stream as a fallback
- Showing upcoming videos correctly

### Removed

- Dependency on [roku-promise](https://github.com/rokucommunity/roku-promise)

## [0.5.0] - 2022-12-02

### Added

- Version check in settings page
- Support for web request body parsing
- Error dialog for video load fail
Expand All @@ -77,6 +116,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Error and Exit dialogs

### Fixed

- Bug where playing and exiting a video too quickly would cause the video to play in the background.
- Bug where logging in causes issues if a video is already playing
- Bug where casting from web app while playing a video from the search
Expand All @@ -85,7 +125,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Race condition where button group gains focus before suggestions are set in Search Page

## [0.4.0] - 2022-11-24

### Added

- Play video API
- Play video by ID/URL in web app
- Metadata to Video Player
Expand All @@ -95,21 +137,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Very basic UI to customize/change invidious instance

### Fixed

- Bug where Settings page and home page are both visible, if settings page is selected, and user logs in.

## [0.3.0] - 2022-11-19

### Changed

- App name! new name: **Playlet**

### Added

- Nav bar / menu
- Web server now always on
- Settings page with QR Code
- API Refactor
- New UI

## [0.2.0] - 2022-11-06

### Added

- QrCode component to take user to invidious token page
- Web server allowing the recption of the token through call back
- The web server can also be used to serve a web app, facilitating the
Expand All @@ -121,7 +169,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added basic instructions

## [0.1.0] - 2022-10-30

### Added

- Initial version
- Reads feeds from popular and trending videos using Invidious APIs
- Skips sections using SponsorBlock

<!-- markdownlint-configure-file {"MD024": { "siblings_only": true } } -->
Loading