Jump to content

Possible bug - identify causes items to disappear


Influencer

Recommended Posts

Influencer

I've been going through and identifying movies that a match wasn't found automatically. This has all been done on the webapp using chrome.

 

If I identify a movie, when the page refreshes there are less items on screen than before. At first I can still click the arrow to change pages and fix another movie, but after 2 or 3 times of doing this the arrows are both grayed out indicating there are no other pages and there will only be 15-20 items listed. Manually refreshing fixes this and all items appear again until I fix another movie.

 

To Reproduce:

  1. Open the emby web app (I use Chrome)
  2. Find a movie that has been improperly identified or not identified
  3. Click 3 dots and select "Identify"
  4. Search for movie, choose correct selection
  5. When page refreshes, items are missing. Sometimes it takes me to a blank page and I can click the back arrow and there will be items there. But no where near the entire collection is available

Refreshing the page and all items reappear.

 

This is using Version 4.0.2.0. 

 

Link to comment
Share on other sites

  • 2 months later...
Influencer

Hey, sorry for such a late response. I didnt have it set to auto follow created topics so never got a notification of your response.

 

An example... let's say I have a library with movies named "movie 1", "movie 2"..."movie 20ç. A handful of them need to be identified.

 

Say I click on movie 2 and identify the movie, when it's done and the screen refreshes, movie 3, movie 7 and movie 10 may disappear from the view. What disappears seems random. It's easier to notice if you have a sample library with only a handful of movies so you can visually see there is less in the list. For example if you start with 4 rows of 5, after identifying one you may have 3 rows of 5 and 1 row of 2.

 

Refreshing the page brings everything back.

 

Let me know if I can elaborate further. I'll try to create a screen capture video of exactly what happens tomorrow and can upload it to YouTube or something.

Link to comment
Share on other sites

Influencer

I was having laptop issues today so I wasnt able to reproduce from there. I screen captures from my phone, quality of the video isn't great but you can see what happens. I will try to get a video from my laptop tomorrow.
Got it working from my laptop. It appears it may be a browser issue as its fixed in Chrome (can't reproduce anymore). I switched to IE and was able to reproduce. Also happens on mobile browsers.

Edited by Influencer
Link to comment
Share on other sites

Happy2Play

Basically when the items refreshes after the Identification, the sort that is returned is the first letter of the media identified.  So if I scrolled down and identified a movie that began with "M", the refresh would jump to the first item that begins with "M".

Link to comment
Share on other sites

Influencer

Basically when the items refreshes after the Identification, the sort that is returned is the first letter of the media identified.  So if I scrolled down and identified a movie that began with "M", the refresh would jump to the first item that begins with "M".

 

I was actually just about to post back and say that. I was looking in the web inspectors to see what was happening or if any javascript errors were popping up.

 

It appears, atleast for me, that the sort being returned with the first letter of the media identified is happening on IE and mobile browsers but not Edge or Chrome.

 

Is there a reason why it does it only on some browsers?

Link to comment
Share on other sites

Happy2Play

I get the same results in Edge, Firefox and Chrome, tested identifying a movie that begins with "R" and the list refreshed to the first movie that begins with "R".  See the url contains "&NameStartsWithOrGreater=R"

 

4.1.1.0

2019-06-13 18:32:48.379 Info HttpServer: HTTP GET http://localhost:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items?SortBy=SortName&SortOrder=Ascending&IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo%2CMediaSourceCount%2CSortName%2CPrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb%2CDisc%2CLogo&StartIndex=0&Limit=100&ParentId=0065100693b349955b725be01e212708&NameStartsWithOrGreater=R.
Link to comment
Share on other sites

Influencer

I will double check again tomorrow but when testing tonight right after I posted I didnt get the same behavior. The url stopped after parentid. I'll clear the cache and make sure everything is updated before retesting.

Link to comment
Share on other sites

Influencer

Made sure I was up to date on 4.1.1.0, cleared cache and using Chrome, it doesn't include the sort.

http://192.168.0.108:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items?SortBy=DateCreated%2CSortName&SortOrder=Descending&IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo%2CMediaSourceCount%2CSortName%2CPrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb%2CDisc%2CLogo&StartIndex=0&Limit=100&ParentId=f137a2dd21bbc1b99aa5c0f6bf02a805

Not a huge deal, now that I know what's happening (should've looked into it further earlier and I would've noticed the sort earlier. However, other than changing the sort when identifying, wouldn't it be better to just keep the same sort options, index and limit?

Link to comment
Share on other sites

Ok this is just a display issue of scrolling that we are looking into. Yes for now you can workaround it by refreshing the page when you run into this. Thanks.

Link to comment
Share on other sites

Happy2Play

Made sure I was up to date on 4.1.1.0, cleared cache and using Chrome, it doesn't include the sort.

http://192.168.0.108:8096/emby/Users/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/Items?SortBy=DateCreated%2CSortName&SortOrder=Descending&IncludeItemTypes=Movie&Recursive=true&Fields=BasicSyncInfo%2CMediaSourceCount%2CSortName%2CPrimaryImageAspectRatio&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb%2CDisc%2CLogo&StartIndex=0&Limit=100&ParentId=f137a2dd21bbc1b99aa5c0f6bf02a805

Not a huge deal, now that I know what's happening (should've looked into it further earlier and I would've noticed the sort earlier. However, other than changing the sort when identifying, wouldn't it be better to just keep the same sort options, index and limit?

 

Yes your results are slightly different as you have the library sorted differently then me (?SortBy=DateCreated%2CSortName&SortOrder=Descending) vs (?SortBy=SortName&SortOrder=Ascending).  That is why the returned information is slightly different.

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...