@@ -120,7 +120,7 @@ public void Start()
120120 playbackControls . Add ( playBtn , pauseBtn , stopBtn , increaseVolumeButton , decreaseVolumeButton ) ;
121121
122122 // Create the left-hand playlists view.
123- leftPane = new FrameView ( "Playlists " )
123+ leftPane = new FrameView ( "Artists " )
124124 {
125125 X = 0 ,
126126 Y = 1 , // for menu
@@ -130,7 +130,7 @@ public void Start()
130130 } ;
131131
132132 categories = new List < string > ( ) ;
133- categories . Add ( "Rockin' Tunes " ) ;
133+ categories . Add ( "Zhund " ) ;
134134 categoryListView = new ListView ( categories )
135135 {
136136 X = 0 ,
@@ -148,7 +148,7 @@ public void Start()
148148
149149 leftPane . Add ( categoryListView ) ;
150150
151- rightPane = new FrameView ( "Media " )
151+ rightPane = new FrameView ( "Tracks " )
152152 {
153153 X = 25 ,
154154 Y = 1 , // for menu
@@ -215,8 +215,7 @@ private void OpenStream()
215215 {
216216 var d = new Dialog ( "Open Stream" , 50 , 15 ) ;
217217
218- // Type text here: ______
219- var editLabel = new Label ( "Enter the url of the audio stream to load\n (MP3 only):" )
218+ var editLabel = new Label ( "Enter the url of the audio stream to load:\n (.mp3 only)" )
220219 {
221220 X = 0 ,
222221 Y = 0 ,
@@ -230,9 +229,12 @@ private void OpenStream()
230229 Width = 42 ,
231230 } ;
232231
232+ // d.KeyPress += (a) => streamURL.Text = a.KeyEvent.ToString();
233+
233234 var loadStream = new Button ( 12 , 7 , "Load Stream" ) ;
234235 loadStream . Clicked += ( ) =>
235236 {
237+ this . player . PlayStream ( streamURL . Text . ToString ( ) ) ;
236238 Application . RequestStop ( ) ;
237239 } ;
238240
0 commit comments