Fixed !!lq when there are radio links in the queue
This commit is contained in:
		@@ -43,7 +43,12 @@ namespace NadekoBot.Modules.Music.Classes
 | 
				
			|||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public uint MaxPlaytimeSeconds { get; set; } = 0;
 | 
					        public uint MaxPlaytimeSeconds { get; set; } = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public TimeSpan TotalPlaytime => new TimeSpan(playlist.Sum(s => s.TotalTime.Ticks));
 | 
					
 | 
				
			||||||
 | 
					        // this should be written better
 | 
				
			||||||
 | 
					        public TimeSpan TotalPlaytime => 
 | 
				
			||||||
 | 
					            playlist.Any(s => s.TotalTime == TimeSpan.MaxValue) ? 
 | 
				
			||||||
 | 
					            TimeSpan.MaxValue : 
 | 
				
			||||||
 | 
					            new TimeSpan(playlist.Sum(s => s.TotalTime.Ticks));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// Users who recently got their music wish
 | 
					        /// Users who recently got their music wish
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user