example cover art download
This commit is contained in:
parent
b168ea1c7e
commit
6e54242c1d
@ -20,6 +20,7 @@ scene rls name > parse > artist / title / year as .tsv > search discogs > .json
|
||||
- `parse-rls.fish` parse scene release name
|
||||
- `search-discogs-api.fish` search discogs release using Discogs REST API
|
||||
- `search-discogs-elastic.fish` search discogs release using ElasticSearch
|
||||
- `search-deezer-api.fish` search for album with Deezer REST API
|
||||
- `out-fallback.jq` fallback search helper
|
||||
- `out-ids.jq` filter ids from json output
|
||||
- `out-simple.jq` filter genre from json output
|
||||
@ -66,3 +67,10 @@ $ jq ._search_result_count out.es.json out.api.json
|
||||
0
|
||||
1
|
||||
```
|
||||
|
||||
With fish shell:
|
||||
|
||||
parse rls names from local folder, search Deezer, filter cover URL, download cover image into local folder
|
||||
```sh
|
||||
ls -1 /path/ | ./parse-rls.fish | ./search-deezer-api.fish | ./out-deezer-cover.jq | while read -l RLS COVER ; if not test -f "/path/$RLS/cover.jpg"; curl -s -o "/path/$RLS/cover.jpg" "$COVER"; end; end
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user