Skip to content

Commit

Permalink
Merge pull request #51 from TheTaylorLee/3.1.2
Browse files Browse the repository at this point in the history
3.1.2
  • Loading branch information
TheTaylorLee authored Oct 22, 2024
2 parents 16579ce + e907de6 commit 2b58c34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@
- 2.25.1 Add the suppress output parameters to Invoke-Process<media/show> functions. Larger file sizes resulted in updating metadata only and those runs of ffmpeg were missing the parameters.
- 3.0.0 Deprecating Ubuntu Build and update alpine build
- 3.1.0 issues[#48](https://github.com/TheTaylorLee/docker-transcodeautomation/issues/48) fix using literalpath
- 3.1.1 issue [#29](https://github.com/TheTaylorLee/docker-transcodeautomation/issues/29) may have been misunderstood. There was a different issue or an additional issue. Now both issues are handled by ensuring filtering is occuring for movies and shows blocks and preventing those running when they shouldn't. The old fix will remain as a solution should the original considered exception occur.
- 3.1.1 issue [#29](https://github.com/TheTaylorLee/docker-transcodeautomation/issues/29) may have been misunderstood. There was a different issue or an additional issue. Now both issues are handled by ensuring filtering is occuring for movies and shows blocks and preventing those running when they shouldn't. The old fix will remain as a solution should the original considered exception occur.
- 3.1.2 fix move-filetomediafolder in optional media functions so parameters don't need supplied.
8 changes: 5 additions & 3 deletions modules/MediaFunctions/Public/Move-FileToMediaFolder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ function Move-FileToMEDIAFolder {

[CmdletBinding()]
Param (
[Parameter(Mandatory = $true)][string[]]$MEDIAshowfolders,
[Parameter(Mandatory = $true)][string[]]$MEDIAmoviefolders,
[Parameter(Mandatory = $true)][string]$DataSource
)

[string[]]$mediashowfolders = $env:MEDIASHOWFOLDERS -split ', '
[string[]]$mediamoviefolders = $env:MEDIAMOVIEFOLDERS -split ', '
[string]$DataSource = "/docker-transcodeautomation/data/MediaDB.SQLite"


#Used in debug logs
Write-Output "info: Move-FileToMEDIAFolder Start"
if ((Invoke-SqliteQuery -DataSource $datasource -Query "PRAGMA integrity_check").integrity_check -eq 'ok') {
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.1.1
v3.1.2

0 comments on commit 2b58c34

Please sign in to comment.