cglatot / pasta

Audio & Subtitle Track Changer for Plex
https://www.pastatool.com
270 stars 7 forks source link

Odd entries in "#" category of TV series & Movies #40

Closed SamuelWN closed 2 years ago

SamuelWN commented 3 years ago

Describe the bug The "#" category contains some erroneous entries for all Libraries on my server that I have checked ("TV Shows," "Movies," & "Anime," etc.). Rather than only listing entries that begin with a number / special character, seasons and individual episodes (sometimes from other libraries) are included as well.

I am accessing Pasta via the website rather than running a local instance. I have been using Pasta for a while, and do not recall seeing this in the past, so I believe this may be a new issues.

To Reproduce Steps to reproduce the behavior:

  1. Go to pastatool.com
  2. Login & select a library (e.g. "TV Series")
  3. Select "#"
  4. Many odd entries.

Expected behavior Only numeric / special character results.

Screenshots Screenshot from 2021-05-23 07-29-40 Screenshot from 2021-05-23 07-30-10 Screenshot from 2021-05-23 07-35-29

Episodes listed as Series: Screenshot from 2021-05-23 07-55-44

Episodes listed as Seasons: Screenshot from 2021-05-23 07-51-31

Wrong library (File is from Anime Library) Anime Flac file listed as TV Series: Screenshot from 2021-05-23 07-38-54

Anime episodes & Flac appearing as Movie: Movies - Numeric

Desktop (please complete the following information):

Additional context I have tried:

but the issue persisted.

cglatot commented 3 years ago

You are correct - there are some very weird things happening with the # selector from Plex. I can easily reproduce the same results as you. I'll have a look into this and hopefully have a fix in the next release. Not sure when that will be, though, as I haven't had any time for PASTA recently. It will definitely be a priority, though.

SamuelWN commented 3 years ago

Alrighty, useful to know that it's not just something weird about my setup. Feel free to let me know if there's any additional data I could send that might be useful for debugging.

cglatot commented 3 years ago

Thanks for the offer, I'll let you know if I need some additional testing - but I can recreate pretty much every scenario you outlined, so I should be able to resolve it myself when I can find some time to get around to it :)

Animorphs commented 2 years ago

Hey @cglatot, not sure how your investigation into this has been going, but this isn't an issue with with Pasta, but with the Plex API itself returning the seemingly irrelevant results (API endpoint /library/sections/[libraryNumber]/firstCharacter/%23). I've raised it with the Plex devs, so hopefully they can get it fixed soon.

Animorphs commented 2 years ago

Update: now fixed, but not yet released. image

Animorphs commented 2 years ago

@cglatot this has been fixed: (Library) Requesting the list of items starting with special characters could give unexpected results (#13251)

cglatot commented 2 years ago

Confirmed that Plex has fixed this. It now shows what you would expect!