@ -196,7 +196,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch person details: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch person details: ${ e . message } ` ) ;
}
} ;
@ -218,7 +218,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error (
` [TMD b ] Failed to fetch person combined credits: ${ e . message } `
` [TMD B ] Failed to fetch person combined credits: ${ e . message } `
) ;
}
} ;
@ -245,7 +245,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch movie details: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch movie details: ${ e . message } ` ) ;
}
} ;
@ -271,7 +271,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch TV show details: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch TV show details: ${ e . message } ` ) ;
}
} ;
@ -297,7 +297,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch TV show details: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch TV show details: ${ e . message } ` ) ;
}
} ;
@ -323,7 +323,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch discover movies: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch discover movies: ${ e . message } ` ) ;
}
}
@ -349,7 +349,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch discover movies: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch discover movies: ${ e . message } ` ) ;
}
}
@ -375,7 +375,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch movies by keyword: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch movies by keyword: ${ e . message } ` ) ;
}
}
@ -402,7 +402,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error (
` [TMD b ] Failed to fetch TV recommendations: ${ e . message } `
` [TMD B ] Failed to fetch TV recommendations: ${ e . message } `
) ;
}
}
@ -426,7 +426,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch TV similar: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch TV similar: ${ e . message } ` ) ;
}
}
@ -459,7 +459,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch discover movies: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch discover movies: ${ e . message } ` ) ;
}
} ;
@ -492,7 +492,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch discover TV: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch discover TV: ${ e . message } ` ) ;
}
} ;
@ -518,7 +518,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch upcoming movies: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch upcoming movies: ${ e . message } ` ) ;
}
} ;
@ -545,7 +545,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch all trending: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch all trending: ${ e . message } ` ) ;
}
} ;
@ -568,7 +568,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch all trending: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch all trending: ${ e . message } ` ) ;
}
} ;
@ -591,7 +591,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch all trending: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch all trending: ${ e . message } ` ) ;
}
} ;
@ -623,7 +623,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to find by external ID: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to find by external ID: ${ e . message } ` ) ;
}
}
@ -661,7 +661,7 @@ class TheMovieDb extends ExternalAPI {
throw new Error ( ` No movie or show returned from API for ID ${ imdbId } ` ) ;
} catch ( e ) {
throw new Error (
` [TMD b ] Failed to find media using external IMDb ID: ${ e . message } `
` [TMD B ] Failed to find media using external IMDb ID: ${ e . message } `
) ;
}
}
@ -691,7 +691,7 @@ class TheMovieDb extends ExternalAPI {
throw new Error ( ` No show returned from API for ID ${ tvdbId } ` ) ;
} catch ( e ) {
throw new Error (
` [TMD b ] Failed to get TV show using the external TVDB ID: ${ e . message } `
` [TMD B ] Failed to get TV show using the external TVDB ID: ${ e . message } `
) ;
}
}
@ -715,7 +715,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch collection: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch collection: ${ e . message } ` ) ;
}
}
@ -731,7 +731,7 @@ class TheMovieDb extends ExternalAPI {
return regions ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch countries: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch countries: ${ e . message } ` ) ;
}
}
@ -747,7 +747,7 @@ class TheMovieDb extends ExternalAPI {
return languages ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch langauges: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch langauges: ${ e . message } ` ) ;
}
}
@ -759,7 +759,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch movie studio: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch movie studio: ${ e . message } ` ) ;
}
}
@ -769,7 +769,7 @@ class TheMovieDb extends ExternalAPI {
return data ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch TV network: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch TV network: ${ e . message } ` ) ;
}
}
@ -820,7 +820,7 @@ class TheMovieDb extends ExternalAPI {
return movieGenres ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch movie genres: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch movie genres: ${ e . message } ` ) ;
}
}
@ -871,7 +871,7 @@ class TheMovieDb extends ExternalAPI {
return tvGenres ;
} catch ( e ) {
throw new Error ( ` [TMD b ] Failed to fetch TV genres: ${ e . message } ` ) ;
throw new Error ( ` [TMD B ] Failed to fetch TV genres: ${ e . message } ` ) ;
}
}
}