12 lines
375 B
Makefile
12 lines
375 B
Makefile
parse:
|
|
-rm -v es-*
|
|
python3 iTunesParser.py -f iTunes\ Library.xml -F json
|
|
|
|
send-all:
|
|
just send songs
|
|
just send artists
|
|
just send albums
|
|
|
|
send type:
|
|
curl -X POST 'localhost:7700/indexes/itunes-{{type}}/documents?primaryKey=Persistent%20ID' -H 'Content-Type: application/json' -H 'Authorization: Bearer aSampleMasterKey' --data-binary @es-{{type}}.json
|