Skip to content

Commit

Permalink
Merge pull request #50 from SRGSSR/develop
Browse files Browse the repository at this point in the history
Switch RTS recommendation to playfff reco engine
  • Loading branch information
pyby authored Jan 12, 2021
2 parents 6497db8 + 6de0099 commit 70abe0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>ch.srgssr</groupId>
<artifactId>playfff</artifactId>
<version>27</version>
<version>28</version>
<packaging>jar</packaging>

<name>pfff</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 70abe0a

Please sign in to comment.