Skip to content

Small NFO tweaks and image filename reformatting for performers#147

Merged
4c0d3r merged 2 commits intoThePornDatabase:mainfrom
Darklyter:main
Jan 6, 2023
Merged

Small NFO tweaks and image filename reformatting for performers#147
4c0d3r merged 2 commits intoThePornDatabase:mainfrom
Darklyter:main

Conversation

@Darklyter
Copy link
Copy Markdown
Contributor

Adding for GUID/StashID
Fix for being populated by performer image instead of actual poster
Remove path from image names in NFO
Change for performer image filenames to now be {TITLE}-Performer-{Performer}-image. Previously the Performer name was directly concatenated to the end of the scene rename format

Adding <tpdbguid> for GUID/StashID
Fix for <poster> being populated by performer image instead of actual poster
Remove path from image names in NFO
Change for performer image filenames to now be `{TITLE}-Performer-{Performer}-image`.  Previously the Performer name was directly concatenated to the end of the scene rename format
Comment on lines +114 to +115
add_sub_element(doc, art, 'poster', re.search(r'.*/(.*)', str(poster)).group(1) if poster else None)
add_sub_element(doc, art, 'background', re.search(r'.*/(.*)', str(background)).group(1) if background else None)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

background->full?

add_sub_element(doc, actor, 'name', performer.name)
add_sub_element(doc, actor, 'role', performer.role)
add_sub_element(doc, actor, 'image', str(performer.image) if performer.image else None)
add_sub_element(doc, actor, 'image', re.search(r'.*/(.*)', str(performer.image)).group(1) if performer.image else None)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

background->full?

@4c0d3r 4c0d3r merged commit 8eed2e2 into ThePornDatabase:main Jan 6, 2023
killershubham pushed a commit to killershubham/namer that referenced this pull request Dec 6, 2025
Adding <tpdbguid> for GUID/StashID
Fix for <poster> being populated by performer image instead of actual poster
Remove path from image names in NFO
Change for performer image filenames to now be `{TITLE}-Performer-{Performer}-image`.  Previously the Performer name was directly concatenated to the end of the scene rename format
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.

3 participants