update readme + cleanup

Co-authored-by: James Hawkins <jhawki2005@gmail.com>
This commit is contained in:
Jelle van Snik 2022-02-20 15:50:24 +01:00
parent 32b36e047d
commit d8dfbe4ee0
3 changed files with 13 additions and 5 deletions

View File

@ -39,13 +39,16 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss
- [x] Add results list end - [x] Add results list end
- [ ] Add Brand tag top left - [ ] Add Brand tag top left
- [ ] Add github and discord top right - [ ] Add github and discord top right
- [ ] Link Github and Discord in error boundary
- [x] Store watched percentage - [x] Store watched percentage
- [ ] Implement movie + series view - [ ] Implement movie + series view
- [ ] Add provider stream method - [ ] Add provider stream method
- [x] Better looking error boundary - [x] Better looking error boundary
- [ ] sort search results so they aren't sorted by provider - [x] sort search results so they aren't sorted by provider
- [ ] Get rid of react warnings - [ ] Get rid of react warnings
- [ ] Link Github and Discord in error boundary - [ ] Subtitles
- [ ] Migrate old video progress
- [ ] Implement more scrapers
## Todo's overall ## Todo's overall

View File

@ -24,8 +24,7 @@ export const tempScraper: MWMediaProvider = {
}, },
async searchForMedia(query: MWQuery): Promise<MWProviderMediaResult[]> { async searchForMedia(query: MWQuery): Promise<MWProviderMediaResult[]> {
return [ return [];
];
}, },
async getStream(media: MWPortableMedia): Promise<MWMediaStream> { async getStream(media: MWPortableMedia): Promise<MWMediaStream> {

View File

@ -1,4 +1,10 @@
import { MWMedia, MWMediaProvider, MWMediaStream, MWPortableMedia, MWQuery } from "./types"; import {
MWMedia,
MWMediaProvider,
MWMediaStream,
MWPortableMedia,
MWQuery,
} from "./types";
export interface MWWrappedMediaProvider extends MWMediaProvider { export interface MWWrappedMediaProvider extends MWMediaProvider {
getMediaFromPortable(media: MWPortableMedia): Promise<MWMedia>; getMediaFromPortable(media: MWPortableMedia): Promise<MWMedia>;