mirror of
				https://github.com/owntone/owntone-server.git
				synced 2025-10-30 00:05:05 -04:00 
			
		
		
		
	[mpd] fix seekid command
Seeking with the seekid command for the currently playing item got broken after introducing the item-id (comparison of item-id passed from client to db-id)
This commit is contained in:
		
							parent
							
								
									7b5c80acf4
								
							
						
					
					
						commit
						350944cddd
					
				| @ -1407,7 +1407,7 @@ mpd_command_seekid(struct evbuffer *evbuf, int argc, char **argv, char **errmsg) | ||||
| 
 | ||||
|   //TODO Allow seeking in songs not currently playing
 | ||||
|   player_get_status(&status); | ||||
|   if (status.id != id) | ||||
|   if (status.item_id != id) | ||||
|     { | ||||
|       ret = asprintf(errmsg, "Given song is not the current playing one, seeking is not supported"); | ||||
|       if (ret < 0) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user