implementing PlayNext media
This commit is contained in:
parent
9d5654cd8e
commit
74fa8baa55
3 changed files with 68 additions and 15 deletions
|
|
@ -81,7 +81,7 @@ pub fn parse() -> Arguments {
|
|||
if urls.len() > 1 {
|
||||
arguments.urls = Some(urls);
|
||||
} else {
|
||||
urls.truncate(1);
|
||||
urls.truncate(1); //does nothing because urls is of len 0 or 1 in this case.
|
||||
arguments.url_opt = urls.pop();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue