Site
Home / Forum / General Discussion / WWE Broken

WWE Broken


Posted: 23 Jan 2022 22:36
JayBird
Posts: 59
Joined: 2022-01-23

Just tried to Sync WWE 2021 and WWE2022. The folder season structure has changed it's name from WWE YYYY to Season YYYY which looks off.

Further, episodes are not pulling correct data. I named all PPV files (small text files) to the names given and either wrong media is brought down e.g. marks as RAW or SMACKDOWN rather than the PPV.

Posted: 23 Jan 2022 22:40
JayBird
Posts: 59
Joined: 2022-01-23

SummerSlam 2021
Hell In a Cell 2021
Elimination Chamber 2021
FastLane 2021

NXT Takeover 36
NXt Takover in your House
Take Over Vengance

Posted: 23 Jan 2022 22:46

zag
Posts: 3,330
Joined: 2020-03-23

I had a quick look but not quite sure what you are talking about...

Syncing... With what?

The WWE events are added manually so you can call them whatever you want, just click the "add event" button. Looking back at previous seasons is most useful to copy the naming standard. You can choose the season when creating the event or edit it later.

Posted: 23 Jan 2022 22:49
JayBird
Posts: 59
Joined: 2022-01-23

Hey @Zag,

As above. I have named the above PPVs correctly as per the site. When i thn run "Update Library" in LibreElec, the Scraper does not pull down the data correctly for theses shows.

On a different note, not sure why, but I can edit your Posts :S (see above)

zag
Posted: 23 Jan 2022 22:59

zag
Posts: 3,330
Joined: 2020-03-23

Not too sure about the scraper sorry, we didn't write it. But last time I tested it worked well for WWE events.

Best thing to do is try a single file and link the event here. Don't forget you can edit any event here if needed.

EDIT: Fixed the forum edit bug!

Posted: 23 Jan 2022 23:00
curswine
Posts: 870
Joined: 2020-06-17

The events most likely won't scrape correctly due to the UTC date and local date being on different dates due to timezone difference,

Older events, where it is more difficult to find event times, were just left blank and added as the day the event occured locally.

zag
Posted: 23 Jan 2022 23:05
JayBird
Posts: 59
Joined: 2022-01-23

is there a way to get round this? e.g. removing them from the site and trying them again?

What is strange though is Royal Rumble 21 has UTC Date and Time and works :S

Posted: 23 Jan 2022 23:16
curswine
Posts: 870
Joined: 2020-06-17

I can't say for certain, but it may have something to do with whether it was added as the local date and then changed or vice versa - one way compatible with the scraper, the other not.

Posted: 24 Jan 2022 07:12
JayBird
Posts: 59
Joined: 2022-01-23

So, just as a proof of concept added a double of : Elim Chamber 2021

You cannot choose not to set Local / UTC Date, but you can time.

Renamed the file on my HDD to the duplicate. In this case the file is a Mkv file.

Did an update to library and still the sportDB plugin will not pull the data from you guys and add it to LibreElec.

Is there anything that can be done? This is like my go to for Sports Scraping, if it's only going to work 1/2 the time, it isn't great.

FYI: I do appreciate what you have done, and what you continue to do

https://www.thesportsdb.com/event/1448219

Posted: 24 Jan 2022 08:56

zag
Posts: 3,330
Joined: 2020-03-23

I'll give it a test later and see if I can replicate it.

Posted: 24 Jan 2022 16:11
JayBird
Posts: 59
Joined: 2022-01-23

Ta Zag.


Have checked the Database on the LibreElec box and there is no entry for the missing items

https://ibb.co/80hTSyW

Posted: 24 Jan 2022 22:16
JayBird
Posts: 59
Joined: 2022-01-23

any luck Zag?

Posted: 25 Jan 2022 21:37
JayBird
Posts: 59
Joined: 2022-01-23

Hey Zag,

Ive looked into this. It is 100% a bug in the Data.

https://www.thesportsdb.com/api/v1/json/{{APIKEY}}/eventsseason.php?id=4444&s=2021

Find Entry 105 (Hell in a Cell) in the JSON

You can see that the strFilename : "WWE 2021-06-20 Hell in a Cell 2021"

If you are breaking this down in Regex : Leauge:wwe , Date: 2120-06-20 Name: Hell in a Cell 2021

then when you look dateEvent: 2021-06-21
then look at dateEventLocal: 2021-06-20

So. looking at the code in the Repo for the Kodi Scraper.

If you are calling dateEvent rather than dateEventLocal, then this scraper is not gonna work.

To test my theory, ill change the date on one of my files later from what it states on the website to what the wrong date and see if it then pulls data into the database

zag
Posted: 25 Jan 2022 21:56

zag
Posts: 3,330
Joined: 2020-03-23

Good findings!! not had a chance to test yet sadly.

I honestly don't see that as a bug, we use UTC times and dates here and that's the way its always been.

The scraper just needs to do that calculation or you need to change the date of your file to UTC.

Local times and dates are unreliable sadly as they are user entered.

Posted: 25 Jan 2022 22:06
JayBird
Posts: 59
Joined: 2022-01-23

Is it a bug that the given file names on the page, which are shown to the User are wrong, thus a bug

Potential Filename
WWE.2021-06-20.Hell.in.a.Cell.2021.ext

is what you show on screen, but really it should be

=Potential Filename
WWE.2021-06-21.Hell.in.a.Cell.2021.ext

due to the dates being out?

zag
Posted: 25 Jan 2022 22:19
JayBird
Posts: 59
Joined: 2022-01-23

100% confirmed this is the issue. Miss guided information given to user on "file name" at bottom

zag
Posted: 26 Jan 2022 09:56

zag
Posts: 3,330
Joined: 2020-03-23

Just testing now, can you tell me what folder structure and filename you got working? Just so I can replicate.

Posted: 26 Jan 2022 11:56
JayBird
Posts: 59
Joined: 2022-01-23

Sure

Sports > WWE > Season 2021 > WWE.2021-06-20.Hell.in.a.Cell.2021.mp4. (This is what is at the bottom of SportsDB Page)

vs

Sports > WWE > Season 2021 > WWE.2021-06-21.Hell.in.a.Cell.2021.mp4. (This is what i had to use to get it to work)

I know this to be the issue as i spent most of last night renaming my files and now data works


I had to also rename all my AEW in 2021 to scrape correctly

Posted: 26 Jan 2022 12:00
curswine
Posts: 870
Joined: 2020-06-17

I think its a case of the event being added on the correct local day and then later corrected to have the correct UTC date which would throw off the suggested date.

zag
Posted: 26 Jan 2022 14:36

zag
Posts: 3,330
Joined: 2020-03-23

Ok thanks both. Curswine is totally correct in that the event was created with the wrong date and ammended later.

This is infact a bug as I should recalculate the filename on any date change. I will look into this but not always easy due to the team vs team and event only filenames!!

I've also updated the scraper on GitHub. At the moment I can only get it working with single events.

I'm also trying to drum up a developer to do a python scraper, then we can really get things going

Posted: 26 Jan 2022 15:08

zag
Posts: 3,330
Joined: 2020-03-23

Thinking about it some more, I would probably say put WWE events on their US date if we don't know the time. Just a thought though.

Posted: 26 Jan 2022 15:12
curswine
Posts: 870
Joined: 2020-06-17

Thinking about it some more, I would probably say put WWE events on their US date if we don't know the time. Just a thought though.

This is what happened with the 80s, 90s, and 00s events, and then when we caught up to present events they were added more accurately with their UTC and local times as they were known.

zag

Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 22 (Total: 22)