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

Set title, details and date from scene file metadata #103

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

WithoutPants
Copy link
Collaborator

During scan, sets the title of a scene from the title field in the files metadata, or defaults to the file's base name (instead of being an empty string currently). Sets the date to the creation date in the metadata. Sets the Details field from the Comment field in the file's metadata.

Within Windows, I was also able to set the rating and tags fields in an mp4 file, but wasn't able to extract this information out again using ffprobe.

@StashAppDev StashAppDev merged commit 6e46b10 into stashapp:master Aug 19, 2019
@WithoutPants WithoutPants deleted the metadata_from_file branch August 22, 2019 22:41
@egon6969
Copy link

Hello,

i hope this is the right place for my request/comment.
It appears, that you use the "creation_time" tag from ffprobe.
This tag is not present in most of my files and therefore the function to automatically set the date is not working.
Would it be possible to use the file creation date (by using https://github.com/djherbis/times for example) as a backup, if ffprobe returns nothing?

@Leopere
Copy link
Collaborator

Leopere commented Oct 24, 2019

@egon6969, unfortunately, this is a closed and merged Pull Request so it's not the correct place to request a feature. If you wish to complain about this one feel free to open a new issue. https://github.com/stashapp/stash/issues/new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants