-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move subtitle files into moving soon via Bazarr (#80)
* [Bazarr] Create base classes * [Bazarr] Use Bazarr as source for copying subtitles over * [Build] Build for PR * [Build] Fix compile, whoopsie * [Build] Fix docker tag naming for number/merge type "branches" * [Build] Fix docker tag naming for number/merge type "branches" * [Build] Upgrade versions * [Build] Upgrade versions * [Build] Jib bug fix? * [Bazarr] Fix method signature * [Bazarr] HTTP parameters * [MediaServer] Trace log for extra files * [Bazarr] Set config defaults * [Bazarr] Fix parameter naming * [Bazarr] Expand debug logging * [Bazarr] Cleanup * [MediaServer] Add exception to debug logging for link creation * [MediaServer] Improve extra file copying * [MediaServer] Fix file copy * [Build] Force UTF-8 where possible * [Build] Fix arguments * [Build] Force some more UTF-8 * [MediaServer] Enable more debug info * [Build] Add charsets * [Build] Explicitly use environment variable buildpack * [Environment] Add some debug info * [CI] Pass env variables everywhere * [Build] Don't use multiline string for args * [Build] Try another way of passing encoding * [Bazarr] Fix radarr parameter * [Build] Try another way of passing encoding * [File-API] Temporarily switch to experimental Kotlin API while GraalVM and paketo builders are bugged
- Loading branch information
Showing
31 changed files
with
364 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/kotlin/com/github/schaka/janitorr/config/RuntimeEnvironment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package com.github.schaka.janitorr.config | ||
|
||
import jakarta.annotation.PostConstruct | ||
import org.slf4j.LoggerFactory | ||
import org.springframework.core.Ordered | ||
import org.springframework.core.annotation.Order | ||
import org.springframework.stereotype.Component | ||
import java.nio.charset.Charset | ||
|
||
@Order(Ordered.HIGHEST_PRECEDENCE) | ||
@Component | ||
class RuntimeEnvironment { | ||
companion object { | ||
private val log = LoggerFactory.getLogger(this::class.java.enclosingClass) | ||
} | ||
|
||
|
||
@PostConstruct | ||
fun init() { | ||
log.info("Default charset {}", Charset.defaultCharset().displayName()) | ||
log.info("sun.jnu.encoding {}", System.getProperty("sun.jnu.encoding")) | ||
log.info("sun.stdout.encoding {}", System.getProperty("sun.stdout.encoding")) | ||
log.info("sun.stderr.encoding {}", System.getProperty("sun.stderr.encoding")) | ||
log.info("ENV JAVA_TOOL_OPTIONS {}", System.getenv("JAVA_TOOL_OPTIONS")) | ||
log.info("ENV LANG {}", System.getenv("LANG")) | ||
log.info("ENV LANGUAGE {}", System.getenv("LANGUAGE")) | ||
log.info("ENV LC_ALL {}", System.getenv("LC_ALL")) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.