Commit Graph

42 Commits (2503bc9ebb59c9771544c475a688c35c3e085dc3)

Author SHA1 Message Date
Óscar M. Lage 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
Óscar M. Lage 9d30151d46 Added --update param to movies 2024-10-14 16:49:56 +02:00
Óscar M. Lage a3b11e9e5b Added --update param to music 2024-10-14 13:48:49 +02:00
Óscar M. Lage d0f44bdc0b Added --update param to series 2024-10-14 13:44:24 +02:00
Óscar M. Lage 5ce0c35a11 Fix: prevent api calls if we are updating 2024-10-14 13:44:07 +02:00
Óscar M. Lage ad98329552 Fix: field replacement with quotes 2024-10-14 13:43:41 +02:00
Óscar M. Lage c7bc40ba33 Minor stuff 2024-10-11 22:54:35 +02:00
Óscar M. Lage 2ec7e6cd85 Added --update param to games 2024-10-11 22:54:29 +02:00
Óscar M. Lage 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
Óscar M. Lage 28ffc9c77b Add markdown utils 2024-10-11 22:44:33 +02:00
Óscar M. Lage 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
Óscar M. Lage c7b120a1e5 Added if in Overview field in templates 2024-10-11 22:42:35 +02:00
Óscar M. Lage 78f919158e Fix: priting errors 2024-10-11 21:24:46 +02:00
Óscar M. Lage 6f7a5c9b74 Add "Episode" field to series 2024-10-11 20:20:16 +02:00
Óscar M. Lage f4fa3055f3 Minor aeshtetic changes 2024-10-11 20:20:01 +02:00
Óscar M. Lage 501ca7313c Minor changes 2024-10-11 13:05:57 +02:00
Óscar M. Lage 9161423a4b Added music 2024-10-11 13:05:46 +02:00
Óscar M. Lage a9989ad8fa Added utils.Print() to utils 2024-10-10 20:04:06 +02:00
Óscar M. Lage 769fc87f0a Added games 2024-10-10 20:03:49 +02:00
Óscar M. Lage 0920771bbf Fix book link 2024-10-10 14:31:03 +02:00
Óscar M. Lage 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
Óscar M. Lage ccb115a75b Sluggify function added to utils 2024-10-10 14:13:55 +02:00
Óscar M. Lage 6a6217ae31 Added books 2024-10-10 14:13:40 +02:00
Óscar M. Lage afb40f9a2d Update: env and mod/sum to be ready for the books 2024-10-10 14:12:36 +02:00
Óscar M. Lage c7d6e9f72e Get rid of stupid file comments 2024-10-10 11:47:05 +02:00
Óscar M. Lage e182dcd9f8 Comment debug prints 2024-10-09 21:56:56 +02:00
Óscar M. Lage 38a946f946 Added series 2024-10-09 21:56:40 +02:00
Óscar M. Lage 48fd96763d Fix some output paths to match the way I'm structuring the info in Hugo 2024-10-09 21:14:25 +02:00
Óscar M. Lage 801fb461ca Add trakt_token.json to gitignore 2024-10-09 21:06:38 +02:00
Óscar M. Lage 865425690d Go mod updates 2024-10-09 21:05:53 +02:00
Óscar M. Lage 7b75b3a5aa Update env.sample 2024-10-09 21:05:40 +02:00
Óscar M. Lage b2e4deefdd Changes in movies code 2024-10-09 21:05:11 +02:00
Óscar M. Lage 43af80014f Fixes the image fields in the template 2024-10-09 21:04:32 +02:00
Óscar M. Lage 5cd9f422ea Add utils (Debug, DebugBody, Sep...) 2024-10-09 21:04:10 +02:00
Óscar M. Lage fb4f5c7ed6 Add "services" (api_services) at same level than controller and model 2024-10-09 21:03:47 +02:00
Óscar M. Lage f2ecb56657 Delete services subdirectory 2024-10-09 21:03:07 +02:00
Óscar M. Lage 16b7e40a6a Refactor 2024-10-09 11:12:44 +02:00
Óscar M. Lage d5cc40c0db Adding per item services 2024-10-08 21:28:40 +02:00
Óscar M. Lage 6a61adcfc5 Removing global services 2024-10-08 21:28:22 +02:00
Óscar M. Lage 7d4e813e83 Adding gitignore 2024-10-08 21:18:52 +02:00
Óscar M. Lage 288fe952f5 Legacy removed 2024-10-08 21:10:56 +02:00
Óscar M. Lage c0b3067f10 Initial commit 2024-10-08 21:08:01 +02:00