Skip to content

Commit

Permalink
AmazonPrime: Remove [dt./OV] from movie/show title (#344)
Browse files Browse the repository at this point in the history
* AmazonPrime: Remove [dt./OV] from movie/show title

* Prettier formatting
  • Loading branch information
smoothlystable authored Oct 6, 2023
1 parent 34154ac commit b82fc8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/amazon-prime/AmazonPrimeApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class _AmazonPrimeApi extends ServiceApi {
let season = 0;
if (family) {
const [seasonInfo, showInfo] = family.tvAncestors;
title = showInfo.catalog.title;
title = showInfo.catalog.title.replace(' [dt./OV]', '');
season = seasonInfo.catalog.seasonNumber;
}
const { episodeNumber: number = 0, title: episodeTitle } = catalog;
Expand All @@ -397,7 +397,7 @@ class _AmazonPrimeApi extends ServiceApi {
},
});
} else {
const { title } = catalog;
const title = catalog.title.replace(' [dt./OV]', '');
item = new MovieItem({
serviceId,
id,
Expand Down

0 comments on commit b82fc8b

Please sign in to comment.