Skip to content

Commit

Permalink
fix check for empty property, add srf, typo funk
Browse files Browse the repository at this point in the history
  • Loading branch information
codingPF committed Nov 10, 2023
1 parent 06f95c0 commit 780dd59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/mserver.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- banned film list (titles) -->
<system-bannedFilmList>file:bannedFilmList.txt</system-bannedFilmList>

<system-crawler-list>ARD,ZDF,ARTE,DW,KIKA,FRUNK,3SAT,SR,SRFPOD,ORF,PHONIX</system-crawler-list>
<system-crawler-list>ARD,ZDF,ARTE,DW,KIKA,FUNK,3SAT,SR,SRF,SRFPOD,ORF,PHONIX</system-crawler-list>

<system-proxy-url></system-proxy-url>
<system-proxy-port></system-proxy-port>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/mServer/crawler/FilmeSuchen.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public FilmeSuchen() {
// sofort gestartet oder erst später
//Reader laden Spaltenweises Laden
List<String> crawlerList = Arrays.asList(MserverDaten.system[MserverKonstanten.SYSTEM_CRAWLER_LIST_NR].split(","));
if (crawlerList.isEmpty()) {
crawlerList = new ArrayList<>(Arrays.asList("ARD","ZDF","ARTE","DW","KIKA","FRUNK","3SAT","SR","SRFPOD","ORF","PHONIX"));
if (MserverDaten.system[MserverKonstanten.SYSTEM_CRAWLER_LIST_NR].isEmpty()) {
crawlerList = new ArrayList<>(Arrays.asList("ARD","ZDF","ARTE","DW","KIKA","FUNK","3SAT","SR","SRF","SRFPOD","ORF","PHONIX"));
}

if (crawlerList.contains("ARD")) {
Expand Down

0 comments on commit 780dd59

Please sign in to comment.