SportScanner icon indicating copy to clipboard operation
SportScanner copied to clipboard

Case Sensitive Causing No Results

Open BradFMJ opened this issue 1 year ago • 2 comments

When this plugin calls all_leagues.php it gets back NFL.

I have a folder names NFL. However, for whatever reason in init.py NFL is coming in as Nfl and not matching against NFL.

Pretty frustrating as I was just setting up this plugin and spent probably an hour trying to figure out why a library scan was doing nothing. I only had 1 sport, NFL and 1 game to scan.

It came in now by doing a case insensitive comparison to the list of leagues that come back from thesportsdb. Nothing else is coming in though, not even the file details. I suspect there is a an issue matching NFL to Nfl someplace else in code as well.

BradFMJ avatar Sep 07 '24 00:09 BradFMJ

Could you share the file name and folder structure that you’re attempting to match?

On Fri, Sep 6, 2024 at 20:54 Brad Johnson @.***> wrote:

When this plugin calls all_leagues.php it gets back NFL.

I have a folder names NFL. However, for whatever reason in init.py NFL is coming in as Nfl and not matching against NFL.

Pretty frustrating as I was just setting up this plugin and spent probably an hour trying to figure out why a library scan was doing nothing. I only had 1 sport, NFL and 1 game to scan.

It came in now by doing a case insensitive comparison to the list of leagues that come back from thesportsdb. Nothing else is coming in though, not even the file details. I suspect there is a an issue matching NFL to Nfl someplace else in code as well.

— Reply to this email directly, view it on GitHub https://github.com/mmmmmtasty/SportScanner/issues/48, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLV6TXGWETYGSQD5XDV7RTZVJFFBAVCNFSM6AAAAABNZQPO32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTCMZVGUZDQMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mmmmmtasty avatar Sep 07 '24 00:09 mmmmmtasty

moi il m'affiche rien et je comprends pas. j'ai fait un script pour avoir la bonne structure et le fichier txt pourtant rien ne s'affiche

k3nmss avatar Jan 23 '25 18:01 k3nmss