diff --git a/CHANGELOG.md b/CHANGELOG.md index 31eb1fd0..ac1c4157 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ Changelog to track updates for this mod. ### Removed ### Fixed - +- Fixed the problem that YouTube cannot be played ### Security ## [3.21.6] - 2024-01-25 diff --git a/common/build.gradle b/common/build.gradle index 5205f221..a5eafec9 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -17,10 +17,10 @@ dependencies { modApi "me.shedaniel.cloth:cloth-config:10.0.96" implementation "dev.felnull:felnull-java-library:${rootProject.felnull_version}" - implementation("com.github.walkyst:lavaplayer-fork:${rootProject.lava_version}") { - exclude group: 'com.sedmelluq', module: 'lavaplayer-natives' + implementation("dev.arbjerg:lavaplayer:${rootProject.lava_version}") { + exclude group: 'dev.arbjerg', module: 'lavaplayer-natives' } - implementation 'com.github.sealedtx:java-youtube-downloader:3.1.0' + implementation 'com.github.sealedtx:java-youtube-downloader:3.2.3' implementation 'com.mpatric:mp3agic:0.9.1' } diff --git a/fabric/build.gradle b/fabric/build.gradle index bceb1581..ff719397 100644 --- a/fabric/build.gradle +++ b/fabric/build.gradle @@ -70,10 +70,10 @@ dependencies { modApi "curse.maven:ctm-535489:4438793"//Sound Physics Remastered modApi "vazkii.patchouli:Patchouli:1.19.4-79-FABRIC" - shadowIn("com.github.walkyst:lavaplayer-fork:${rootProject.lava_version}") { - exclude group: 'com.github.walkyst', module: 'lavaplayer-natives-fork' + shadowIn("dev.arbjerg:lavaplayer:${rootProject.lava_version}") { + exclude group: 'dev.arbjerg', module: 'lavaplayer-natives' } - shadowIn 'com.github.sealedtx:java-youtube-downloader:3.1.0' + shadowIn 'com.github.sealedtx:java-youtube-downloader:3.2.3' shadowIn "dev.felnull:felnull-java-library:${rootProject.felnull_version}" shadowIn 'com.mpatric:mp3agic:0.9.1' } @@ -118,7 +118,7 @@ shadowJar { } relocate 'ibxm', 'dev.felnull.imp.include.ibxm' - relocate 'net.sourceforge.jaad.aac', 'dev.felnull.imp.include.net.sourceforge.jaad.aac' + relocate 'net.sourceforge.jaad', 'dev.felnull.imp.include.net.sourceforge.jaad' relocate 'org.mozilla.javascript', 'dev.felnull.imp.include.org.mozilla.javascript' relocate 'org.mozilla.classfile', 'dev.felnull.imp.include.org.mozilla.classfile' } diff --git a/forge/build.gradle b/forge/build.gradle index ce204259..51567821 100644 --- a/forge/build.gradle +++ b/forge/build.gradle @@ -56,10 +56,10 @@ dependencies { modRuntimeOnly "vazkii.patchouli:Patchouli:1.19.4-79-FORGE" - shadowIn("com.github.walkyst:lavaplayer-fork:${rootProject.lava_version}") { - exclude group: 'com.github.walkyst', module: 'lavaplayer-natives-fork' + shadowIn("dev.arbjerg:lavaplayer:${rootProject.lava_version}"){ + exclude group: 'dev.arbjerg', module: 'lavaplayer-natives' } - shadowIn 'com.github.sealedtx:java-youtube-downloader:3.1.0' + shadowIn 'com.github.sealedtx:java-youtube-downloader:3.2.3' shadowIn "dev.felnull:felnull-java-library:${rootProject.felnull_version}" shadowIn 'com.mpatric:mp3agic:0.9.1' } @@ -104,7 +104,7 @@ shadowJar { } relocate 'ibxm', 'dev.felnull.imp.include.ibxm' - relocate 'net.sourceforge.jaad.aac', 'dev.felnull.imp.include.net.sourceforge.jaad.aac' + relocate 'net.sourceforge.jaad', 'dev.felnull.imp.include.net.sourceforge.jaad' relocate 'org.mozilla.javascript', 'dev.felnull.imp.include.org.mozilla.javascript' relocate 'org.mozilla.classfile', 'dev.felnull.imp.include.org.mozilla.classfile' } diff --git a/gradle.properties b/gradle.properties index 4f845d65..81748632 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,7 +7,7 @@ enabled_platforms=fabric,forge #Mod archives_base_name=iammusicplayer mod_display_name=IamMusicPlayer -mod_version=3.21.6 +mod_version=3.21.7 #Dependencies architectury_version=8.1.73 fabric_loader_version=0.14.17 @@ -15,7 +15,7 @@ fabric_api_version=0.76.0+1.19.4 forge_version=1.19.4-45.0.9 felnull_version=1.75 oe_version=3.6.0 -lava_version=1.4.3 +lava_version=2.1.1 #Upload curesforge_id=386380 modrinth_id=ZHHXRhiU