The result of running the qry_alb.sh script directly:
bash-4.4# bash qry_alb.sh _supertramp _crisis_what_crisis? Artists are: Artist check zero is: qry_alb.sh: line 14: [: ==: unary operator expected Artist found so moving on to albums.... Album check zero is: 0 Albums are: albums 0 20 artist_id%3A search%3A_crisis_what_crisis%3F tags%3Aal count%3A0 no album match setting ID to 0 Artist ID is: Album ID is: 0 now Posting results {"attributes": {}, "context": {"id": "e2b25b8b1eb1469e9948916ad73d9d49", "user_id": null}, "entity_id": "sensor.art_id", "last_changed": "2018-12-01T14:06:38.145783+00:00", "last_updated": "2018-12-01T14:06:38.145783+00:00", "state": ""} {"attributes": {}, "context": {"id": "1820e0c4fa374c0ca6d47f5e7525c013", "user_id": null}, "entity_id": "sensor.alb_id", "last_changed": "2018-12-01T14:06:38.548493+00:00", "last_updated": "2018-12-01T14:06:38.548493+00:00", "state": "0"} ------------------------------------------------------------------------ hopeful's Profile: http://forums.slimdevices.com/member.php?userid=65059 View this thread: http://forums.slimdevices.com/showthread.php?t=109273 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins