mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-02 18:47:18 -05:00 
			
		
		
		
	Update collection id in xml reader and saver
This commit is contained in:
		
							parent
							
								
									50bb545b53
								
							
						
					
					
						commit
						426bf48c7a
					
				@ -571,7 +571,7 @@ namespace MediaBrowser.Controller.Providers
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                case "CollectionNumber":
 | 
					                case "BelongsToCollection":
 | 
				
			||||||
                    var tmdbCollection = reader.ReadElementContentAsString();
 | 
					                    var tmdbCollection = reader.ReadElementContentAsString();
 | 
				
			||||||
                    if (!string.IsNullOrWhiteSpace(tmdbCollection))
 | 
					                    if (!string.IsNullOrWhiteSpace(tmdbCollection))
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
 | 
				
			|||||||
@ -67,7 +67,7 @@ namespace MediaBrowser.Providers.Savers
 | 
				
			|||||||
                    "TVcomId",
 | 
					                    "TVcomId",
 | 
				
			||||||
                    "RottenTomatoesId",
 | 
					                    "RottenTomatoesId",
 | 
				
			||||||
                    "MusicbrainzId",
 | 
					                    "MusicbrainzId",
 | 
				
			||||||
                    "CollectionNumber",
 | 
					                    "BelongsToCollection",
 | 
				
			||||||
                    "Genres",
 | 
					                    "Genres",
 | 
				
			||||||
                    "Genre",
 | 
					                    "Genre",
 | 
				
			||||||
                    "Studios",
 | 
					                    "Studios",
 | 
				
			||||||
@ -343,7 +343,7 @@ namespace MediaBrowser.Providers.Savers
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            if (!string.IsNullOrEmpty(tmdbCollection))
 | 
					            if (!string.IsNullOrEmpty(tmdbCollection))
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                builder.Append("<CollectionNumber>" + SecurityElement.Escape(tmdbCollection) + "</CollectionNumber>");
 | 
					                builder.Append("<BelongsToCollection>" + SecurityElement.Escape(tmdbCollection) + "</BelongsToCollection>");
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (item.Taglines.Count > 0)
 | 
					            if (item.Taglines.Count > 0)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user