Skip to content

Commit

Permalink
JQ was using relative path
Browse files Browse the repository at this point in the history
Changed call to JQ to use full path instead of relative path
  • Loading branch information
jasoveen committed Oct 4, 2016
1 parent 9fdcb61 commit 9a8548b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions callbacks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ case $operation in
fi

# Use jq to parse our JSON data
artist=$(echo $DATA | ./jq/jq -r ".artist")
title=$(echo $DATA | ./jq/jq -r ".title")
artist=$(echo $DATA | $(dirname $0)/jq/jq -r ".artist")
title=$(echo $DATA | $(dirname $0)/jq/jq -r ".title")

# Try to grab artist if Media exists. This assumes the filename
# is "Artist - Title.extension"
Expand Down

0 comments on commit 9a8548b

Please sign in to comment.