mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-10-31 02:27:18 -04:00 
			
		
		
		
	Prevent 400 error when using navigation buttons. (cherry picked from commit 8b69b0f5217e7dcda395449a56d59571b264b2a6) Signed-off-by: crobibero <cody@robibe.ro>
		
			
				
	
	
		
			28 lines
		
	
	
		
			603 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			603 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| #pragma warning disable CS1591
 | |
| 
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text.Json.Serialization;
 | |
| 
 | |
| namespace MediaBrowser.Model.Session;
 | |
| 
 | |
| public class GeneralCommand
 | |
| {
 | |
|     public GeneralCommand()
 | |
|         : this(new Dictionary<string, string>())
 | |
|     {
 | |
|     }
 | |
| 
 | |
|     [JsonConstructor]
 | |
|     public GeneralCommand(Dictionary<string, string>? arguments)
 | |
|     {
 | |
|         Arguments = arguments ?? new Dictionary<string, string>();
 | |
|     }
 | |
| 
 | |
|     public GeneralCommandType Name { get; set; }
 | |
| 
 | |
|     public Guid ControllingUserId { get; set; }
 | |
| 
 | |
|     public Dictionary<string, string> Arguments { get; }
 | |
| }
 |