Kodi 16.1 and the tvshow.nfo
Kodi 16.1 and the tvshow.nfo
Hi,
i was having problem that kodi does not recongnize tvshows (series) in my folders.
The naming from filebot is quiet ok but kodi simply not find any content in those folders.
I figure out that i have to delete the tvshow.nfo. After doing so kodi is finding the shows and integrate it inside the database.
So it´s not very fine to manually remove all the tvshow.nfo files which are greated by filebot.
What can i do to improve this?
http://pastebin.com/nxPSmVnR
i was having problem that kodi does not recongnize tvshows (series) in my folders.
The naming from filebot is quiet ok but kodi simply not find any content in those folders.
I figure out that i have to delete the tvshow.nfo. After doing so kodi is finding the shows and integrate it inside the database.
So it´s not very fine to manually remove all the tvshow.nfo files which are greated by filebot.
What can i do to improve this?
http://pastebin.com/nxPSmVnR
Re: Kodi 16.1 and the tvshow.nfo
Not sure, it's kind of a Kodi issue. What to the Kodi devs suggest?
FileBot doesn't generate the <episodeguide> element anymore because TheTVDB API v2 is different from the current XML API. Kodi should use it's own code look up additional info.
FileBot doesn't generate the <episodeguide> element anymore because TheTVDB API v2 is different from the current XML API. Kodi should use it's own code look up additional info.
Re: Kodi 16.1 and the tvshow.nfo
Kodi devs suggest nothing............ There are no replies to my thread.
Kodi support isn´t that good as here
FYI: http://forum.kodi.tv/showthread.php?tid=282774
Kodi support isn´t that good as here

FYI: http://forum.kodi.tv/showthread.php?tid=282774
Re: Kodi 16.1 and the tvshow.nfo
<episodeguide> is supposed to be a TheTVDB API v1 XML Series Record URL but the new TheTVDB API v2 works differently.
I could have it output <episodeguide> elements and that would work for now, but eventually TheTVDB API v1 will be turned off, so this would just be a temporary relief in absence of an official solution on the Kodi side.
I could have it output <episodeguide> elements and that would work for now, but eventually TheTVDB API v1 will be turned off, so this would just be a temporary relief in absence of an official solution on the Kodi side.
Re: Kodi 16.1 and the tvshow.nfo
Is there a way to NOT create such a tvshow.nfo file?
Just as work around.............
Just as work around.............
Re: Kodi 16.1 and the tvshow.nfo
--def artwork=y creates artwork and nfo files. Set --def artwork=n and it won't create nfo files (nor download artwork files).hellmaker wrote:Is there a way to NOT create such a tvshow.nfo file?
Re: Kodi 16.1 and the tvshow.nfo
Can anybody confirm that newer versions of Kodi (i.e. latest stable) works perfectly fine now that <episodeguide> has been removed and that the absence of <episodeguide> is only an issue for older versions of Kodi?
Re: Kodi 16.1 and the tvshow.nfo
It does NOT:
aka useless without episode nfo's (time to add support)
viewtopic.php?f=4&t=5451&p=31192#p31191
if Kodi makes (export) the nfo's then e.g.:
EDIT:
Here is the fix
https://kodi.wiki/view/NFO_files/TV_shows#TV_Show<episodeguide>
<url cache=""></url>
</episodeguide>
Required if no or missing episode nfo's
aka useless without episode nfo's (time to add support)
viewtopic.php?f=4&t=5451&p=31192#p31191
if Kodi makes (export) the nfo's then e.g.:
Code: Select all
<episodeguide>
<url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":269586}|Content-Type=application/json</url>
</episodeguide>
Here is the fix

Code: Select all
episodeguide { url(post:"yes", cache:"auth.json", "https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":${i.id}}|Content-Type=application/json") }
Re: Kodi 16.1 and the tvshow.nfo
I've modified the script to generate the <episodeguide> element for TheTVDB APIv2. You can try -script dev:amc and see if it works.
Re: Kodi 16.1 and the tvshow.nfo
the episodeguide part works and no more """ 
but the tvdb part did nothing
still "&" into

but the tvdb part did nothing

still "&" into
Code: Select all
&
Re: Kodi 16.1 and the tvshow.nfo
" is perfectly fine in XML text content, by spec, so no need to escape it, and can't because Groovy generates the XML.
That being said, we need to generate whatever XML flavor Kodi can read. So the reason Kodi can't deal with the nfo files is because it's " in the name and not " can you confirm?
That being said, we need to generate whatever XML flavor Kodi can read. So the reason Kodi can't deal with the nfo files is because it's " in the name and not " can you confirm?
Re: Kodi 16.1 and the tvshow.nfo
Code: Select all
<episodeguide>
<url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":269586}|Content-Type=application/json</url>
</episodeguide>
Code: Select all
<episodeguide>
<url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":269586}|Content-Type=application/json</url>
</episodeguide>
Re: Kodi 16.1 and the tvshow.nfo
I'll stick with letting Groovy generate the XML then, without making any replacements on the raw String value afterwards.
Re: Kodi 16.1 and the tvshow.nfo
I see you have removed episodeguide again ?
https://github.com/filebot/scripts/comm ... 06fd592342
EDIT:
https://kodi.wiki/view/Add-on:The_TVDB
Kodi v18-20 still use episodeguide, like you removed
e.g.
https://kodi.wiki/view/Add-on:The_TVDB_(new)
use new simple way (same as id)
e.g.
https://github.com/filebot/scripts/comm ... 06fd592342
EDIT:
https://kodi.wiki/view/Add-on:The_TVDB
Kodi v18-20 still use episodeguide, like you removed
e.g.
Code: Select all
<episodeguide>
<url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6","id":75978}|Content-Type=application/json</url>
</episodeguide>
use new simple way (same as id)
e.g.
Code: Select all
<episodeguide>75978</episodeguide>
<id>75978</id>
Re: Kodi 16.1 and the tvshow.nfo
Yep, that makes much more sense, we can work with that:kim wrote: ↑17 Oct 2021, 21:55 https://kodi.wiki/view/Add-on:The_TVDB_(new)
use new simple way (same as id)
e.g.Code: Select all
<episodeguide>75978</episodeguide> <id>75978</id>
https://github.com/filebot/scripts/comm ... f002dfa2fa
