CXwudi / vocadb-video-downloader-new

An integrated cli-based media archiving solution for VocaDB
2 stars 0 forks source link

A way better sorting and enablement for PVs #92

Open CXwudi opened 8 months ago

CXwudi commented 8 months ago

The current way of sorting and filtering PVs are sucks and buggy. Here is a way better mechanism:

config:
  preference:
    # a list of <PvService>.<PvType>
    chosen-pvs: NicoNicoDouga.Original, NicoNicoDouga.Reprint, NicoNicoDouga.Other, Youtube.Original, Youtube.Reprint, Youtube.Other, Bilibili.Original, Bilibili.Reprint, Bilibili.Other

This single option can cover three old options altogether: pv-services, try-reprinted-pv and try-all-original-pvs-before-reprinted-pvs

CXwudi commented 8 months ago

However, the try-next-pv-service-on-fail is still needed. It is the option to make sure we don't falsely move to next PV service due to our side downloader config error (e.g. didn't provide username password, etc)