mirror of
https://github.com/danog/magnaluna.git
synced 2024-12-02 09:17:49 +01:00
Merge branch 'master' of github.com:danog/magnaluna
This commit is contained in:
commit
499f1d8ec8
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,7 +6,6 @@ magnabroadcast.php
|
|||||||
broadcast.php
|
broadcast.php
|
||||||
|
|
||||||
docs/.jekyll-metadata
|
docs/.jekyll-metadata
|
||||||
songs.php
|
|
||||||
_site
|
_site
|
||||||
|
|
||||||
# JetBrains IDE
|
# JetBrains IDE
|
||||||
|
11
songs.php
Normal file
11
songs.php
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$songs = \glob('*raw');
|
||||||
|
if (!$songs) {
|
||||||
|
die('No songs defined! Convert some songs as described in https://docs.madelineproto.xyz/docs/CALLS.html#playing-mp3-files');
|
||||||
|
}
|
||||||
|
$songs_length = \count($songs);
|
||||||
|
|
||||||
|
for ($x = 0; $x < $songs_length; $x++) {
|
||||||
|
\shuffle($songs);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user