Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
trying to figure out where my scraping is not working
#1
I'm trying to figure out something that's suddenly not working after it worked before.

I have two FireTV sticks. At one point a few months ago, I updated my library using the TVDB scraper and got my "K-ON!" tv show to scrape into my Kodi library correctly (using Leia 18.4). Now I'm trying to scrape on my other FireTV stick on Leia 18.5, and instead of scraping "K-ON!" from TVDB, it's scraping "Kong". I tried refreshing from the Information screen, and the list of choices it gives me for the names of TV shows includes about 20 shows, but none are "K-ON!".

I have the folder named "K-ON!", which matches the TVDB show title (https://www.thetvdb.com/series/k-on). Inside that folder, I have "Season 1" and "Season 2" folders, which have files in them named such as "K-ON! - s01e01.mp4". I have no other files like .nfo or anything like that.

I'm stumped as to what's going wrong here. The only thing I can think of is either the TVDB update a while ago, or the fact that the listing on TVDB seems to include Japanese names for the episode listings in the "breadcrumbs" showing the file paths in the TVDB database...but when you click on one of the Japanese character "breadcrumbs", it takes you to a page that contains the regular English name.

EDIT: I was just able to get it to scrape by changing the folder and file names on my NAS to the Japanese title. Despite the Japanese characters in the folder and file names, it scraped in as "K-ON!", and all the episode names are showing in English. Weird. I would much rather have the folder/file names in English, if that's possible....
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#2
@canadave

The TVDB API is not returning that show in the search results. At a guess its most likely an issue with the original title being non-english. Might be a good idea to report it at the TVDB forum.

I was able to easily scrape it using a Parsing NFO file.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
(2019-12-10, 08:28)Karellen Wrote: @canadave

The TVDB API is not returning that show in the search results. At a guess its most likely an issue with the original title being non-english. Might be a good idea to report it at the TVDB forum.

I was able to easily scrape it using a Parsing NFO file.

I'll raise the issue over there. Thanks.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#4
Thanks for reporting that. I saw your post.

For your immediate fix, did you use the Parsing NFO method?
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#5
(2019-12-11, 03:07)Karellen Wrote: Thanks for reporting that. I saw your post.

For your immediate fix, did you use the Parsing NFO method?
Sorry, it didn't work. I'm sure I'm doing it wrong. I take it it's more than just having a tvshow.nfo text file with nothing but "https://thetvdb.com/series/k-on" in it? I saw the wiki but I wasn't able to find how to name it or what to put in it other than the URL.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#6
That is all you need. Name the file tvshow.nfo and paste the URL in the file and save it. That is all. No codes, no tags, nothing else. Then scan.

Have a look at the image in Sect 2 here... https://kodi.wiki/view/TV-Show_artwork#L...ow_Artwork
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#7
Hmmmm....interesting. It did not work. I have the tvshow.nfo file in my "K-ON!" folder...the only thing in the .nfo file is "https://thetvdb.com/series/k-on" (no quotes obviously).

Let me pull the log and see if there's a clue there.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#8
Just check the file encoding. It should be UTF-8

Image
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#9
(2019-12-13, 05:51)Karellen Wrote: Just check the file encoding. It should be UTF-8

Image
Odd...it is set to UTF-8. I'm editing it with BBEdit on my Mac....it's saving it as "Unicode (UTF-8)". Next to that it says "Unix (LF)". I'll have to look at that...perhaps I have to change that latter part to something else.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#10
Still not working...changed the encoding to UTF-8 with "Windows (CRLF)" selected. This is so odd...
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#11
How are you updating? Are you using Update Library or are you using Information?

Go to Videos>Files, highlight your tv show, then press the i button on your keyboard. If that does not work, provide the Debug Log and I might see what the problem is.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#12
(2019-12-13, 07:10)Karellen Wrote: How are you updating? Are you using Update Library or are you using Information?

Go to Videos>Files, highlight your tv show, then press the i button on your keyboard. If that does not work, provide the Debug Log and I might see what the problem is.

I can't use the Information method, as the show isn't scraped at all (it's completely missing from the video library). I'm just doing "Update Library".

***EDIT***: OK, I'm an idiot Smile I see what you meant now. I went into the files, found the folder, refreshed info via the Information button, and now I see the show and all is well. Interesting....so Update Library doesn't work for Parsing NFO files, is that it?
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#13
Oh, you have numerous Banned Add-ons (wiki) installed. They need to be removed for assistance. Plus there is no scraping in the log and debug mode was not enabled so nothing to see in it.

(2019-12-13, 08:01)canadave Wrote: I can't use the Information method, as the show isn't scraped at all (it's completely missing from the video library). I'm just doing "Update Library".
You might be surprised if you follow my instructions... Who knows what may happen
(2019-12-13, 07:10)Karellen Wrote: Go to Videos>Files, highlight your tv show, then press the i button on your keyboard.


The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#14
(2019-12-13, 08:12)Karellen Wrote: Oh, you have numerous Banned Add-ons (wiki) installed. They need to be removed for assistance. Plus there is no scraping in the log and debug mode was not enabled so nothing to see in it.
(2019-12-13, 08:01)canadave Wrote: I can't use the Information method, as the show isn't scraped at all (it's completely missing from the video library). I'm just doing "Update Library".
You might be surprised if you follow my instructions... Who knows what may happen
(2019-12-13, 07:10)Karellen Wrote: Go to Videos>Files, highlight your tv show, then press the i button on your keyboard.


The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time. 

My apologies. Those addons are from a while ago, I don't use them anymore, and I just never bothered to remove them; I'll do so right away.  Also, it's been a while since I had to post a debug log, so apologies also for not posting it properly Smile

Anyway, in any case it's all moot...I had edited my previous post before you replied to it--I did update the show via the Information button and that worked. Not sure why Update Library didn't pick up the Parsing NFO file, but if that's just not how it works, I'll remember how to do it for next time Wink I really appreciate your assistance....cheers.
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply
#15
OK, I think I've got those old banned addons removed. Can you have a look at my log to verify I got everything off? I value the help of the Kodi team and wouldn't want an unknown remnant preventing that help next time Smile Thanks!

https://paste.kodi.tv/xupilixiya.kodi
- Amazon FireTV Stick 4K running latest stable Kodi version
- Sony Bravia XBR-x900h Android TV running latest stable Kodi version
- Skin: Aeon Nox: SiLVO
Reply

Logout Mark Read Team Forum Stats Members Help
trying to figure out where my scraping is not working0