pub fn request(&mut self) -> Result<Vec<Song>> {
        let args = Query::with("size", self.size)
            .arg("genre", self.genre)
            .arg("fromYear", self.from_year)
            .arg("toYear", self.to_year)
            .arg("musicFolderId", self.folder_id)
            .build();

        let song = self.client.get("getRandomSongs", args)?;
        Ok(get_list_as!(song, Song))
    }
/// Issues the query to the Subsonic server. Returns a list of random
/// songs, modified by the builder.
Issues the query to the Subsonic server. Returns a list of random
songs, modified by the builder.
Issues the query to the Subsonic server . Returns a list of random songs modified by the builder .
pub fn request(&mut self) -> Result<Vec<Song>> {
        let args = Query::with("size", self.size)
            .arg("genre", self.genre)
            .arg("fromYear", self.from_year)
            .arg("toYear", self.to_year)
            .arg("musicFolderId", self.folder_id)
            .build();
        let song = self.client.get("getRandomSongs", args)?;
        Ok(get_list_as!(song, Song))
    }
pub fn request ( & mut self ) -> Result < Vec < Song > > { let args = Query :: with ( " " , self . size ) . arg ( " " , self . genre ) . arg ( " " , self . from_year ) . arg ( " " , self . to_year ) . arg ( " " , self . folder_id ) . build ( ) ; let song = self . client . get ( " " , args ) ? ; Ok ( get_list_as ! ( song Song ) ) }
Issues the query to the Subsonic server.
Issues the query to the Subsonic server .
&mut self
&mut self