Skip to content

Commit

Permalink
Update animes-renamer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Arial-Z committed Jan 21, 2023
1 parent 8da3c26 commit 863d598
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions animes-renamer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,12 @@ do
echo " studio: ${mal_studios}" >> $animes_titles
printf "$(date +%Y.%m.%d" - "%H:%M:%S)\t\tstudio : $mal_studios\n" >> $LOG
get-mal-poster # check / download poster
echo " file_poster: $POSTERS_PMM_FOLDER/${mal_id}.jpg" >> $animes_titles
printf "$(date +%Y.%m.%d" - "%H:%M:%S)\t\tPoster added\n" >> $LOG
if [ "$PMM_INSTALL_TYPE" == "docker" ]
then
echo " file_poster: $POSTERS_PMM_FOLDER/${mal_id}.jpg" >> $animes_titles
printf "$(date +%Y.%m.%d" - "%H:%M:%S)\t\tPoster added\n" >> $LOG
else
echo " file_poster: $POSTERS_FOLDER/${mal_id}.jpg" >> $animes_titles
printf "$(date +%Y.%m.%d" - "%H:%M:%S)\t\tPoster added\n" >> $LOG
fi
done < $SCRIPT_FOLDER/ID/animes.tsv

0 comments on commit 863d598

Please sign in to comment.