Took a stab at altering to provide further support for channels that may release multiple episodes on a given day, so it plays nicer with the Youtube agent. The constructed episode numbers allow the episodes to remain unique and the Meta Agent to correctly pull and apply metadata to the episodes. The 8 digit episode numbers are certainly more unsightly than the episodes being displayed by date, but supplies "better" functionality in the given circumstance.
Still not 100% duplicate proof as you could end up with two episodes on the same day that managed to also be modified within the same minute. However the likelihood of this seems lower than the probability that the current implementation fails (due to Plex limitations).
Felt using the Hour/Minute as an "index" provided more robustness when it comes to seasons that may have episodes added/deleted down the road over an arbitrary "index" that's applied and could change by simply added/deleted something? Seems this would better preserve the metadata and watch history?
Took a stab at altering to provide further support for channels that may release multiple episodes on a given day, so it plays nicer with the Youtube agent. The constructed episode numbers allow the episodes to remain unique and the Meta Agent to correctly pull and apply metadata to the episodes. The 8 digit episode numbers are certainly more unsightly than the episodes being displayed by date, but supplies "better" functionality in the given circumstance.
Still not 100% duplicate proof as you could end up with two episodes on the same day that managed to also be modified within the same minute. However the likelihood of this seems lower than the probability that the current implementation fails (due to Plex limitations).
Felt using the Hour/Minute as an "index" provided more robustness when it comes to seasons that may have episodes added/deleted down the road over an arbitrary "index" that's applied and could change by simply added/deleted something? Seems this would better preserve the metadata and watch history?