Lucas BEE 54bbbf84f4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Change the shows image path
From img/shows/ttXXXXX-1-1.png and img/shows/ttXXXXX-banner.png
To   img/shows/ttXXXXX/1-1.png and img/shows/ttXXXXX/banner.png

Rewrite things while we're here

Example of scripts to migrate from old path to new path:

dir="shows"
for file in "$dir"/*; do
        # Replace the first - by a / in order to get the new image path
        newfile=$(echo "$file" | sed 's/-/\//')
        # Delete everything after the first - in order to get the show path
        showpath=$(echo "$file" | sed 's/-.*//')
        [ ! -d "$showpath" ] && mkdir "$showpath"
        mv "$file" "$newfile"
done
2020-04-07 17:46:42 +02:00
..
2020-03-02 13:07:04 +01:00
2020-03-02 13:07:04 +01:00
2019-07-15 08:29:49 +00:00
2020-04-03 13:48:12 +02:00
2020-04-06 18:20:28 +02:00
2020-04-03 14:18:50 +02:00
2020-04-07 17:46:42 +02:00
2018-02-15 13:18:35 +01:00
2020-03-02 13:07:04 +01:00
2020-02-26 14:38:33 +01:00
2020-03-01 16:29:56 +01:00
2018-02-16 13:28:25 +01:00