v0.4.38: auto-encode URLs for playback too + eager cache dir in active gameDir
All checks were successful
build / build (push) Successful in 1m47s
All checks were successful
build / build (push) Successful in 1m47s
- Share the percent-encoder as VideoCache.encodeUrl() and apply it to the live URL handed to FFmpeg in VideoPlayback (cache-miss path), not just the cache download. The lookup key stays the anchor's raw URL so cache hits still match; only the wire/FFmpeg URL is encoded. Non-ASCII paths now both cache and stream correctly instead of relying on FFmpeg's lenient handling. - Add VideoCache.ensureCacheDir(), called on every client JOIN, to create video_player_cache/ inside whatever game dir Minecraft actually runs from (vanilla .minecraft or a custom-launcher dir like .mc_custom) and log the resolved absolute path, so the folder exists up front and the active install location is visible in the log. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ org.gradle.configuration-cache=false
|
||||
|
||||
# Mod
|
||||
mod_id=video_player
|
||||
mod_version=0.4.37
|
||||
mod_version=0.4.38
|
||||
maven_group=com.ejclaw.videoplayer
|
||||
archives_base_name=video_player
|
||||
|
||||
|
||||
Reference in New Issue
Block a user