Skip to content

Commit 437a2cd

Browse files
committed
update readme
1 parent 7fbb678 commit 437a2cd

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,15 @@ strm 文件是一个文本文件,里面写着媒体文件的路径 ([官方
7676
│ ├─86-不存在的战区- (2021) [tmdbid-100565]
7777
│ │ └─Season 01
7878
│ │ 86-不存在的战区- S01E01.strm
79+
│ │ 86-不存在的战区- S01E01.chs.srt
7980
│ │ ………
8081
│ │ 86-不存在的战区- S01E23.strm
82+
│ │ 86-不存在的战区- S01E23.cht.ass
8183
│ │
8284
│ ├─中二病也要谈恋爱! (2012) [tmdbid-45501]
8385
│ │ ├─Season 00
8486
│ │ │ 中二病也要谈恋爱! S00E35.strm
87+
│ │ │ 中二病也要谈恋爱! S00E35.sup
8588
│ │ │
8689
│ │ ├─Season 01
8790
│ │ │ 中二病也要谈恋爱! S01E01.strm
@@ -96,6 +99,7 @@ strm 文件是一个文本文件,里面写着媒体文件的路径 ([官方
9699
│ └─冰菓 (2012) [tmdbid-65329]
97100
│ ├─Season 00
98101
│ │ 冰菓 S00E01.strm
102+
│ │ 冰菓 S00E01.chs.ass
99103
│ │
100104
│ └─Season 01
101105
│ 冰菓 S01E01.strm
@@ -115,8 +119,12 @@ strm 文件是一个文本文件,里面写着媒体文件的路径 ([官方
115119

116120
具体操作方式和 nfo 文件模式区别不大。写入文件会被替换成生成文件夹或者创建 strm 文件。方便一点的是在 strm 文件模式下,不会因为上一步没有创建文件夹而无法继续进行,只要最后一步的视频文件对应上而且选择写入了,没有创建的文件夹会自动创建
117121

122+
strm 模式可以开启增量更新,已经有 strm 文件的媒体会被忽略
123+
118124
**注意**:如果同个视频文件存在多个版本,只会保留最早创建的 strm 文件
119125

126+
创建完 strm 文件之后可以用 ```link_files.exe``` 扫描媒体库,然后软件会把前缀匹配的特定拓展名(```.ass``````.srt``````.sup``````.mks``````.mka```)的文件硬链接或(若硬链接不可用)软链接创建对应的文件
127+
120128
## 配置文件说明
121129

122130
```json
@@ -144,7 +152,9 @@ strm 文件是一个文本文件,里面写着媒体文件的路径 ([官方
144152
// 有两种模式:strm 和 nfo
145153
"save_type": "strm",
146154
// 如果是 strm 模式需要填写目标路径
147-
"save_path": "L:/test"
155+
"save_path": "L:/test",
156+
// 如果是 strm 模式可以开启增量更新,已经有 strm 文件的媒体会被忽略
157+
"incremental_update": true
148158
}
149159
```
150160
## 技术细节

link_files/link_files.vcxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,15 @@
133133
<LanguageStandard>stdcpp17</LanguageStandard>
134134
<LanguageStandard_C>stdclatest</LanguageStandard_C>
135135
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
136+
<Optimization>Full</Optimization>
137+
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
138+
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
136139
</ClCompile>
137140
<Link>
138141
<SubSystem>Console</SubSystem>
139142
<EnableCOMDATFolding>true</EnableCOMDATFolding>
140143
<OptimizeReferences>true</OptimizeReferences>
141-
<GenerateDebugInformation>true</GenerateDebugInformation>
144+
<GenerateDebugInformation>false</GenerateDebugInformation>
142145
</Link>
143146
<Manifest>
144147
<EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>

nfo_scraper/config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
// 有需要的可以开启代理
2020
"using_proxy": true,
2121
"proxy_address": "http://127.0.0.1:7890",
22+
// 有两种模式:strm 和 nfo
2223
"save_type": "strm",
24+
// 如果是 strm 模式需要填写目标路径
2325
"save_path": "L:/test",
26+
// 如果是 strm 模式可以开启增量更新,已经有 strm 文件的媒体会被忽略
2427
"incremental_update": true
2528
}

nfo_scraper/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "search_dialog.h"
1616
#include "write_ignore.h"
1717

18-
const char version[] = "0.4-static";
18+
const char version[] = "0.5-static";
1919

2020
int main(int argc, char *argv[]) {
2121
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)

0 commit comments

Comments
 (0)