Пример #1
0
        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>());
        }
Пример #2
0
        public string change_song_metadata(List <Track> songs)
        {
            throw new NotImplementedException();
            //TODO convert to python List/Dictionary
            var pySongs = songs.AsPyList();

            return(pyMobileclient.change_song_metadata(pySongs));
        }
Пример #3
0
        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 string change_song_metadata(List<Track> songs)
		{
			throw new NotImplementedException();
			//TODO convert to python List/Dictionary
			var pySongs = songs.AsPyList();
			return pyMobileclient.change_song_metadata(pySongs);
		}
		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<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>();

		}