another sanity check
This commit is contained in:
parent
a0be95189b
commit
129281ea4a
1 changed files with 3 additions and 1 deletions
|
@ -368,7 +368,9 @@ mod imp {
|
|||
}
|
||||
|
||||
fn playlist_count(&self) -> i64 {
|
||||
self.mpv.get_property::<i64>("playlist-count").unwrap()
|
||||
let count = self.mpv.get_property::<i64>("playlist-count").unwrap();
|
||||
assert_eq!(count as u32, self.playlist_model.n_items());
|
||||
count
|
||||
}
|
||||
|
||||
fn song(&self) -> Option<Song> {
|
||||
|
|
Loading…
Reference in a new issue