mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 03:04:49 +03:00
add tvdb and games db to xml savers
This commit is contained in:
@@ -464,6 +464,22 @@ namespace MediaBrowser.Controller.Providers
|
||||
break;
|
||||
}
|
||||
|
||||
case "TvDbId":
|
||||
var tvdbId = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(tvdbId))
|
||||
{
|
||||
item.SetProviderId(MetadataProviders.Tvdb, tvdbId);
|
||||
}
|
||||
break;
|
||||
|
||||
case "GamesDbId":
|
||||
var gamesdbId = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(gamesdbId))
|
||||
{
|
||||
item.SetProviderId(MetadataProviders.Gamesdb, gamesdbId);
|
||||
}
|
||||
break;
|
||||
|
||||
case "MusicbrainzId":
|
||||
var mbz = reader.ReadElementContentAsString();
|
||||
if (!string.IsNullOrWhiteSpace(mbz))
|
||||
|
||||
Reference in New Issue
Block a user