| | Posted: 23 Jan 2022 22:36 | |
JayBird
Posts: 59 Joined: 2022
| | 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
| | 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,515 Joined: 2020
| | 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
| | 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,515 Joined: 2020
| | 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: 938 Joined: 2020
| | 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
| | 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: 938 Joined: 2020
| | 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
| | 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,515 Joined: 2020
| | 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
| | 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
| | any luck Zag?
| |
|
| | Posted: 25 Jan 2022 21:37 | |
JayBird
Posts: 59 Joined: 2022
| | 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,515 Joined: 2020
| | 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
| | 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
| | 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,515 Joined: 2020
| | 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
| | 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: 938 Joined: 2020
| | 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,515 Joined: 2020
| | 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,515 Joined: 2020
| | 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: 938 Joined: 2020
| | 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 | |
|