24 Commits

Author SHA1 Message Date
13e5775c34 Handle embedded subtitles 2021-08-22 11:33:36 -10:00
ec750807b6 Update the subtitles independently 2021-08-22 11:33:36 -10:00
2b2135fd43 Do not download images when already present 2020-11-22 19:51:43 +01:00
7f91b145eb Cleanup the PublicDir / ImgURLPrefix stuff 2020-04-16 16:47:21 +02:00
9494cf571f Use the new papi lib from polochon 2020-04-16 16:06:19 +02:00
7be65b6a9a Get the video images from the models
Return the video details embedded in the torrents

This requires the eventers to have the app env
2020-04-13 17:38:47 +02:00
4206d09954 Fix upsert of torrents
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build was killed
We're missing some infos from the Torrents
We ensure that we set them for now, we'll need to edit the polochon
torrenters so that they put this info
And add a DB constraint, a torrent shouldn't be able to be created
without an imdbID
2020-04-10 17:48:34 +02:00
3bd51765b8 Update papi and polochon to use the new torrent API 2020-04-10 17:09:43 +02:00
54bbbf84f4 Change the shows image path
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
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
91bf3f8cdb Improve GetDetails and Search
We now use the right log object with prefix and return an error on
GetDetails only if the error is Fatal
2020-04-03 14:18:50 +02:00
8a07623668 Edit show.NewWithClient
The func now takes a full polochon.Show instead of just an ImdbID, so
that it we have more than an ImdbID (a TvdbID for example), we can
transmit it to the show.Show
2020-04-03 13:48:12 +02:00
c5e90d55f3 Return info from DB after a refresh 2019-07-26 12:00:29 +00:00
3b397300bc Add the Eventers logic and handlers 2019-07-15 10:29:44 +00:00
07eefe1870 Rename backend/backend in backend/models 2019-07-15 08:29:49 +00:00
9c429ba3d4 Put user in backend 2019-07-15 08:29:49 +00:00
88fc8be462 Download episode thumbs 2019-06-27 14:31:33 +02:00
502bf88feb Update asset management in webpack
This hashes every file and forces the browser to download updated
assets.
2019-06-26 14:08:25 +02:00
f3eeaaca0f Stop resizing the show fanart and banner 2019-05-27 17:21:40 +02:00
178375eb8d Add polochon metadata in movies and shows 2019-05-11 15:50:50 +02:00
1a30447ab1 Update the configuration reading using polochon's way 2019-05-11 15:17:57 +02:00
0ac63cdde6 Backend: Change the way we store polochon config 2019-04-12 22:47:24 +02:00
4bd2057d12 Update gitlab import path 2018-08-16 08:16:26 +02:00
3aab700add Make everything work with the new paths 2018-02-15 13:36:23 +01:00
d0bc31fae4 Move files arround 2018-02-15 13:18:35 +01:00