Skip to content

Commit

Permalink
chore: Update project version to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Jul 17, 2024
1 parent dfbea44 commit 7b2da86
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ replay_pid*
.DS_Store
*/build/*
build
*/logs/*
logs/*
application.yml
Binary file removed logs/spring.log.2024-04-29.0.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

project.group = "com.github.appujet"
project.version = "0.1.3"
project.version = "0.1.5"
val archivesBaseName = "jiosaavn"

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ public void onContextOpen(HttpClientContext context) {
cookieStore = new BasicCookieStore();
context.setCookieStore(cookieStore);
}

// Reset cookies for each sequence of requests.
cookieStore.clear();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ public void process(LocalAudioTrackExecutor executor) throws Exception {

protected void loadStream(LocalAudioTrackExecutor localExecutor, HttpInterface httpInterface) throws Exception {
final String trackUrl = getPlaybackUrl();
log.info("Loading track from URL: {}", trackUrl);
try (PersistentHttpStream stream = new PersistentHttpStream(httpInterface, new URI(trackUrl), this.getTrackDuration())) {
try (PersistentHttpStream stream = new PersistentHttpStream(httpInterface, new URI(trackUrl), this.getTrackDuration())) {
processDelegate(createAudioTrack(this.trackInfo, stream), localExecutor);
} catch (Exception e) {
log.error("Failed to load track from URL: {}", trackUrl, e);
throw e;
}
}

Expand Down
2 changes: 0 additions & 2 deletions main/src/main/java/com/github/appujet/jiosaavn/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import java.util.Iterator;

public class Utils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean isTrackEncodable(AudioTrack audioTrack) {

@Override
public void encodeTrack(AudioTrack audioTrack, DataOutput dataOutput) throws IOException {
DataFormatTools.writeNullableText(dataOutput, audioTrack.getIdentifier());

}

@Override
Expand Down
2 changes: 1 addition & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id("com.github.breadmoirai.github-release")
}

val pluginVersion = Version(0, 1, 3)
val pluginVersion = Version(0, 1, 5)

group = "com.github.appujet"
version = "$pluginVersion"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun VersionCatalogBuilder.common() {
fun VersionCatalogBuilder.main() {
version("slf4j-version", "2.0.9")

library("lavaplayer", "dev.arbjerg", "lavaplayer").version("2.1.1")
library("lavaplayer", "dev.arbjerg", "lavaplayer").version("2.2.1")
library("logger", "org.slf4j", "slf4j-api").versionRef("slf4j-version")
library("logger-impl", "org.slf4j", "slf4j-simple").versionRef("slf4j-version")
library("commonsIo", "commons-io", "commons-io").version("2.7")
Expand Down

0 comments on commit 7b2da86

Please sign in to comment.