mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-05-31 13:20:35 +08:00
fix: 预检查收藏夹内容类型,支持写入 nfo
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from pathlib import Path
|
||||
import os
|
||||
from enum import IntEnum
|
||||
|
||||
DEFAULT_CONFIG_PATH = (
|
||||
Path(__file__).parent / "config.json"
|
||||
@@ -8,3 +9,9 @@ DEFAULT_CONFIG_PATH = (
|
||||
)
|
||||
|
||||
FFMPEG_COMMAND = "ffmpeg"
|
||||
|
||||
|
||||
class MediaType(IntEnum):
|
||||
VIDEO = 2
|
||||
AUDIO = 12
|
||||
VIDEO_COLLECTION = 21
|
||||
|
||||
Reference in New Issue
Block a user