Le fichier hight-heat-2022-custom-proper-multi-vff-1080p-web-ac3-5-1-h264-lihdl-srt a été trouvé dans la base de données sous l'id #69211
Le fichier a télécharger 1-1686842615.srt existe bien dans le dossier fichiers/2022/22201/
On cherche donc a rajouter le fichier 1-1686842615.srt (qui se trouve dans le dossier fichiers/2022/22201/) en le renommant Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.srt (l.237)
L'extension du fichier 1-1686842615.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera hight-heat-2022-custom-proper-multi-vff-1080p-web-ac3-5-1-h264-lihdl-(z1)-subsynchro.zip (l.212)
Le fichier 1-1686842615.srt va être appellé Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2022/22201/1-1686842615.srt', 'Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera hight-heat-2022-custom-proper-multi-vff-1080p-web-ac3-5-1-h264-lihdl-(z1)-subsynchro.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé hight-heat-2022-custom-proper-multi-vff-1080p-web-ac3-5-1-h264-lihdl-(z1)-subsynchro.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.srt n'a bien été trouvé dans le dossier fichiers/2022/22201/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/2022/22201/1-1686842615.srt (renommé Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.srt) contenu dans le dossier "fichiers/2022/22201/" avec la fonction $zip->addFile('fichiers/2022/22201/fichiers/2022/22201/1-1686842615.srt', 'Hight.Heat.2022.CUSTOM.PROPER.MULTi.VFF.1080p.WEB.AC3.5.1.H264-LiHDL.srt') (l.245)
Aucun nFO n'est renseigné dans la base de données pour cette release donc c'est normal qu'on ne l'ajoute pas ! (l.257)
On ajoute la vignette du film grace au fichier high-heat.jpg contenue dans le dossier img/vignettes/2022/. Le code utilisé est $zip->addFile('img/vignettes/2022/high-heat.jpg', 'high-heat.jpg'); (l.268)
Le fichier hight-heat-2022-custom-proper-multi-vff-1080p-web-ac3-5-1-h264-lihdl-(z1)-subsynchro.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.