Skip to content

Commit 5f4f0f5

Browse files
committed
docs: make sure comparison is correct
1 parent a9012c9 commit 5f4f0f5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Sonos Card for Home Assistant UI with a focus on managing multiple media players
66
This card is nearly identical to the [Maxi Media Player](https://github.com/punxaphil/maxi-media-player), but is optimized for Sonos players. It will, by default, automatically discover all Sonos players in your Home Assistant instance. It also includes some Sonos specific features like queue management and sleep timer.
77
<!-- //#ONLY_SONOS_CARD_END -->
88
<!-- //#ONLY_SONOS_CARD
9-
This card, Maxi Media Player, is a generalisation of the [Sonos Card](https://github.com/punxaphil/custom-sonos-card), and its aim is to work with all media players supported by Home Assistant. In contrast to the Sonos Card, it will not automatically discover your media players, but you will have to specify which ones to use in the configuration.
9+
This card, Maxi Media Player, is a generalisation of the [Sonos Card](https://github.com/punxaphil/custom-sonos-card), and its aim is to work with all media players supported by Home Assistant. In contrast to the Sonos Card, it will not automatically discover your media players, but you will have to specify which ones to use in the configuration. <!-- //#NO_REPLACE_ON_THIS_LINE -->
1010
--> <!-- //#ONLY_SONOS_CARD -->
1111

1212
## Features:

create-dist-maxi-media-player.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ cp $FILE $DIR/
2525
cd $DIR || exit
2626
sed -i '/\/\/#ONLY_SONOS_CARD_START/,/\/\/#ONLY_SONOS_CARD_END/d' $FILE
2727
sed -i ':a;N;$!ba;s/[^\n]*#ONLY_SONOS_CARD[^\n]*\n//g' $FILE
28-
sed -i 's/custom-sonos-card/maxi-media-player/g' $FILE
29-
sed -i 's/custom:sonos-card/custom:maxi-media-player/g' $FILE
30-
sed -i 's/Sonos Card/Maxi Media Player/g' $FILE
31-
sed -i 's/sonos-/mxmp-/g' $FILE
28+
sed -i '/NO_REPLACE_ON_THIS_LINE/!s/custom-sonos-card/maxi-media-player/g' $FILE
29+
sed -i '/NO_REPLACE_ON_THIS_LINE/!s/custom:sonos-card/custom:maxi-media-player/g' $FILE
30+
sed -i '/NO_REPLACE_ON_THIS_LINE/!s/Sonos Card/Maxi Media Player/g' $FILE
31+
sed -i '/NO_REPLACE_ON_THIS_LINE/!s/sonos-/mxmp-/g' $FILE

0 commit comments

Comments
 (0)