don't use any error

This commit is contained in:
Ovler 2023-10-16 10:46:12 +08:00
parent df66b8ad2c
commit fdbfd10d84
No known key found for this signature in database
GPG Key ID: 87C2223333333333

View File

@ -230,11 +230,10 @@ public class JfClient {
playurl = config.getJellyfinUrl() + "/videos/" + itemid + "/stream.mp4?static=true&DeviceId=" + DeviceId + "&api_key=" + AccessToken;
}
} catch (Exception e) {
err.onError("寻找播放地址失败:" + e.getMessage() + "\n" + str);
playurl = config.getJellyfinUrl() + "/videos/" + itemid + "/stream.mp4?static=true&DeviceId=" + DeviceId + "&api_key=" + AccessToken;
}
}
}, err);
}, null);
return playurl; // Return the playurl variable
}