Adjust Media Module Order
- Title then artist - Replace blank title/artist with "N/A"
This commit is contained in:
10
README.org
10
README.org
@ -5933,7 +5933,15 @@ else
|
|||||||
status_icon=" "
|
status_icon=" "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$status_icon $artist - $title"
|
if [[ $artist == "" ]]; then
|
||||||
|
artist="N/A"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $title == "" ]]; then
|
||||||
|
title="N/A"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$status_icon $title - $artist"
|
||||||
fi
|
fi
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
@ -14,5 +14,13 @@ else
|
|||||||
status_icon=" "
|
status_icon=" "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$status_icon $artist - $title"
|
if [[ $artist == "" ]]; then
|
||||||
|
artist="N/A"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $title == "" ]]; then
|
||||||
|
title="N/A"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "$status_icon $title - $artist"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user