Update PodcastManager.js

This commit is contained in:
kyle-in-the-cloud 2026-06-07 21:27:38 -07:00
parent 5fd8758404
commit 78deaa17a7

View file

@ -251,9 +251,7 @@ class PodcastManager {
} }
// Update metadata.json after episode download // Update metadata.json after episode download
if (global.ServerSettings.storeMetadataWithItem || libraryItem.media.fetchEpisodeMetadata) {
await libraryItem.saveMetadataFile() await libraryItem.saveMetadataFile()
}
SocketAuthority.libraryItemEmitter('item_updated', libraryItem) SocketAuthority.libraryItemEmitter('item_updated', libraryItem)
const podcastEpisodeExpanded = podcastEpisode.toOldJSONExpanded(libraryItem.id) const podcastEpisodeExpanded = podcastEpisode.toOldJSONExpanded(libraryItem.id)