Angelblue05 4130 Posted June 26, 2019 Share Posted June 26, 2019 (edited) Currently on 4.2.0.20. Not sure when this started so I put it here. I have episodes with bad LastPlayedDate 1970-01-01 00:00:01+00:00, it won't update that value no matter what I do. I had an unwatched episode and which I've watched in the web client and that value is definitely coming from the server. Edit: It seems to be a bug beyond episodes, music also have that bad date. Edited June 26, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 26, 2019 Share Posted June 26, 2019 I am not see that when I checked in the api or in the database. Are you looking at the new column in the table? LastPlayedDateInt Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 26, 2019 Author Share Posted June 26, 2019 I am looking at swagger and also in Kodi. Even new title you just watched? { "Items": [ { "Name": "Final Three", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "35082", "RunTimeTicks": 25920839680, "IndexNumber": 15, "ParentIndexNumber": 17, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "35032", "ParentBackdropItemId": "35032", "ParentBackdropImageTags": [ "a573af88592976693ffea8116f9e674a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 2, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "74897017015" }, "SeriesName": "Hell's Kitchen", "SeriesId": "35032", "SeasonId": "35035", "SeriesPrimaryImageTag": "813aef67a559f87391c599f97c45a99d", "SeasonName": "Season 17", "ImageTags": { "Primary": "807bf3a3f480bf93eac2beaa3d54a215" }, "BackdropImageTags": [], "ParentLogoImageTag": "e1146d017dcd492f5d1a5b48958ffc06", "ParentThumbItemId": "35032", "ParentThumbImageTag": "3b7e4ab6c21b14af51e8903896e82c3b", "MediaType": "Video" }, { "Name": "All-Stars Arrive", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "35069", "RunTimeTicks": 25842149376, "IndexNumber": 1, "ParentIndexNumber": 17, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "35032", "ParentBackdropItemId": "35032", "ParentBackdropImageTags": [ "a573af88592976693ffea8116f9e674a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 2, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "74897017001" }, "SeriesName": "Hell's Kitchen", "SeriesId": "35032", "SeasonId": "35035", "SeriesPrimaryImageTag": "813aef67a559f87391c599f97c45a99d", "SeasonName": "Season 17", "ImageTags": { "Primary": "ad3246c0e946007ba5dd95ab2ea827ea" }, "BackdropImageTags": [], "ParentLogoImageTag": "e1146d017dcd492f5d1a5b48958ffc06", "ParentThumbItemId": "35032", "ParentThumbImageTag": "3b7e4ab6c21b14af51e8903896e82c3b", "MediaType": "Video" }, { "Name": "And the Soft Opening", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "36954", "RunTimeTicks": 12976000000, "IndexNumber": 1, "ParentIndexNumber": 3, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "42187", "ParentBackdropItemId": "42187", "ParentBackdropImageTags": [ "5001d5372a7a3a2f34ad1de91f43850a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 4, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "248741003001" }, "SeriesName": "2 Broke Girls", "SeriesId": "42187", "SeasonId": "36837", "SeriesPrimaryImageTag": "f6e13eddc56c3919cf46030450ff7320", "SeasonName": "Season 3", "ImageTags": { "Primary": "9eb0aea79b778668ca77d8f271a0eb4c" }, "BackdropImageTags": [], "ParentLogoImageTag": "2477f5dda61c6d97e5fd9249ab33db02", "ParentThumbItemId": "42187", "ParentThumbImageTag": "e8593e9640fd11fb737eaa6ce251c54d", "MediaType": "Video" } ], "TotalRecordCount": 3 } Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 26, 2019 Share Posted June 26, 2019 I am looking at swagger and also in Kodi. Even new title you just watched? { "Items": [ { "Name": "Final Three", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "35082", "RunTimeTicks": 25920839680, "IndexNumber": 15, "ParentIndexNumber": 17, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "35032", "ParentBackdropItemId": "35032", "ParentBackdropImageTags": [ "a573af88592976693ffea8116f9e674a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 2, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "74897017015" }, "SeriesName": "Hell's Kitchen", "SeriesId": "35032", "SeasonId": "35035", "SeriesPrimaryImageTag": "813aef67a559f87391c599f97c45a99d", "SeasonName": "Season 17", "ImageTags": { "Primary": "807bf3a3f480bf93eac2beaa3d54a215" }, "BackdropImageTags": [], "ParentLogoImageTag": "e1146d017dcd492f5d1a5b48958ffc06", "ParentThumbItemId": "35032", "ParentThumbImageTag": "3b7e4ab6c21b14af51e8903896e82c3b", "MediaType": "Video" }, { "Name": "All-Stars Arrive", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "35069", "RunTimeTicks": 25842149376, "IndexNumber": 1, "ParentIndexNumber": 17, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "35032", "ParentBackdropItemId": "35032", "ParentBackdropImageTags": [ "a573af88592976693ffea8116f9e674a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 2, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "74897017001" }, "SeriesName": "Hell's Kitchen", "SeriesId": "35032", "SeasonId": "35035", "SeriesPrimaryImageTag": "813aef67a559f87391c599f97c45a99d", "SeasonName": "Season 17", "ImageTags": { "Primary": "ad3246c0e946007ba5dd95ab2ea827ea" }, "BackdropImageTags": [], "ParentLogoImageTag": "e1146d017dcd492f5d1a5b48958ffc06", "ParentThumbItemId": "35032", "ParentThumbImageTag": "3b7e4ab6c21b14af51e8903896e82c3b", "MediaType": "Video" }, { "Name": "And the Soft Opening", "ServerId": "b1ef1940b1964e2188f00b73611d53fd", "Id": "36954", "RunTimeTicks": 12976000000, "IndexNumber": 1, "ParentIndexNumber": 3, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "42187", "ParentBackdropItemId": "42187", "ParentBackdropImageTags": [ "5001d5372a7a3a2f34ad1de91f43850a" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 4, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "248741003001" }, "SeriesName": "2 Broke Girls", "SeriesId": "42187", "SeasonId": "36837", "SeriesPrimaryImageTag": "f6e13eddc56c3919cf46030450ff7320", "SeasonName": "Season 3", "ImageTags": { "Primary": "9eb0aea79b778668ca77d8f271a0eb4c" }, "BackdropImageTags": [], "ParentLogoImageTag": "2477f5dda61c6d97e5fd9249ab33db02", "ParentThumbItemId": "42187", "ParentThumbImageTag": "e8593e9640fd11fb737eaa6ce251c54d", "MediaType": "Video" } ], "TotalRecordCount": 3 } My item I watched about 25 minutes ago. Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 26, 2019 Author Share Posted June 26, 2019 I've restarted my server. Same deal, I just watched an episode and again that 1970 gets set as the LastPlayedDate. @@PenkethBoy Is this something you are seeing on 4.2.0.20? Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 26, 2019 Share Posted June 26, 2019 I don't know the api very well but looking at the series/show I see what you see. /Shows/{Id}/Episodes { "Name": "Splinter", "ServerId": "0fc9b24b54ec4d61b323d8098d91d8f0", "Id": "7185", "PremiereDate": "2015-01-16T08:00:00.0000000+00:00", "RunTimeTicks": 28069750000, "IndexNumber": 1, "ParentIndexNumber": 1, "IsFolder": false, "Type": "Episode", "ParentLogoItemId": "7142", "ParentBackdropItemId": "7142", "ParentBackdropImageTags": [ "4aeea6ece5e26d28c37b94e7538d62ff" ], "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 1, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "272644001001" /Users/{UserId}/Items/{Id} "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 1, "IsFavorite": false, "LastPlayedDate": "2019-06-26T23:07:04.0000000+00:00", "Played": true, "Key": "272644001001" }, 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 26, 2019 Author Share Posted June 26, 2019 (edited) @@Happy2Play I've checked on my side and I am using /Items with the ids key. I do not use Items/{Id} but that's good to know it might just be an api bug where the value isn't returned correctly. @@Luke Is this something you can replicate? Edited June 26, 2019 by Angelblue05 Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 27, 2019 Share Posted June 27, 2019 (edited) I see the same with /items with ids key, where /Users/{UserId}/Items/{Id} returns LastPlayedDate correctly. http://localhost:8096/emby/Items?Ids=7185&UserId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 1, "IsFavorite": false, "LastPlayedDate": "1970-01-01T00:00:01.0000000+00:00", "Played": true, "Key": "272644001001" } http://localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items/7185?api_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "UserData": { "PlaybackPositionTicks": 0, "PlayCount": 1, "IsFavorite": false, "LastPlayedDate": "2019-06-26T23:07:04.0000000+00:00", "Played": true, "Key": "272644001001" } Edited June 27, 2019 by Happy2Play 1 Link to comment Share on other sites More sharing options...
Luke 36887 Posted June 27, 2019 Share Posted June 27, 2019 what is the query url? Link to comment Share on other sites More sharing options...
Luke 36887 Posted June 27, 2019 Share Posted June 27, 2019 Nevermind, I see the issue. Thanks. 1 Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted June 27, 2019 Share Posted June 27, 2019 @@Happy2Play I've checked on my side and I am using /Items with the ids key. I do not use Items/{Id} but that's good to know it might just be an api bug where the value isn't returned correctly. @@Luke Is this something you can replicate? Hi Angel Sorry you posted a bit late for me - so just catching up Yes see the same as you and Happy Hopefully Luke has it fixed for the next beta 1 Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 27, 2019 Share Posted June 27, 2019 Resolved in 4.2.0.21 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted June 28, 2019 Author Share Posted June 28, 2019 @@Happy2Play @@Luke Any idea when this would have started? Link to comment Share on other sites More sharing options...
Luke 36887 Posted June 28, 2019 Share Posted June 28, 2019 Probably a few betas ago, so not too long. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now