TMM not compatible with Kodi?
#1
I posted in the windows section that Kodi has stopped adding TV Series to its database when I scan using local info only.  Info that was generated by TMM.  I was told it's probably due to using TMM.  So is it not compatible with Kodi?

The log I posted is here:

imoquhomul.kodi

and one show, for example (Teen Titans) .nfo follows:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2019-03-05 08:48:27 - tinyMediaManager 2.9.16 -->
<tvshow>
    <title>Teen Titans</title>
    <sorttitle></sorttitle>
    <year>2003</year>
    <rating>8.8</rating>
    <votes>22</votes>
    <plot>The Teen Titans are five heroes under one roof. Their names: Robin, Starfire, Raven, Cyborg, and Beast Boy They live in a large tower in the shape of a T that they call Titan Tower. No secret identities. No school. Just superheroes being superheroes. They must go up against their arch nemesis, Slade, and his evil minions. What he really plans to do is unknown but one thing's for sure... he's an evil madman.</plot>
    <mpaa>TV-Y7</mpaa>
    <episodeguide>
        <url cache="71503-en.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/71503/all/en.zip</url>
    </episodeguide>
    <id>71503</id>
    <imdbid>tt0343314</imdbid>
    <genre>Action</genre>
    <genre>Adventure</genre>
    <genre>Animation</genre>
    <genre>Family</genre>
    <premiered>2003-07-19</premiered>
    <status>Ended</status>
    <studio>Cartoon Network</studio>
    <actor>
        <name>Ron Perlman</name>
        <role>Slade</role>
        <thumb>http://thetvdb.com/banners/actors/10035.jpg</thumb>
    </actor>
    <actor>
        <name>Khary Payton</name>
        <role>Cyborg</role>
        <thumb>http://thetvdb.com/banners/actors/10038.jpg</thumb>
    </actor>
    <actor>
        <name>Scott Menville</name>
        <role>Robin</role>
        <thumb>http://thetvdb.com/banners/actors/10042.jpg</thumb>
    </actor>
    <actor>
        <name>Hynden Walch</name>
        <role>Starfire</role>
        <thumb>http://thetvdb.com/banners/actors/10043.jpg</thumb>
    </actor>
    <actor>
        <name>Tara Strong</name>
        <role>Raven</role>
        <thumb>http://thetvdb.com/banners/actors/10044.jpg</thumb>
    </actor>
    <actor>
        <name>Ashley Johnson</name>
        <role>Terra</role>
        <thumb>http://thetvdb.com/banners/actors/392486.jpg</thumb>
    </actor>
    <actor>
        <name>Greg Cipes</name>
        <role>Beastboy</role>
        <thumb>http://thetvdb.com/banners/actors/10039.jpg</thumb>
    </actor>
    <actor>
        <name>John DiMaggio</name>
        <role>Villain</role>
        <thumb>http://thetvdb.com/banners/actors/503596.jpg</thumb>
    </actor>
    <actor>
        <name>Kevin Michael Richardson</name>
        <role>Honorary</role>
        <thumb>http://thetvdb.com/banners/actors/503598.jpg</thumb>
    </actor>
</tvshow>

Any ideas?
Reply
#2
maybe this discussion (320595 (thread)) is the answer

tmm is kompatible with Kodi - but not every tmm version with every Kodi version Wink there are changes on both side and we need time to make it compatible.
where tmm tries to be compatible with almost every Kodi version (as you see in the thread above there are some technical limitations), Kodi itself looks like not to be compatible with its own NFO structure from the past!?

btw: the log url you posted is invalid for me - cannot see anything there..
tinyMediaManager - THE media manager of your choice - available for Windows, Mac OSX and Linux
Help us translate tinyMediaManager Weblate
Image
Reply
#3
guessed log url imoquhomul.kodi (paste)

Code:

08:39:20.127 T:10300 DEBUG: VideoInfoScanner: Scanning dir 'smb://kodi/videos/TV/Teen Titans (2003)/' as not in the database
[...]
08:39:20.190 T:10300   DEBUG: ADDON::CScraper::GetEpisodeList: Searching 'http://www.thetvdb.com/api/1D62F2F90030C444/series/71503/all/en.zip' using Local information only scraper (file: 'C:\Program Files (x86)\Kodi\addons\metadata.local', content: 'tvshows', version: '1.0.0')
08:39:20.191 T:10300   DEBUG: CurlFile::Open(0x241d31e8b10) http://www.thetvdb.com/api/1D62F2F90030C...all/en.zip
08:39:20.442 T:10300   DEBUG: CScraperUrl::Get: Archive "http://www.thetvdb.com/api/1D62F2F90030C444/series/71503/all/en.zip" was unpacked in memory
08:39:20.443 T:10300   DEBUG: CScraperUrl::Get: Using content of "http://www.thetvdb.com/api/1D62F2F90030C444/series/71503/all/en.zip" as binary or text with "UTF-8" charset
08:39:20.464 T:10300   ERROR: CScraperParser::Parse: Could not find scraper function GetEpisodeList
08:39:20.464 T:10300   ERROR: ADDON::CScraper::Run: Unable to parse web site
08:39:20.464 T:10300 WARNING: No information found for item 'smb://kodi/videos/TV/Teen Titans (2003)/', it won't be added to the library.
Seems a Kodi problem?
You'll find many same errors in this forum;
It seems, this is a problem of the "local" scraper, trying to download "remote" episodeguide.
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
Reply
#4
TMM v2.9.16 is your latest version... so why is it still using TVDB v1 API? Kodi has not used that since Nov 2017.
My Signature
Links to : Forum rules (wiki) | 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
In fact, we ARE using the v2 API...  and scraping et all works fine.
So where exactly do you see a problem in this generated NFO?
I exported a TVDB (3.0.14) scraped TV show from Leia, and the episodesguide url looks exactly the same (if it was that, you were referring to)


btw:
i had no problems importing the TMM scraped show from above.
Be sure, that all episodes have proper NFO files.
Show won't import with missing episode nfos.... they HAVE TO be there (and named same as video)
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
Reply
#6
(2019-03-07, 11:57)Karellen Wrote: TMM v2.9.16 is your latest version... so why is it still using TVDB v1 API? Kodi has not used that since Nov 2017.
 How do I change this?  I didn't select tvdb v1 I don't think.
Reply
#7
(2019-03-07, 13:44)myron Wrote: In fact, we ARE using the v2 API...  and scraping et all works fine.
So where exactly do you see a problem in this generated NFO?
I exported a TVDB (3.0.14) scraped TV show from Leia, and the episodesguide url looks exactly the same (if it was that, you were referring to)


btw:
i had no problems importing the TMM scraped show from above.
Be sure, that all episodes have proper NFO files.
Show won't import with missing episode nfos.... they HAVE TO be there (and named same as video)
 I added the folder, used TMM to scrape it, then ran kodi to update its library and it won't pull it in.  I don't know where the problem is.
Reply
#8
(2019-03-07, 13:44)myron Wrote: So where exactly do you see a problem in this generated NFO?
From the first post...
    <episodeguide>
<url cache="71503-en.xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/71503/all/en.zip</url>
</episodeguide>
This is v1 episodeguide URL

Read here... 323588 (thread)

and here... 336969 (thread)

@jglazer63 the above applies to you also. Read the two articles. And I am pretty sure I have pointed you to them in the past.

First you will need to remove the existing entry from your library.
1. Enable setting 3.6 here... https://kodi.wiki/view/Settings/Media/Videos#Library
2. Go back into your library and delete the Teen Titans library entry
3. Delete the 3 lines of code I quoted above from your tvshow.nfo file
4. Scan the show back into the library. Does it work??
My Signature
Links to : Forum rules (wiki) | 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
well, v3 has been changed ages ago;
but we missed that merge for v2...
Is in for next version.
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
Reply
#10
I had to put this aside for a while as I was away from the media center.  So I tried to follow your steps.  

This did work.  The series are now being created correctly after I delete the <episodeguide> section.

Is there a way to tell TMM to leave that out or create the .nfo files in this way so they get added correctly?

Thanks for your help.
Reply
#11
Not sure if this will help, but I was having the same issue. In my situation, I'm using MySQL on an unRAID server and connect to the Kodi database (18.4) from 3 systems (nVidia Shield, Windows 10, MacOS). My issue was related to the episode.idShow having a '-1'; resulting in the shows not showing correctly in code. 

My fix was to run a SQL update with the following to fix. 

update episode set idShow = xxx
where idEpisode in (
select a.idEpisode from episode a, tvshow b where b.idShow = a.idShow and a.idShow = 434
);

From what I was able to tell, this was causing a conflict each time Kodi attempted to scrape the nfo files that I generated with TMM. Once I fixed the issue, all my shows for MASH showed correctly in Kodi. 

This may or may not help others.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
TMM not compatible with Kodi?00