Jump to content

Etag


TeamB

Recommended Posts

TeamB

How is the ETag calculated?
Is it updated every time an item is updated/saved?

Also I have a list of Episodes and it looks like ALL their ETag's are the same

"Etag": "fe8b16a9eb11b2f7e5da928a76c72ded"

{"Items":[{"Name":"Flesh and Blood","ServerId":"f637b6e96e25488ca95bd7b883dcc704","Id":"10741","Etag":"fe8b16a9eb11b2f7e5da928a76c72ded","DateCreated":"2020-06-06T01:30:08.0000000+00:00","SortName":"Flesh and Blood","PremiereDate":"2006-07-13T14:00:00.0000000+00:00","MediaSources":[{"Protocol":"File","Id":"8086b57b7e07f66f339495ba85c75d1a","Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 10\\s10e01.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"s10e01","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}],"Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 10\\s10e01.mkv","Overview":"As the Ori invade the Jaffa planet Chulak, Vala and Daniel must deal with their leader: Vala's young daughter, rapidly aged by the Ori to serve their purposes.","Taglines":[],"Genres":[],"CommunityRating":7.7,"ProductionYear":2006,"IndexNumber":1,"ParentIndexNumber":10,"IsFolder":false,"Type":"Episode","Studios":[],"GenreItems":[],"ParentLogoItemId":"10736","ParentBackdropItemId":"10736","ParentBackdropImageTags":["bf0c3524f221fb09f8e89575d243d9dd"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false},"SeriesName":"Stargate SG-1","SeriesId":"10736","SeasonId":"10738","SeriesPrimaryImageTag":"5963d6f9e5570e8d2308f5bc89d6bee9","SeasonName":"Season 10","MediaStreams":[],"ImageTags":{"Primary":"d990a3e4a3045b4eff95cb6abd5dc2e9"},"BackdropImageTags":[],"ParentLogoImageTag":"69f20e2b03a526cec34d51c044260c43","ParentThumbItemId":"10736","ParentThumbImageTag":"90bb189dc349036159a1208ee24f18c3","MediaType":"Video"},{"Name":"Morpheus","ServerId":"f637b6e96e25488ca95bd7b883dcc704","Id":"10742","Etag":"fe8b16a9eb11b2f7e5da928a76c72ded","DateCreated":"2020-06-06T01:30:08.0000000+00:00","SortName":"Morpheus","PremiereDate":"2006-07-20T14:00:00.0000000+00:00","MediaSources":[{"Protocol":"File","Id":"65d57bfa7d44c9e71222bdf46b0108b4","Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 10\\s10e02.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"s10e02","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}],"Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 10\\s10e02.mkv","Overview":"SG-1 investigates a problem off-world and soon finds that they have become victims themselves: they cannot stay awake. Meanwhile, Vala Mal Doran undergoes an evaluation on Earth, hoping to join SG-1.","Taglines":[],"Genres":[],"CommunityRating":7.3,"ProductionYear":2006,"IndexNumber":2,"ParentIndexNumber":10,"IsFolder":false,"Type":"Episode","Studios":[],"GenreItems":[],"ParentLogoItemId":"10736","ParentBackdropItemId":"10736","ParentBackdropImageTags":["bf0c3524f221fb09f8e89575d243d9dd"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false},"SeriesName":"Stargate SG-1","SeriesId":"10736","SeasonId":"10738","SeriesPrimaryImageTag":"5963d6f9e5570e8d2308f5bc89d6bee9","SeasonName":"Season 10","MediaStreams":[],"ImageTags":{"Primary":"aecce2529e6f7f4aecfff5004110e999"},"BackdropImageTags":[],"ParentLogoImageTag":"69f20e2b03a526cec34d51c044260c43","ParentThumbItemId":"10736","ParentThumbImageTag":"90bb189dc349036159a1208ee24f18c3","MediaType":"Video"},{"Name":"The Ark of Truth","ServerId":"f637b6e96e25488ca95bd7b883dcc704","Id":"10739","Etag":"fe8b16a9eb11b2f7e5da928a76c72ded","DateCreated":"2020-06-06T01:28:42.0000000+00:00","AirsAfterSeasonNumber":10,"SortName":"Ark of Truth","PremiereDate":"2008-03-10T13:00:00.0000000+00:00","MediaSources":[{"Protocol":"File","Id":"0dea92bb47ba78da52dee04bdb90f6ff","Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 00\\Stargate.SG-1.S00E07.Die.Quelle.der.Wahrheit.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"Stargate.SG-1.S00E07.Die.Quelle.der.Wahrheit","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}],"Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 00\\Stargate.SG-1.S00E07.Die.Quelle.der.Wahrheit.mkv","Overview":"As SG-1 searches for an Ancient artifact which they hope can defeat the armies of the Ori, they learn more Ori ships are about to be sent through the Supergate to launch a final assault on Earth. Daniel discovers that the artifact, the Ark of Truth, may be in the Ori home galaxy, and SG-1 embarks aboard the Odyssey to find it, and pre-empt the attack. The IOA has a plan of their own and SG-1 ends up in a distant galaxy fighting two powerful enemies.","Taglines":[],"Genres":[],"CommunityRating":7.8,"ProductionYear":2008,"IndexNumber":7,"ParentIndexNumber":0,"IsFolder":false,"Type":"Episode","Studios":[],"GenreItems":[],"ParentLogoItemId":"10736","ParentBackdropItemId":"10736","ParentBackdropImageTags":["bf0c3524f221fb09f8e89575d243d9dd"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false},"SeriesName":"Stargate SG-1","SeriesId":"10736","SeasonId":"10737","SeriesPrimaryImageTag":"5963d6f9e5570e8d2308f5bc89d6bee9","SeasonName":"Specials","MediaStreams":[],"ImageTags":{"Primary":"35d231edae776f65d8d086dc900e8fb4"},"BackdropImageTags":[],"ParentLogoImageTag":"69f20e2b03a526cec34d51c044260c43","ParentThumbItemId":"10736","ParentThumbImageTag":"90bb189dc349036159a1208ee24f18c3","MediaType":"Video"},{"Name":"Continuum","ServerId":"f637b6e96e25488ca95bd7b883dcc704","Id":"10740","Etag":"fe8b16a9eb11b2f7e5da928a76c72ded","DateCreated":"2020-06-06T01:29:21.0000000+00:00","AirsAfterSeasonNumber":10,"SortName":"Continuum","PremiereDate":"2008-07-28T14:00:00.0000000+00:00","MediaSources":[{"Protocol":"File","Id":"a860a52ac585e59842c753f7eb16ef8f","Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 00\\Stargate.SG-1.S00E08.Continuum.mkv","Type":"Default","Container":"mkv","Size":0,"Name":"Stargate.SG-1.S00E08.Continuum","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}],"Path":"C:\\Data\\media\\TVShows\\Stargate SG-1\\Season 00\\Stargate.SG-1.S00E08.Continuum.mkv","Overview":"While SG-1 attends the execution of Ba'al, the last of the Goa'uld System Lords, Teal'c and Vala inexplicably disappear into thin air. Carter, Daniel and Mitchell race back to a world where history has been changed: the Stargate program has been erased from the timeline. As they try to convince the authorities what's happened, a fleet of Goa'uld motherships arrives in orbit, led by Ba'al, his queen, Qetesh (Vala), and his first prime, Teal'c. SG-1 must find the Stargate and set things right before the world is enslaved by the Goa'uld.","Taglines":[],"Genres":[],"CommunityRating":8.1,"ProductionYear":2008,"IndexNumber":8,"ParentIndexNumber":0,"IsFolder":false,"Type":"Episode","Studios":[],"GenreItems":[],"ParentLogoItemId":"10736","ParentBackdropItemId":"10736","ParentBackdropImageTags":["bf0c3524f221fb09f8e89575d243d9dd"],"UserData":{"PlaybackPositionTicks":0,"PlayCount":0,"IsFavorite":false,"Played":false},"SeriesName":"Stargate SG-1","SeriesId":"10736","SeasonId":"10737","SeriesPrimaryImageTag":"5963d6f9e5570e8d2308f5bc89d6bee9","SeasonName":"Specials","MediaStreams":[],"ImageTags":{"Primary":"748e1ae77630ff7bbbddecc55ea0f043"},"BackdropImageTags":[],"ParentLogoImageTag":"69f20e2b03a526cec34d51c044260c43","ParentThumbItemId":"10736","ParentThumbImageTag":"90bb189dc349036159a1208ee24f18c3","MediaType":"Video"}],"TotalRecordCount":4}

This does not sound correct or an I doing something wrong?

Link to comment
Share on other sites

It's currently using date last saved into the database, so that's probably why it's the same for the episodes. Try using the metadata editor on one and just clicking save, and then it should return a new value.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...