mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	added version number to apiclient
This commit is contained in:
		
							parent
							
								
									1e90c8d40c
								
							
						
					
					
						commit
						d97a1af263
					
				@ -610,6 +610,16 @@ namespace MediaBrowser.Model.Dto
 | 
				
			|||||||
            get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Box); }
 | 
					            get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Box); }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        /// <summary>
 | 
				
			||||||
 | 
					        /// Gets a value indicating whether this instance has box image.
 | 
				
			||||||
 | 
					        /// </summary>
 | 
				
			||||||
 | 
					        /// <value><c>true</c> if this instance has box image; otherwise, <c>false</c>.</value>
 | 
				
			||||||
 | 
					        [IgnoreDataMember]
 | 
				
			||||||
 | 
					        public bool HasBoxRearImage
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get { return ImageTags != null && ImageTags.ContainsKey(ImageType.BoxRear); }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// Gets a value indicating whether this instance has menu image.
 | 
					        /// Gets a value indicating whether this instance has menu image.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
 | 
				
			|||||||
@ -512,7 +512,7 @@ namespace MediaBrowser.WebDashboard.Api
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
 | 
					            var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var versionString = string.Format("window.dashboardVersion='{0}';", GetType().Assembly.GetName().Version);
 | 
					            var versionString = string.Format("window.dashboardVersion='{0}';", _appHost.ApplicationVersion);
 | 
				
			||||||
            var versionBytes = Encoding.UTF8.GetBytes(versionString);
 | 
					            var versionBytes = Encoding.UTF8.GetBytes(versionString);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            await memoryStream.WriteAsync(versionBytes, 0, versionBytes.Length).ConfigureAwait(false);
 | 
					            await memoryStream.WriteAsync(versionBytes, 0, versionBytes.Length).ConfigureAwait(false);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user