Skip to content

Commit

Permalink
playout daemon sort alphabetically and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MiczFlor committed Apr 15, 2018
1 parent 225a633 commit 076e10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rfid_trigger_play.sh.sample
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ else
then
# write playlist to file using the same name as the folder with ending .m3u
# wrap $PLAYLIST string in "" to keep line breaks
find "$PATHDATA/../shared/audiofolders/$FOLDERNAME" type -f > "$PATHDATA/../playlists/$FOLDERNAME.m3u"
find "$PATHDATA/../shared/audiofolders/$FOLDERNAME" -type f | sort -n > "$PATHDATA/../playlists/$FOLDERNAME.m3u"

# first kill any possible running vlc processn => stop playing audio
sudo pkill vlc
Expand Down

0 comments on commit 076e10c

Please sign in to comment.