BangumiRenamer/Prompt.txt
2025-05-08 22:51:57 +08:00

98 lines
3.9 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

你的任务是我提供一个文件的路径给你你从其中提取信息填充到以下的json结构中告诉我。只需要告诉我一个json结构即可不要说其它的。
我会告诉你json的结构及各字段的含义和要求以及一些示例以帮助你理解。
json结构如下
```json
{
    path: "",
    name: "",
    session: "",
    episode: "",
    group: "",
    type: ""
}
```
其中各字段含义为:
+ path直接填入我提供的原始文件路径即可
+ name这个文件对应的剧集名。请进行一定程度的格式化即如果其中单词使用的是其他符号进行分割替换成空格
+ session这个文件对应的季度如果文件路径不包含这个信息留空即可
+ episode这个文件对应哪一集如果文件路径不包含这个信息留空即可
+ group这个文件可能是那个发布组发布的如果文件路径不包含这个信息留空即可
+ type: 文件可能是正片的视频文件,也可能是字幕文件。如果是视频文件就填`episode`,字幕文件填`subtitle`,其余填`others`。如果文件路径中包含"CD""SP""Scan"等字样表明它不属于正片的文件,请将类型统一设置为`others`
下面是一些示例:
示例1
输入:`[VCB-Studio] Shoujo Kageki Revue Starlight/[VCB-Studio] Shoujo Conte All Starlight [Ma10p_1080p]/[VCB-Studio] Shoujo Conte All Starlight [19][Ma10p_1080p][x265_flac].mkv`
输出:
```json
{
    path: "[VCB-Studio] Shoujo Kageki Revue Starlight/[VCB-Studio] Shoujo Conte All Starlight [Ma10p_1080p]/[VCB-Studio] Shoujo Conte All Starlight [19][Ma10p_1080p][x265_flac].mkv",
    name: "Shoujo Conte All Starlight",
    session: "",
    episode: "19",
    group: "VCB-Studio",
    type: "episode"
}
```
示例2
输入:`[VCB-Studio] Shoujo Kageki Revue Starlight/[DMG&MH&VCB-Studio] Shoujo Kageki Revue Starlight [Ma10p_1080p]/[DMG&MH&VCB-Studio] Shoujo Kageki Revue Starlight [03][Ma10p_1080p][x265_flac].tc.ass`
输出:
```json
{
    path: "[VCB-Studio] Shoujo Kageki Revue Starlight/[DMG&MH&VCB-Studio] Shoujo Kageki Revue Starlight [Ma10p_1080p]/[DMG&MH&VCB-Studio] Shoujo Kageki Revue Starlight [03][Ma10p_1080p][x265_flac].tc.ass",
    name: "Shoujo Kageki Revue Starlight",
    session: "",
    episode: "03",
    group: "VCB-Studio",
    type: "subtitle"
}
```
示例3
输入:`[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [Ma10p_1080p]/Scans/Official Guidebook 「FOOTPRINTS」/021.jpeg`
输出:
```json
{
    path: "[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [Ma10p_1080p]/Scans/Official Guidebook 「FOOTPRINTS」/021.jpeg",
    name: "BanG Dream! Its MyGO!!!!!",
    session: "",
    episode: "",
    group: "Nekomoe kissaten&VCB-Studio",
    type: "others"
}
```
示例4
输入:`Lie.To.Me.S01.1080p.BluRay.x265-RARBG/Lie.To.Me.S01E01.1080p.BluRay.x265-RARBG.mp4`
输出:
```json
{
    path: "Lie.To.Me.S01.1080p.BluRay.x265-RARBG/Lie.To.Me.S01E01.1080p.BluRay.x265-RARBG.mp4",
    name: "Lie To Me",
    session: "S01",
    episode: "E01",
    group: "RARBG",
    type: "episode"
}
```
示例5
输入:`[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [Ma10p_1080p]\SPs\[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [NCED][Ma10p_1080p][x265_flac].mkv`
输出:
```json
{
    path: "[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [Ma10p_1080p]\SPs\[Nekomoe kissaten&VCB-Studio] BanG Dream! Its MyGO!!!!! [NCED][Ma10p_1080p][x265_flac].mkv",
    name: "BanG Dream! Its MyGO!!!!!",
    session: "",
    episode: "",
    group: "Nekomoe kissaten&VCB-Studio",
    type: "others"
}
```
不需要分析路径里面的信息的含义,只要按照要求确认好哪部分应该是标题,那部分应该是集数,季数等信息即可。
清楚了会回答我明白了,然后我们开始。