Browse Source

update readme + cleanup

Co-authored-by: James Hawkins <jhawki2005@gmail.com>
pull/60/head
Jelle van Snik 4 years ago
parent
commit
d8dfbe4ee0
  1. 7
      README.md
  2. 3
      src/providers/list/temp/index.ts
  3. 8
      src/providers/wrapper.ts

7
README.md

@ -39,13 +39,16 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss @@ -39,13 +39,16 @@ Check out [this project's issues](https://github.com/JamesHawkinss/movie-web/iss
- [x] Add results list end
- [ ] Add Brand tag top left
- [ ] Add github and discord top right
- [ ] Link Github and Discord in error boundary
- [x] Store watched percentage
- [ ] Implement movie + series view
- [ ] Add provider stream method
- [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
- [ ] Link Github and Discord in error boundary
- [ ] Subtitles
- [ ] Migrate old video progress
- [ ] Implement more scrapers
## Todo's overall

3
src/providers/list/temp/index.ts

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

8
src/providers/wrapper.ts

@ -1,4 +1,10 @@ @@ -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 {
getMediaFromPortable(media: MWPortableMedia): Promise<MWMedia>;

Loading…
Cancel
Save