Le fichier indiana-jones-and-the-dial-of-destiny-2023-1080p-bluray-ddp-7-1-x264-sphd-srt a été trouvé dans la base de données sous l'id #75256
Le fichier a télécharger 10389-1713196399.srt existe bien dans le dossier fichiers/2023/22277/
On cherche donc a rajouter le fichier 10389-1713196399.srt (qui se trouve dans le dossier fichiers/2023/22277/) en le renommant Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.srt (l.237)
L'extension du fichier 10389-1713196399.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera indiana-jones-and-the-dial-of-destiny-2023-1080p-bluray-ddp-7-1-x264-sphd-(z2)-zeta.zip (l.212)
Le fichier 10389-1713196399.srt va être appellé Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/2023/22277/10389-1713196399.srt', 'Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera indiana-jones-and-the-dial-of-destiny-2023-1080p-bluray-ddp-7-1-x264-sphd-(z2)-zeta.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé indiana-jones-and-the-dial-of-destiny-2023-1080p-bluray-ddp-7-1-x264-sphd-(z2)-zeta.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.srt n'a bien été trouvé dans le dossier fichiers/2023/22277/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/2023/22277/10389-1713196399.srt (renommé Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.srt) contenu dans le dossier "fichiers/2023/22277/" avec la fonction $zip->addFile('fichiers/2023/22277/fichiers/2023/22277/10389-1713196399.srt', 'Indiana.Jones.and.the.Dial.of.Destiny.2023.1080p.BluRay.DDP.7.1.x264-SPHD.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 indiana-jones-et-le-cadran-de-la-destinee.jpg contenue dans le dossier img/vignettes/2023/. Le code utilisé est $zip->addFile('img/vignettes/2023/indiana-jones-et-le-cadran-de-la-destinee.jpg', 'indiana-jones-et-le-cadran-de-la-destinee.jpg'); (l.268)
Le fichier indiana-jones-and-the-dial-of-destiny-2023-1080p-bluray-ddp-7-1-x264-sphd-(z2)-zeta.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.