mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-10-31 10:37:22 -04:00 
			
		
		
		
	Update PlayToManager.cs
This commit is contained in:
		
							parent
							
								
									d4004bcaf5
								
							
						
					
					
						commit
						ed9021f40b
					
				| @ -130,20 +130,20 @@ namespace Emby.Dlna.PlayTo | |||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private string GetUuid(string usn) |         private static string GetUuid(string usn) | ||||||
|         { |         { | ||||||
|             var found = false; |             var found = false; | ||||||
|             var index = usn.IndexOf("uuid:", StringComparison.OrdinalIgnoreCase); |             var index = usn.IndexOf("uuid:", StringComparison.OrdinalIgnoreCase); | ||||||
|             if (index != -1) |             if (index != -1) | ||||||
|             { |             { | ||||||
|                 usn = usn.Substring(index); |                 usn = usn.Substring(index + 5); | ||||||
|                 found = true; |                 found = true; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             index = usn.IndexOf("::", StringComparison.OrdinalIgnoreCase); |             index = usn.IndexOf("::", StringComparison.OrdinalIgnoreCase); | ||||||
|             if (index != -1) |             if (index != -1) | ||||||
|             { |             { | ||||||
|                 usn = usn.Substring(0, index); |                 usn = usn.Substring(0, index + 2); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             if (found) |             if (found) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user