mirror of
https://github.com/danog/magnaluna.git
synced 2024-11-30 04:19:16 +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
|
||||
|
||||
docs/.jekyll-metadata
|
||||
songs.php
|
||||
_site
|
||||
|
||||
# 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