remove dots from filenames

This commit is contained in:
mrjvs
2023-09-27 19:21:46 +02:00
parent 555827cf62
commit 2a2a3adc24
7 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# `ProviderControls.getMetadata`
Get meta data for a scraper, can be either source or embed scraper.
Returns null if id is not recognized.
## Example
```ts
const flixhqSource = providers.getMetadata('flixhq');
```
## Type
```ts
function getMetadata(id: string): MetaOutput | null;
type MetaOutput = {
type: 'embed' | 'source';
id: string;
rank: number;
name: string;
mediaTypes?: Array<MediaTypes>;
};
```