mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	PlayTo Error 500 fix
This commit is contained in:
		
							parent
							
								
									d1a9d42eaf
								
							
						
					
					
						commit
						8f7d14eabb
					
				@ -337,7 +337,7 @@ namespace MediaBrowser.Dlna.PlayTo
 | 
			
		||||
                throw new InvalidOperationException("Unable to find service");
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
                .ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
            _lapsCount = GetLapsCount();
 | 
			
		||||
@ -352,7 +352,7 @@ namespace MediaBrowser.Dlna.PlayTo
 | 
			
		||||
 | 
			
		||||
            var service = Properties.Services.FirstOrDefault(s => s.ServiceType == ServiceAvtransportType);
 | 
			
		||||
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
                .ConfigureAwait(false);
 | 
			
		||||
            await Task.Delay(50).ConfigureAwait(false);
 | 
			
		||||
            return true;
 | 
			
		||||
@ -366,7 +366,7 @@ namespace MediaBrowser.Dlna.PlayTo
 | 
			
		||||
 | 
			
		||||
            var service = Properties.Services.FirstOrDefault(s => s.ServiceType == ServiceAvtransportType);
 | 
			
		||||
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, RendererCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
            var result = await new SsdpHttpClient(_httpClient, _config).SendCommandAsync(Properties.BaseUrl, service, command.Name, AvCommands.BuildPost(command, service.ServiceType, 1))
 | 
			
		||||
                .ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
            await Task.Delay(50).ConfigureAwait(false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user