Le fichier three-thousand-years-of-longing-2022-1080p-webrip-x264-rarbg-srt a été trouvé dans la base de données sous l'id #64427
Le fichier a télécharger 12150-1663059267.srt existe bien dans le dossier fichiers/2022/21209/
On cherche donc a rajouter le fichier 12150-1663059267.srt (qui se trouve dans le dossier fichiers/2022/21209/) en le renommant Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.srt (l.237)
L'extension du fichier 12150-1663059267.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera three-thousand-years-of-longing-2022-1080p-webrip-x264-rarbg-(z1)-dzoolander.zip (l.212)
Le fichier 12150-1663059267.srt va être appellé Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2022/21209/12150-1663059267.srt', 'Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera three-thousand-years-of-longing-2022-1080p-webrip-x264-rarbg-(z1)-dzoolander.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé three-thousand-years-of-longing-2022-1080p-webrip-x264-rarbg-(z1)-dzoolander.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.srt n'a bien été trouvé dans le dossier fichiers/2022/21209/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/2022/21209/12150-1663059267.srt (renommé Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.srt) contenu dans le dossier "fichiers/2022/21209/" avec la fonction $zip->addFile('fichiers/2022/21209/fichiers/2022/21209/12150-1663059267.srt', 'Three.Thousand.Years.of.Longing.2022.1080p.WEBRip.x264-RARBG.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 trois-mille-ans-a-tattendre.jpg contenue dans le dossier img/vignettes/2022/. Le code utilisé est $zip->addFile('img/vignettes/2022/trois-mille-ans-a-tattendre.jpg', 'trois-mille-ans-a-tattendre.jpg'); (l.268)
Le fichier three-thousand-years-of-longing-2022-1080p-webrip-x264-rarbg-(z1)-dzoolander.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.