spam less
This commit is contained in:
parent
58c2251b50
commit
ee532e5abb
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ mod imp {
|
||||||
let api = self.api.borrow();
|
let api = self.api.borrow();
|
||||||
Rc::clone(api.as_ref().unwrap())
|
Rc::clone(api.as_ref().unwrap())
|
||||||
};
|
};
|
||||||
for song in api.random_songs(500).await.unwrap().into_iter() {
|
for song in api.random_songs(50).await.unwrap().into_iter() {
|
||||||
let song = Song::from_child(&self.obj(), &song);
|
let song = Song::from_child(&self.obj(), &song);
|
||||||
self.mpv
|
self.mpv
|
||||||
.command(["loadfile", &song.stream_url(), "append-play"])
|
.command(["loadfile", &song.stream_url(), "append-play"])
|
||||||
|
|
Loading…
Reference in a new issue