Skip to content

Commit

Permalink
Update for 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jvlflame committed Oct 5, 2020
1 parent eb9441e commit c3ee6e4
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.1.1]

### Added
- Setting `sort.format.outputfolder` to create a static or dynamic output folder for sorted movies in the destination path (#115)
- This setting accepts a format string (i.e. `"sort.format.outputfolder": "<STUDIO>"` will sort movies into a folder of their studio name in the destination path)
- Setting `sort.metadata.nfo.altnamerole` to add the actress `<altname>` as the actress role (#110)
- Setting `javlibrary.cookie.session` and `javlibrary.cookie.userid` to set a path of movies as 'Owned' on JavLibrary. This runs on a single thread and is not affected by throttlelimit (#119)
- Log into JavLibrary and view browser cookies [www.javlibrary.com / Cookies / session] and [www.javlibrary.com / Cookies / userid] and define them in your settings
- Usage: `Javinizer -Path 'C:\JAV\Sorted' -Recurse -SetOwned`
- Setting `sort.metadata.nfo.originalpath` to add the path the movie was last sorted from to the nfo file under field `<originalpath>` (#116)

### Changed
- `<altname>` in the actress metadata in the nfo is now dynamic based on the selected actress name language (#110)

### Fixed
- Sort no longer fails when newlines are present in R18 maker and label metadata output (#121)

## [2.1.0]

### Added
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ Javinizer [[-Path] <String>] [[-DestinationPath] <String>] [-Recurse] [-Depth <I
[-SettingsPath <FileInfo>] [-Strict] [-MoveToFolder <Boolean>] [-RenameFile <Boolean>] [-Force] [-HideProgress]
[-Update] [-IsThread] [-Set <Hashtable>] [<CommonParameters>]
Javinizer [[-Path] <String>] [-Recurse] [-Depth <Int32>] -UpdateNfo [<CommonParameters>]
Javinizer [[-Path] <String>] [-Recurse] [-Depth <Int32>] [-SettingsPath <FileInfo>] -UpdateNfo [<CommonParameters>]
Javinizer [[-Path] <String>] [-Recurse] [-Depth <Int32>] [-SettingsPath <FileInfo>] [-Strict] [-HideProgress]
[-SetOwned] [-Set <Hashtable>] [<CommonParameters>]
Javinizer [-SettingsPath <FileInfo>] [-Find] <PSObject> [-Aggregated] [-Nfo] [-R18] [-R18Zh] [-Dmm] [-DmmJa]
[-Javlibrary] [-JavlibraryZh] [-JavlibraryJa] [-Javbus] [-JavbusJa] [-JavbusZh] [-Jav321Ja] [-Set <Hashtable>]
Expand Down Expand Up @@ -242,6 +245,9 @@ PARAMETERS
-Set <Hashtable>
Specifies a hashtable to update specific settings on the command-line.
-SetOwned [<SwitchParameter>]
Specifies to set a path of movie files as owned on JavLibrary.
-Version [<SwitchParameter>]
Specifies to display the Javinizer module version.
Expand Down Expand Up @@ -379,6 +385,14 @@ Description
-----------
Opens the settings file.
-------------------------- EXAMPLE 15 --------------------------
PS > Javinizer -Path 'C:\JAV\Sorted' -Recurse -SetOwned
Description
-----------
Sets movies detected in a directory as owned on JavLibrary.
```

### Supported multi-part-video naming schemes
Expand Down Expand Up @@ -554,6 +568,8 @@ For example, if your jvGenres.csv file looks like this:
| `sort.format.delimiter` | Specifies the delimiter between actresses when using \<ACTORS> in the format string. | Any string value
| `sort.format.file` | Specifies the format string when renaming a file. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.folder` | Specifies the format string when creating the folder. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.outputfolder` | Specifies the format string when creating an output folder in the destination path. Leaving this blank will omit creating the output folder. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.thumbimg` | Specifies the format string when creating the thumbnail image. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.posterimg` | Specifies an array of format strings when creating the poster image. Multiple strings will allow you to create multiple poster image files. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.thumbimg` | Specifies the format string when creating the thumbnail image. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.trailervid` | Specifies the format string when creating the trailer video. | [Format Strings](#Metadata-Format-Strings)
Expand All @@ -562,6 +578,7 @@ For example, if your jvGenres.csv file looks like this:
| `sort.format.screenshotfolder` | Specifies the format string when creating the screenshot images folder. | [Format Strings](#Metadata-Format-Strings)
| `sort.format.actressimgfolder` | Specifies the format string when creating the actress image folder. | [Format Strings](#Metadata-Format-Strings)
| `sort.metadata.nfo.mediainfo` | Specifies to add media metadata information to the nfo file. This requires the MediaInfo command line application. | 0, 1
| `sort.metadata.nfo.altnamerole` | Specifies to set the actress role in the nfo as the altname. | 0, 1
| `sort.metadata.nfo.translatedescription` | Specifies to translate the description. | 0, 1
| `sort.metadata.nfo.translatedescription.language` | Specifies which language to translate to. | Check [here](https://developers.google.com/admin-sdk/directory/v1/languages) for language codes
| `sort.metadata.nfo.displayname` | Specifies the format string of the displayname in the metadata nfo file. | [Format Strings](#Metadata-Format-Strings)
Expand All @@ -570,7 +587,7 @@ For example, if your jvGenres.csv file looks like this:
| `sort.metadata.nfo.format.tagline` | Specifies the format string to add a tagline to the aggregated data object | [Format Strings](#Metadata-Format-Strings)
| `sort.metadata.nfo.actresslanguageja` | Specifies to prefer Japanese names when creating the metadata nfo. | 0, 1
| `sort.metadata.nfo.unknownactress` | Specifies to add an 'Unknown' actress to scraped movies without any actresses | 0, 1
| `sort.metadata.nfo.originalpath` | Specifies to add an 'originalpath' field to the nfo specifying the location the movie was last sorted from | 0, 1
| `sort.metadata.nfo.originalpath` | Specifies to add an 'originalpath' field to the nfo specifying the location the movie was last sorted from. | 0, 1
| `sort.metadata.thumbcsv` | Specifies to use the thumbnail csv when aggregating metadata. | 0, 1
| `sort.metadata.thumbcsv.autoadd` | Specifies to automatically add missing actresses to the thumbnail csv when scraping using the R18 or R18Zh scrapers. | 0, 1
| `sort.metadata.thumbcsv.convertalias` | Specifies to use the thumbnail csv alias field to replace actresses in the metadata. | 0, 1
Expand Down
2 changes: 1 addition & 1 deletion src/Javinizer/Javinizer.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

# Version number of this module.

ModuleVersion = '2.1.0'
ModuleVersion = '2.1.1'

# Supported PSEditions
# CompatiblePSEditions = @('Core')
Expand Down
9 changes: 9 additions & 0 deletions src/Javinizer/Public/Javinizer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ function Javinizer {
.PARAMETER Set
Specifies a hashtable to update specific settings on the command-line.
.PARAMETER SetOwned
Specifies to set a path of movie files as owned on JavLibrary.
.PARAMETER Version
Specifies to display the Javinizer module version.
Expand Down Expand Up @@ -240,6 +243,12 @@ function Javinizer {
-----------
Opens the settings file.
.EXAMPLE
Javinizer -Path 'C:\JAV\Sorted' -Recurse -SetOwned
Description
-----------
Sets movies detected in a directory as owned on JavLibrary.
#>

[CmdletBinding(DefaultParameterSetName = 'Path')]
Expand Down

0 comments on commit c3ee6e4

Please sign in to comment.