Tags: simulot/aspiratv
Tags
Code refactoring
- decouple user interface from pulling and download tasks. This will ease the realization of a web front end.
- fix clunky code
- concurency management
- logs
- Change command line flag management. (breaking change)
- now use pflag library to provide a set of options for each sub-commands
- command `run` (default) for dowloading show according config.json file
- command `download` for downloading a show according options on the command line
- Remove over complicated code
- http client
- html parsing
- Remove unused code
- Update dependencies
- multiple progress bars
- Fix go lint warnings
- Fix FFMPEG errors not sent to the log file
- Improve ^C handling
- remove dirs created by interupted download
- Faster exit
version 0.14.0
## New features
- add flags
- --name-template to give the media's file name template
- --season-template go give the season part template of the path
- add fields to config.json
- SeasonPathTemplate
> Template for season path, can be empty to skip season in path. When missing uses default naming
- ShowNameTemplate
>Template for the name of mp4 file, can't be empty. When missing, uses default naming
- TitleFilter
>ShowTitle or Episode title must match this regexp to be downloaded
- TitleExclude
>ShowTitle and Episode title must not match this regexp to be downloaded
- Name template implementation
- for movies
> `{{.Title}}.mp4`
- for shows
> `{{.Showtitle}} - {{.Aired.Time.Format "2006-01-02"}}.mp4`
- for series
> `{{.Showtitle}} - s{{.Season | printf "%02d" }}e{{.Episode | printf "%02d" }} - {{.Title}}.mp4`
- Season path template implementation
- for movies
> (empty)
- for shows:
> `Season {{.Aired.Time.Year | printf "%04d" }}`
- for series
> `Season {{.Season | printf "%02d" }}`
## Fixes
- artetv
- Fix #67 [artetv] Can't visit URL "Too Many Requests"
- Implementation of query throttling
- Reduce query to search API
Fix for #43 report errors clearly (#48) * Fix artetv collection when --keep-bonuses is false * Fix #43 Report errors - Refactor log system with levels ERROR, INFO, TRACE and DEBUG - INFO, TRACE and DEBUG message are written only on log file when provided - Fatal errors like missing parameter or invalid paths are reported and the program is stopped
PreviousNext