add last, next

This commit is contained in:
jb-alvarado 2022-02-20 22:09:52 +01:00
parent 385469a81e
commit cd9a4e0a7e

View File

@ -26,6 +26,8 @@ pub struct Program {
pub cmd: Option<Vec<String>>, pub cmd: Option<Vec<String>>,
pub filter: Option<Vec<String>>, pub filter: Option<Vec<String>>,
pub probe: Option<MediaProbe>, pub probe: Option<MediaProbe>,
pub last_ad: Option<bool>,
pub next_ad: Option<bool>,
} }
pub fn read_json(config: &Config, seek: bool) -> Playlist { pub fn read_json(config: &Config, seek: bool) -> Playlist {