Jump to content

Bug: Adding Actors names can have trailing space


Recommended Posts

Posted

Hello!


Just trying to assist in reporting bugs! No stress whether they get fixed or not!

Problem:
Adding Actors names in Meta Data to a Movie can have trailing space.


Steps to Reproduce:

  • Select a Movie
  • Edit Metadata
  • Add Person and enter a name with a trailing space.


image.png.79abc65a29ca5bab884394cf21ba5c5e.png


Click Save


When you search for that person "Olan Rogers" you get two results.

image.png.d103b2c54c54fdfe3f5107f6b6301f89.png

 

Fix:
On submitting or updating as person automatically strip out the starting and trailing spaces as no name contains those.


Thanks!

Posted

Actually integrating the data further, I can see that sometimes names are migrated into the Database like this automatically.

I've noticed as well that there can be multiple spaces between names;

Russell T Davies appears with one space when searching and viewing. I want to emphasize, that I didn't create this Person in Emby.

image.thumb.png.f2b1636a821b92b122c218b54c088b83.png

 

But the Metadata actually has two spaces;

image.thumb.png.379731bdb15e2b090c4d9cc24be17c9f.png

 

So when I try to add "Russell T Davies" to shows/tv it never matches, despite being able to search for them to be same.

image.png.8091b4edcf9c49ddce120c84249d7397.png

 

So the defect is leading, trailing and in between words should only ever be 1 when added into the Database.

Cheers

Posted

Hi, thanks for reporting. We'll take a look.

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