diff --git a/pom.xml b/pom.xml index eee52ff..d0c665b 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ ch.srgssr playfff - 27 + 28 jar pfff diff --git a/src/main/java/ch/srgssr/playfff/service/RecommendationService.java b/src/main/java/ch/srgssr/playfff/service/RecommendationService.java index e20f39e..1b23e6a 100644 --- a/src/main/java/ch/srgssr/playfff/service/RecommendationService.java +++ b/src/main/java/ch/srgssr/playfff/service/RecommendationService.java @@ -37,15 +37,9 @@ public RecommendedList getRecommendedUrns(String purpose, String urnString, bool IlUrn urn = new IlUrn(urnString); if (purpose.equals("relatedContent")) { switch (urn.getMam()) { - case RTS: - if (urn.getMediaType() == MediaType.VIDEO) { - return rtsVideoRecommendedList(purpose, urnString, standalone); - } else if (urn.getMediaType() == MediaType.AUDIO) { - return pfffRecommendedList(urnString, MediaType.AUDIO, standalone); - } - break; case SRF: return srfRecommendedList(purpose, urnString, standalone); + case RTS: case RSI: case RTR: case SWI: