Le fichier the-independent-2022-1080p-webrip-x264-rarbg-srt a été trouvé dans la base de données sous l'id #68954
Le fichier a télécharger 1-1685358945.srt existe bien dans le dossier fichiers/1956/7543/
On cherche donc a rajouter le fichier 1-1685358945.srt (qui se trouve dans le dossier fichiers/1956/7543/) en le renommant The.Independent.2022.1080p.WEBRip.x264-RARBG.srt (l.237)
L'extension du fichier 1-1685358945.srt est *.srt (l.165)
Le fichier *.zip sera stocké dans include/dl/
Le fichier *.zip a télécharger s'apppelera tea-and-sympathy-1956-1080p-webrip-x264-aac-yts-(z2)-subsynchro.zip (l.212)
Le fichier 1-1685358945.srt va être appellé The.Independent.2022.1080p.WEBRip.x264-RARBG.www.subsynchro.com.srtdans le zip grâce à $zip->addFile('fichiers/1956/7543/1-1685358945.srt', 'The.Independent.2022.1080p.WEBRip.x264-RARBG.srt'); ! (l.216)
Le fichier ZiP téléchargeable s'appellera tea-and-sympathy-1956-1080p-webrip-x264-aac-yts-(z2)-subsynchro.zip et sera stocké dans le dossier include/dl/ (l.225)
Nous recreons un fichier zip appellé tea-and-sympathy-1956-1080p-webrip-x264-aac-yts-(z2)-subsynchro.zip dans le dossier include/dl/ (l.229)
On ajoute le fichier a-lire-subsynchro.nfo grace a addFromString (l.237)
L'image The.Independent.2022.1080p.WEBRip.x264-RARBG.srt n'a bien été trouvé dans le dossier fichiers/1956/7543/ et donc a été ajouté dans le ZiP téléchargé
Nous tentons d'ajouter le fichier fichiers/1956/7543/1-1685358945.srt (renommé The.Independent.2022.1080p.WEBRip.x264-RARBG.srt) contenu dans le dossier "fichiers/1956/7543/" avec la fonction $zip->addFile('fichiers/1956/7543/fichiers/1956/7543/1-1685358945.srt', 'The.Independent.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 the-et-sympathie.jpg contenue dans le dossier img/vignettes/1956/. Le code utilisé est $zip->addFile('img/vignettes/1956/the-et-sympathie.jpg', 'the-et-sympathie.jpg'); (l.268)
Le fichier tea-and-sympathy-1956-1080p-webrip-x264-aac-yts-(z2)-subsynchro.zip n'a pû être crée dans le dossier include/dl/et donc votre téléchargement n'a pu aboutir.