Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: output into folder structure based on metadata #115

Closed
ghost opened this issue Oct 1, 2020 · 1 comment · Fixed by #123
Closed

feature request: output into folder structure based on metadata #115

ghost opened this issue Oct 1, 2020 · 1 comment · Fixed by #123
Assignees
Labels
enhancement New feature or request
Projects

Comments

@ghost
Copy link

ghost commented Oct 1, 2020

I like how this project works so far, but it would be nice to output into specific folders based on the metadata of the videos. Unless this is already possible please let me know.

at the moment it appears it can only output everything into one single destination folder like:

  • E:\javinizer\output\< ID> [< STUDIO>] - < TITLE> (< YEAR>).mp4

Personally i like to group my videos by studio so it would be nice to have that option to organize further, taking each scraped video and putting it into a folder of a specified metadata tag like:

  • E:\javinizer\output\< STUDIO>\< ID> - < TITLE> (< YEAR>).mp4

other possible uses:

year:

  • E:\javinizer\output\< YEAR>\< ID> [< STUDIO>] - < TITLE>.mp4

resolution:

  • E:\javinizer\output\< RESOLUTION>\< ID> [< STUDIO>] - < TITLE> (< YEAR>).mp4
@jvlflame jvlflame added the enhancement New feature or request label Oct 3, 2020
@jvlflame jvlflame added this to To do in 2.1.1 via automation Oct 4, 2020
@jvlflame jvlflame moved this from To do to In progress in 2.1.1 Oct 4, 2020
jvlflame added a commit that referenced this issue Oct 4, 2020
@jvlflame
Copy link
Collaborator

jvlflame commented Oct 4, 2020

Thanks for the request!
I've added a new setting: sort.format.outputfolder which accepts a format string.

An example case:

// jvSettings.json
"sort.format.outputfolder": "[<STUDIO>] (<YEAR>)",
PS C:\> Javinizer -Path C:\Javinizer\ -Verbose
VERBOSE: [ABP-420] [Set-JVMovie] Completed [C:\Javinizer\ABP-420.mp4] => [C:\Javinizer\[Prestige] (2016)\ABP-420 [Prestige] - Endless Sex Starring Rino Kirishima (2016)\ABP-420.mp4]

Leaving the sort.format.outputfolder setting blank will sort with the original behavior.

@jvlflame jvlflame moved this from In progress to Done in 2.1.1 Oct 4, 2020
@jvlflame jvlflame self-assigned this Oct 4, 2020
@jvlflame jvlflame mentioned this issue Oct 5, 2020
@jvlflame jvlflame linked a pull request Oct 5, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
2.1.1
Done
Development

Successfully merging a pull request may close this issue.

1 participant