当前位置:正文

格林童话 通过api获得网易云音乐歌曲信息(获得mp3地址以及在线播放)

发布日期:2024-09-27 15:54    点击次数:104

格林童话 通过api获得网易云音乐歌曲信息(获得mp3地址以及在线播放)

from clipboard using Microsoft.Win32;using System;using System.Net;using System.Windows;using System.Windows.Input;using NeteaseCloudMusicTool.DataClass;using System.Windows.Controls;using System.Windows.Media;namespace NeteaseCloudMusicTool{ /// <summary> /// MainWindow.xaml 的交互逻辑 /// </summary> public partial class MainWindow : Window { String jsonDetail = String.Empty; String jsonUrl = String.Empty; String id = String.Empty; String br = "320000"; //String sId = String.Empty; String sUrl = String.Empty; String sBr = String.Empty; String sName = String.Empty; //String sBitrate = String.Empty; String sArtist = String.Empty; String sAlbum = String.Empty; String sDuration = String.Empty; String directory = String.Empty; MediaPlayer player = new MediaPlayer(); public MainWindow() { InitializeComponent(); } private async void btnGetInfo_Click(object sender, RoutedEventArgs e) { if (txtId.Text == String.Empty) { MessageBox.Show("请输入ID"格林童话, "网易云音乐用具"); return; } if (txtId.Text.Trim().StartsWith("http") 哥也色格林童话



Powered by 性感尤物 @2013-2022 RSS地图 HTML地图

Copyright Powered by站群 © 2013-2024 版权所有