Open rabbitANDtank opened 1 year ago
我也是 Find 0 movies
docker run --rm --name mdc -it -v /volume1/Media1:/data -v /volume1/docker/mdc/config:/config -e UID=99 -e GID=100 vergilgao/mdc:latest
我这样成功了。 /data这个目录,需要是下载软件和硬连接的根目录,然后在mdc.ini 里面去定义下载和硬连接的子目录。
上面说的对,paysenyu我也成功了,不过用起来没有原版的exe程序 https://github.com/yoshiko2/Movie_Data_Capture 方便。
docker配置参数如下 docker run -d --name='MovieDataCapture' --net='host' -e TZ="Asia/Shanghai" -e HOST_OS="Unraid" -e HOST_HOSTNAME="tank" -e HOST_CONTAINERNAME="MovieDataCapture" -e 'UID'='99' -e 'GID'='100' -v '/mnt/user/Disk1_ST4000VX000/qb/mdc/test/':'/data':'rw' -v '/mnt/user/Disk1_ST4000VX000/qb/mdc/config/':'/config':'rw' 'vergilgao/mdc' (除了dockerhub库和name,就配置了UID,GID,/config和/data共4个参数)
qb文件夹下有数个电影与含电影的文件夹,文件结构大概如下(——为一级): qb ——a_video ————STARTS-584-C.mp4 ——daj ————IPX-562-C.MP4 ——CAWD-001.MP4 …… ——mdc ————config ——————config.ini ——————.mlogs ————————mdc_xxx.txt ——————.local ————————share ----test ……
运行后日志如下 ---Setup Timezone to Asia/Shanghai--- ---Checking if UID: 99 matches user--- usermod: no changes ---Checking if GID: 100 matches user--- usermod: no changes ---Setting umask to 002--- ---Taking ownership of data...--- Checking if config file exist Starting... []================= Movie Data Capture ================= [] 6.4.1
[]====================================================== [] - Linux-5.15.46-Unraid-x86_64-with [] - x86_64 - Python-3.10.8 []====================================================== []====================================================== [] - 严禁在墙内宣传本项目 - []====================================================== [+]Start at 2022-12-13 04:07:16 [+]Load Config file '/config/mdc.ini'. [+]Main Working mode ## 1: Scraping ## , nfo_skip_days=30 [+] [1/3] Mapping Table Downloaded to /config/.local/share/mdc/mapping_actor.xml [+] [2/3] Mapping Table Downloaded to /config/.local/share/mdc/mapping_info.xml [+] [3/3] Mapping Table Downloaded to /config/.local/share/mdc/c_number.json [+]Find 0 movies. []====================================================== [+]Deleting empty folder /data/failed [+]Running time 0:00:03.003 End at 2022-12-13 04:07:19 [+]All finished!!!
猜测是文件目录结构问题,但是我试着改了几次目录都找不到电影
而后直接把路径和配置文件定位到仅有一个电影的文件夹的同级也没有用(全局魔法情况下)
把电影放到本地win主机上就能识别到电影并输出
现在我想知道它在unraid能正确部署的文件结构和参数配置大概是怎么样的