Skip to content

Commit

Permalink
update for beta test
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed May 1, 2024
1 parent ef8799d commit 22f9e57
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public void process(LocalAudioTrackExecutor executor) throws Exception {

protected void loadStream(LocalAudioTrackExecutor localExecutor, HttpInterface httpInterface) throws Exception {
final String trackUrl = getPlaybackUrl();
try (PersistentHttpStream stream = new PersistentHttpStream(httpInterface, new URI(trackUrl), Long.MAX_VALUE)) {
log.info("Loading track from URL: {}", trackUrl);
try (PersistentHttpStream stream = new PersistentHttpStream(httpInterface, new URI(trackUrl), this.getTrackDuration())) {
processDelegate(createAudioTrack(this.trackInfo, stream), localExecutor);
}
}
Expand Down

0 comments on commit 22f9e57

Please sign in to comment.