public List <string> add_songs_to_playlist(string playlist_id, List <string> song_ids) { var pySongs_IDs = song_ids.AsPyList(); IronPython.Runtime.List tmp = pyMobileclient.add_songs_to_playlist(playlist_id, pySongs_IDs); return(tmp.ToList <string>()); }
public List <RadioStation> get_all_stations(bool incremental = false, bool include_deleted = false, DateTime updated_after = default(DateTime)) { dynamic pyDateTime = pyConvDateTime(updated_after); IronPython.Runtime.List tmp = pyMobileclient.get_all_stations(incremental, include_deleted, pyDateTime); return(tmp.ToList <RadioStation>()); }
public List <string> remove_entries_from_playlist(List <string> entry_ids) { //throw new NotImplementedException(); //TODO convert to python List var pyEntry_IDs = entry_ids.AsPyList(); IronPython.Runtime.List tmp = pyMobileclient.remove_entries_from_playlist(pyEntry_IDs); return(tmp.ToList <string>()); }
public List <Track> get_all_songs(bool incremental = false, bool include_deleted = false) { IronPython.Runtime.List tmp = pyMobileclient.get_all_songs(incremental, include_deleted); return(tmp.ToList <Track>()); }
public List <Genre> get_genres(string parent_genre_id = null) { IronPython.Runtime.List tmp = pyMobileclient.get_genres(parent_genre_id); return(tmp.ToList <Genre>()); }
public List <string> delete_stations(List <string> station_ids) { //TODO convert to python List IronPython.Runtime.List tmp = pyMobileclient.delete_stations(station_ids); return(tmp.ToList <string>()); }
public List <Track> get_station_tracks(string station_id, int num_tracks = 25, List <string> recently_played_ids = null) { //TODO convert to python List IronPython.Runtime.List tmp = pyMobileclient.get_station_tracks(station_id, num_tracks, recently_played_ids); return(tmp.ToList <Track>()); }
public List <RegisteredDevice> get_registered_devices() { IronPython.Runtime.List tmp = pyMobileclient.get_registered_devices(); return(tmp.ToList <RegisteredDevice>()); }
public List <SharedPlaylistsContents.Track> get_shared_playlist_contents(string share_token) { IronPython.Runtime.List tmp = pyMobileclient.get_shared_playlist_contents(share_token); return(tmp.ToList <SharedPlaylistsContents.Track>()); }
public List <UserPlaylistsContents> get_all_user_playlist_contents() { IronPython.Runtime.List tmp = pyMobileclient.get_all_user_playlist_contents(); return(tmp.ToList <UserPlaylistsContents>()); }
public List <Track> get_promoted_songs() { IronPython.Runtime.List tmp = pyMobileclient.get_promoted_songs(); return(tmp.ToList <Track>()); }