This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:ubuntu:alexamusictodatabase [2020/04/06 18:32] – [Bashscript] lunetikk | linux:ubuntu:alexamusictodatabase [2021/12/29 00:15] – lunetikk | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Add played music to database | ====== Add played music to database | ||
This script is an updated version of my script to [[linux: | This script is an updated version of my script to [[linux: | ||
+ | |||
+ | Update 2021-12-29: Amazon redesigned the output via alexa.amazon.de, | ||
===== Database ===== | ===== Database ===== | ||
Line 109: | Line 111: | ||
DBALBUM=$(mysql --login-path=$LOGIN -D $DB -se " | DBALBUM=$(mysql --login-path=$LOGIN -D $DB -se " | ||
- | if [ -z "$DBTITLE" ] | + | if [ -z "$DBTRACK" ] |
then | then | ||
if [ -z " | if [ -z " |