Mod Estuary MOD V2 - KODI 18 (UPDATED 17/01/19)
Thumbs Up 
(2021-03-27, 22:01)dRiiik Wrote: Hello everybody,

I don't really where I have to put this question, but I see here most valuable people Smile

So... I have an issue about re scraping a tv show I already have for awhile, I've just deleted the old episode files and replaced it with the new ones in UHD.

But, when I launch a scrape on the folder, it finds the TV show but it's unable to add information and then the TV isn't recognized in Kodi.

I do the scrape from the folder in the sources, and I noticed that this folder, even if it has no information, is marked as "watched" and I can't change this status (I have made a shortcut on my keyboard to switch this status "watched/unwatched" quickly.

I tried to remove/erase the folder of this TV show from the source, update the library in Kodi... and when I recreate a folder with the name of the TV Show, the problem remains...

I think the problem comes from the database issue, but I don't know how to solve it...


For information, for new TV show, the scrape works really fine, and I've also seen that that the clearlogo, clearart and others are working well again too.

I'm on KODI 19, with the MOD from kodinerds, last version 3.0.7+matrix 10.

If you have a little idea, I will be very happy.

Thank you in advance.
Ok, so. I will answer to myself Smile

I  finally found what was the problem...

After activating the debug mode, and check the kodi.log with LogExpert, I managed to this :

ERROR <general>: SQL: [MyVideos119] Undefined MySQL error: Code (1406)
                            Query: UPDATE tvshow SET c00='Game of Thrones',c01='Il y a très longtemps, blabla...

Looking for this ERROR <general>: SQL: [MyVideos119] Undefined MySQL error: Code (1406) in Google, I found this : Fields too small in MySQL Database (Solution included) https://github.com/xbmc/xbmc/issues/15768

"Fields too small in MySQL Database (Solution included)"

Series like "Game of Thrones" are well documented in The Movie Database and users have provided a huge amount of posters, fan art, etc.
Because of this, the amount of data returned by the TMDb API is quite big. A huge part of the response will be stored in the field tvshow.c06 - the type of this field is TEXT.

According to the MySQL Documentation, the maximum length of data in a field of type TEXT is 2^16 ( = 65536 Bytes). This seems to be too short for some TV Series.
After changing the type of the field to LONGTEXT everything works fine.
Maybe it is a good idea to check if other fields in other tables may have the same problem.



So, I changed the type of the c06 column to LONGTEXT as explained...

Image

and then... after that, everything works finally fine AGAIN !

Hope this could help someone else.

Cool


Messages In This Thread
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-12, 13:57
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-12, 14:46
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-13, 17:58
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 00:50
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 00:50
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 02:11
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 06:31
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 16:15
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-14, 22:13
Estuary MOD V2 (UPDATED 12/02/17) - by iMak - 2017-02-15, 17:53
EPG - by Repoman - 2017-04-29, 20:28
Quit and Search - by terpsarlington - 2017-11-18, 03:35
RE: Quit and Search - by Guilouz - 2017-11-18, 03:41
RE: Quit and Search - by terpsarlington - 2017-11-18, 06:38
Genres Widget - by terpsarlington - 2017-11-19, 05:22
RE: Genres Widget - by Guilouz - 2017-11-19, 15:23
RE: Genres Widget - by terpsarlington - 2017-11-20, 00:21
Where are the API keys stored? - by mozomo - 2017-11-19, 17:36
Ratings - by terpsarlington - 2017-11-28, 00:08
RE: Ratings - by junias - 2017-11-28, 00:14
RE: Ratings - by Guilouz - 2017-11-28, 01:31
RE: Ratings - by terpsarlington - 2017-11-28, 03:25
RE: Ratings - by Guilouz - 2017-11-28, 04:24
Question on Whitelist option - by kaybird - 2018-06-15, 20:33
RE: Question on Whitelist option - by Guilouz - 2018-06-16, 02:08
Random titles? - by kaybird - 2018-06-28, 01:54
RE: Random titles? - by Guilouz - 2018-07-15, 10:48
Skin Helper Service error - by Picard - 2018-06-28, 04:51
RE: Skin Helper Service error - by redglory - 2018-06-28, 15:20
RE: Skin Helper Service error - by Guilouz - 2018-07-15, 10:49
RE: Estuary MOD V2 - KODI 18 (UPDATED 17/01/19) - by dRiiik - 2021-03-28, 22:37
Add main menu item? - by revhead - 2021-04-28, 12:33
RE: Add main menu item? - by Mahava - 2021-04-29, 01:17
Kodi 18 script.shortcuts issue - by Shayno - 2018-09-19, 01:31
empty Homescreen - by menou - 2021-07-22, 15:19
RE: empty Homescreen - by _BJ1 - 2021-07-25, 21:23
Logout Mark Read Team Forum Stats Members Help
Estuary MOD V2 - KODI 18 (UPDATED 17/01/19)17