mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 05:43:01 +00:00 
			
		
		
		
	merge branch browse
This commit is contained in:
		| @@ -353,7 +353,10 @@ function webSocketConnect() { | ||||
|                         click: function() { | ||||
|                             switch($(this).attr('class')) { | ||||
|                                 case 'dir': | ||||
|                                     app.setLocation("#/browse/0/"+$(this).attr("uri")); | ||||
|                                     pagination = 0; | ||||
|                                     browsepath = $(this).attr("uri"); | ||||
|                                     $("#browse > a").attr("href", '#/browse/'+pagination+'/'+browsepath); | ||||
|                                     app.setLocation('#/browse/'+pagination+'/'+browsepath); | ||||
|                                     break; | ||||
|                                 case 'song': | ||||
|                                     socket.send("MPD_API_ADD_TRACK," + decodeURI($(this).attr("uri"))); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SuperBFG7
					SuperBFG7