Commit Graph

54 Commits

Author SHA1 Message Date
8461747d02 Imp errors 2024-12-17 14:31:16 +01:00
0929e681ce Add releaseDate attr to music struct 2024-12-17 14:30:44 +01:00
80b872d6e9 Add FetchImageFromGoogle function for the images download
From now on we can use both: fanart and google for the images download. By
default it will be using fanart but if we want to use google because images
in fanart are not appropriate (or it didn't find anything because the
content is Spanish or reasons), we can add the following to the .md:

```yml
query: google
```

And it should use google for image searching instead of fanart.
2024-12-17 14:29:54 +01:00
bd4b1c3059 Fixes quotes in progress and episode fields 2024-12-12 13:19:38 +01:00
9ba5647ddc Fixes quotes in progress field 2024-10-28 12:58:16 +01:00
3ac796e743 Go mod updates 2024-10-28 12:58:04 +01:00
9723046c56 Added different image sizes 2024-10-28 12:57:45 +01:00
e88fe268f1 Fixes date regexp for the update 2024-10-25 09:46:19 +02:00
b8859acc28 Added --help parameter + README 2024-10-25 09:36:05 +02:00
d4836c1d95 Cosmetics 2024-10-24 17:16:20 +02:00
e810c7d9a6 Fix a bug with the progress field and the quotes 2024-10-24 17:15:59 +02:00
d8a4bfd6f3 Minor stuff 2024-10-14 16:52:23 +02:00
2503bc9ebb Fix: update by default
From now on, the update option (no api calls involved) is the default one.
No matter if --update is being passed in the command line, it's the default option if there
is no a "new: true" variable in the yaml.

If there is a "new: true" variable in the yaml that entry will be processed as new, calling
all the apis we need to call to archive the right information.
2024-10-14 16:52:15 +02:00
9d30151d46 Added --update param to movies 2024-10-14 16:49:56 +02:00
a3b11e9e5b Added --update param to music 2024-10-14 13:48:49 +02:00
d0f44bdc0b Added --update param to series 2024-10-14 13:44:24 +02:00
5ce0c35a11 Fix: prevent api calls if we are updating 2024-10-14 13:44:07 +02:00
ad98329552 Fix: field replacement with quotes 2024-10-14 13:43:41 +02:00
c7bc40ba33 Minor stuff 2024-10-11 22:54:35 +02:00
2ec7e6cd85 Added --update param to games 2024-10-11 22:54:29 +02:00
c9a30a3767 Fix: title cant be updated
Doesn't make sense because the first thing it does is to search by title in disk
The md won't be found
2024-10-11 22:48:21 +02:00
28ffc9c77b Add markdown utils 2024-10-11 22:44:33 +02:00
410f50f716 Added --update param
It's being used to only update some frontmatter fields:

- title
- progress
- rate
- date
2024-10-11 22:43:44 +02:00
c7b120a1e5 Added if in Overview field in templates 2024-10-11 22:42:35 +02:00
78f919158e Fix: priting errors 2024-10-11 21:24:46 +02:00
6f7a5c9b74 Add "Episode" field to series 2024-10-11 20:20:16 +02:00
f4fa3055f3 Minor aeshtetic changes 2024-10-11 20:20:01 +02:00
501ca7313c Minor changes 2024-10-11 13:05:57 +02:00
9161423a4b Added music 2024-10-11 13:05:46 +02:00
a9989ad8fa Added utils.Print() to utils 2024-10-10 20:04:06 +02:00
769fc87f0a Added games 2024-10-10 20:03:49 +02:00
0920771bbf Fix book link 2024-10-10 14:31:03 +02:00
ce99b3a3c6 Added --media argument
You can execute the script as it is to process all the kind of media content
OR you can select the media you want to only process that kind of content:

--media movies
--media series
--media books
--media games
--media music
2024-10-10 14:22:15 +02:00
ccb115a75b Sluggify function added to utils 2024-10-10 14:13:55 +02:00
6a6217ae31 Added books 2024-10-10 14:13:40 +02:00
afb40f9a2d Update: env and mod/sum to be ready for the books 2024-10-10 14:12:36 +02:00
c7d6e9f72e Get rid of stupid file comments 2024-10-10 11:47:05 +02:00
e182dcd9f8 Comment debug prints 2024-10-09 21:56:56 +02:00
38a946f946 Added series 2024-10-09 21:56:40 +02:00
48fd96763d Fix some output paths to match the way I'm structuring the info in Hugo 2024-10-09 21:14:25 +02:00
801fb461ca Add trakt_token.json to gitignore 2024-10-09 21:06:38 +02:00
865425690d Go mod updates 2024-10-09 21:05:53 +02:00
7b75b3a5aa Update env.sample 2024-10-09 21:05:40 +02:00
b2e4deefdd Changes in movies code 2024-10-09 21:05:11 +02:00
43af80014f Fixes the image fields in the template 2024-10-09 21:04:32 +02:00
5cd9f422ea Add utils (Debug, DebugBody, Sep...) 2024-10-09 21:04:10 +02:00
fb4f5c7ed6 Add "services" (api_services) at same level than controller and model 2024-10-09 21:03:47 +02:00
f2ecb56657 Delete services subdirectory 2024-10-09 21:03:07 +02:00
16b7e40a6a Refactor 2024-10-09 11:12:44 +02:00
d5cc40c0db Adding per item services 2024-10-08 21:28:40 +02:00