File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export class MALAPIManga extends APIModel {
1212 super ( ) ;
1313
1414 this . plugin = plugin ;
15- this . apiName = 'MALAPIManga ' ;
15+ this . apiName = 'MALAPI Manga ' ;
1616 this . apiDescription = 'A free API for Manga. Some results may take a long time to load.' ;
1717 this . apiUrl = 'https://jikan.moe/' ;
1818 this . types = [ MediaType . ComicManga ] ;
@@ -126,4 +126,7 @@ export class MALAPIManga extends APIModel {
126126 } ,
127127 } ) ;
128128 }
129+ getDisabledMediaTypes ( ) : MediaType [ ] {
130+ return this . plugin . settings . MALAPIManga_disabledMediaTypes as MediaType [ ] ;
131+ }
129132}
Original file line number Diff line number Diff line change @@ -66,10 +66,6 @@ export class PropertyMapper {
6666 obj . type = 'comicManga' ;
6767 console . debug ( `MDB | updated metadata type` , obj . type ) ;
6868 }
69- if ( obj . dataSource === 'MALAPI Manga' ) {
70- obj . dataSource = 'MALAPIManga' ;
71- console . debug ( `MDB | updated metadata dataSource` , obj . type ) ;
72- }
7369 if ( MEDIA_TYPES . contains ( obj . type as any ) ) {
7470 return obj ;
7571 }
You can’t perform that action at this time.
0 commit comments