Skip to content

Commit

Permalink
1.1.216
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Jan 2, 2025
1 parent cd89668 commit dcbe433
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UPDATE.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
优化备用RSS通知
修复TMDB获取失败时无法添加订阅的问题
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ani.rss</groupId>
<artifactId>ani-rss</artifactId>
<version>1.1.215</version>
<version>1.1.216</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/ani/rss/util/TmdbUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import java.util.Date;
import java.util.List;
import java.util.Objects;
import java.util.Optional;

@Slf4j
Expand Down Expand Up @@ -54,6 +55,10 @@ public synchronized static String getName(String name, String type) {
return "";
}

if (Objects.isNull(tmdb)) {
return "";
}

String themoviedbName = tmdb.getName();
if (StrUtil.isBlank(themoviedbName)) {
return "";
Expand Down

0 comments on commit dcbe433

Please sign in to comment.