David-Maisonave / Axter-Stash

Plugins for Stash (FileMonitor, RenameFile, & DupFileManager)
GNU Affero General Public License v3.0
4 stars 0 forks source link

🪲[RenameFile] rename only include title #3

Open valxno3 opened 5 days ago

valxno3 commented 5 days ago

Please enter steps to reproduce the behavior.

File are rename with title but not with studio...

renameFile log : [241101 00:03:01] [LN:69] TRACE: hookContext={'id': 8, 'type': 'Scene.Update.Post', 'input': {'clientMutationId': None, 'id': '8', 'title': 'test10', 'code': 'studiocode', 'details'> [241101 00:03:01] http://127.0.0.1:9999 "POST /graphql HTTP/11" 200 312 [241101 00:03:01] http://127.0.0.1:9999 "POST /graphql HTTP/11" 200 954 [241101 00:03:01] [LN:294] TRACE: (scene_details={'id': '8', 'title': 'test10', 'code': 'studiocode', 'details': '', 'director': '', 'urls': [], 'date': None, 'rating100': None, 'or> [241101 00:03:01] http://127.0.0.1:9999 "POST /graphql HTTP/11" 200 50 [241101 00:03:01] [LN:317] TRACE: (original_file_path=/media/NAS/Video/xxx/test9.mkv) [241101 00:03:01] [LN:154] TRACE: (title="test10") [241101 00:03:01] [LN:181] TRACE: (studio_name={'id': '2'}) [241101 00:03:01] [LN:184] TRACE: (studio_name=) [241101 00:03:01] [LN:279] TRACE: (filename_parts=['test10']) [241101 00:03:01] [LN:281] TRACE: (new_filename=test10) [241101 00:03:01] [LN:335] TRACE: (original_file_name=test9.mkv)(new_file_path=/media/NAS/Video/xxx/test10.mkv) [241101 00:03:01] [LN:371] TRACE: Calling [metadata_scan] for path /media/NAS/Video/xxx [241101 00:03:01] http://127.0.0.1:9999 "POST /graphql HTTP/11" 200 73 [241101 00:03:01] http://127.0.0.1:9999 "POST /graphql HTTP/11" 200 52 [241101 00:03:02] [LN:69] TRACE: hookContext={'id': 8, 'type': 'Scene.Update.Post', 'input': None} [241101 00:03:02] [LN:438] TRACE: Nothing to do. doNothing=False [241101 00:03:02] [LN:444] TRACE:

Requirement has been installed.

Plugin config : CleanShot 2024-10-31 at 20 13 30

Stash Version (from Settings -> About)

v0.27.2

Plugin Version

V0.5.3

What Operating System (OS)?

Linux debian 12

What browser and version?

Any

Phone or tablets (if applicable)

No response

The pip install for the plugin

pip install requirements.txt

Expected Behavior

No response

Logging

No response

Snapshot(s)

No response

Additional context

No response

David-Maisonave commented 4 hours ago

Thank you for reporting this. I will look into it, and report back.