Files
mc_video_player_mod/gradle.properties
tkrmagid 73d12a02c3
All checks were successful
build / build (push) Successful in 1m47s
v0.4.38: auto-encode URLs for playback too + eager cache dir in active gameDir
- 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>
2026-06-14 02:21:27 +09:00

457 B