Kodi Community Forum
Release Release 2.9.17.1 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: Release Release 2.9.17.1 (/showthread.php?tid=343907)



Release 2.9.17.1 - mlaggner - 2019-05-14

Version 2.9.17.1
=======================
x fixed writing of the date added in the Kodi NFO
x fixed more AniDb caching issues


Version 2.9.17
=======================
x fixed artwork loading from TVDB
x fixed IMDB id lookup for TV shows (to provide more artwork for TV scraping)
x fixed AniDb caching issues (to prevent getting banned - thx @soywiz)
x fixed displaying of foreign certifications in the movie/TV show editor
x fixed writing TV nfo files (episodesguide for TVDB)


RE: Release 2.9.17 - Kamikaze01 - 2019-05-16

Hello there Smile

Just want to say:
After the update to 2.9.17 Kodi does not show the "Date added" correctly. It will display completely wrong data. Even if I scrape very old films again, they are displayed incorrectly after updating the library. The time attributes of the file are all identical. Last Modified Date, Creation Date, and Last Accessed Date are all the same !!

Image

Does anyone else have this problem?

Anyway GREAT WORK - LOVE TMM !!! Smile


RE: Release 2.9.17 - myron - 2019-05-16

- how does your NFO look like? How is the dateAdded formatted?
- what are your OS regional settings?


Edit:
According to Kodi Wiki, the dateAdded NFO entry is
"Date the file was added to library. Not used on Import. Can be altered in advancedsettings.xml"
so it must be a Kodi setting then...?


RE: Release 2.9.17 - Kamikaze01 - 2019-05-16

(2019-05-16, 10:45)myron Wrote: - how does your NFO look like? How is the dateAdded formatted?
- what are your OS regional settings?


Edit:
According to Kodi Wiki, the dateAdded NFO entry is
"Date the file was added to library. Not used on Import. Can be altered in advancedsettings.xml"
so it must be a Kodi setting then...?

Hello and thank you for the answer.

I did not changed any settings (neither in TMM nor in Kodi nor my OS reginal settings). This problem occurred immediately after the update to 2.9.17  Huh

My NFOs (for example) looks like this:
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2019-05-15 19:17:21 - tinyMediaManager 2.9.17 -->
<movie>
    <title>Dream House</title>
    <originaltitle>Dream House</originaltitle>
    <sorttitle></sorttitle>
    <rating>6.0</rating>
    <year>2011</year>
    <top250></top250>
    <votes>658</votes>
    <outline>Example Outline...</outline>
    <plot>ExamplePlot...</plot>
    <tagline>Example Tagline...</tagline>
    <runtime>84</runtime>
    <thumb>http://image.tmdb.org/t/p/w500/4WCByvWWQ4vg5w62c8pSlvW57bv.jpg</thumb>
    <fanart>https://assets.fanart.tv/fanart/movies/69668/moviebackground/dream-house-544c1e16b75f4.jpg</fanart>
    <mpaa>DE:FSK 16 / DE:FSK16 / DE:16 / DE:ab 16</mpaa>
    <certification>DE:FSK 16 / DE:FSK16 / DE:16 / DE:ab 16</certification>
    <id>tt1462041</id>
    <ids>
        <entry>
            <key>tmdb</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">69668</value>
        </entry>
        <entry>
            <key>imdb</key>
            <value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt1462041</value>
        </entry>
    </ids>
    <tmdbId>69668</tmdbId>
    <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=XFxIYqcmRxc&amp;hd=1</trailer>
    <country>Kanada</country>
    <country>Vereinigte Staaten von Amerika</country>
    <premiered>2011-09-30</premiered>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>h264</codec>
                <aspect>2.4</aspect>
                <width>1280</width>
                <height>528</height>
                <durationinseconds>5515</durationinseconds>
            </video>
            <audio>
                <codec>DTS</codec>
                <language>deu</language>
                <channels>6</channels>
            </audio>
            <audio>
                <codec>DTS</codec>
                <language>eng</language>
                <channels>6</channels>
            </audio>
            <subtitle>
                <language>deu</language>
            </subtitle>
        </streamdetails>
    </fileinfo>
    <watched>false</watched>
    <playcount>0</playcount>
    <genre>Drama</genre>
    <genre>Thriller</genre>
    <genre>Mystery</genre>
    <studio>Cliffjack Motion Pictures</studio>
    <studio>Morgan Creek Productions</studio>
    <credits>David Loucka</credits>
    <director>Jim Sheridan</director>
    <actor>
        <name>Daniel Craig</name>
        <role>Will Atenton</role>
        <thumb>http://image.tmdb.org/t/p/w185/vnfJWpeFKbjwfqcpRWoVPZIkltY.jpg</thumb>
    </actor>

... than a lot of actors and finally

</movie>

And my Advancedsettings.xml looks like this:
Code:
<advancedsettings>

<videodatabase>
<type>mysql</type>
<host>192.168.X.X</host>
<port>XXXX</port>
<user>Kodi</user>
<pass>XXXXXXXXXX</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>192.168.X.X</host>
<port>XXXX</port>
<user>Kodi</user>
<pass>XXXXXXXXXX</pass>
</musicdatabase>

<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails</from>
<to>smb://XXXX:[email protected]/Thumbnails/</to>
</substitute>
</pathsubstitution>


<videolibrary>

<usefasthash>false</usefasthash>
<!-- defaults to true. Set to false in order to skip hashing based on the folders modification time. -->

<importwatchedstate>true</importwatchedstate>
<!-- import previously exported playdate and playcount from .nfo files. Defaults to false -->

<dateadded>1</dateadded>
<!-- 0 results in using the current datetime when adding a video;
1 (default) results in prefering to use the files mtime (if it's valid) and only using the file's ctime if the mtime isn't valid;
2 results in using the newer datetime of the file's mtime and ctime -->

</videolibrary>

</advancedsettings>

But if i am the only one having this problem, i think it should be on my site Sad
Don't know what happend... i realy changed nothing !!

thx


RE: Release 2.9.17 - mlaggner - 2019-05-16

If I've not overseen it - the date which is shown in your Screenshot is nowhere in the nfo... So it is probably not an tmm issue


RE: Release 2.9.17 - Kamikaze01 - 2019-05-17

Every new movie I scrape, will look like in my screenshot.
But all other movies (even if I refresh them in KODI) remains normal.
Same problem with other skins...
Same problem on both of my Kodis...

Damn... Sad
Okay... Thank you anyway....


RE: Release 2.9.17 - Kamikaze01 - 2019-05-17

Hello again...

Just testet it and take the movie.nfo from an old film (TMM 2.9.16) and do a backup copy.
Than i scrape that move and compare the new movie.nfo (TMM 2.9.17) with the old one...

In the End, there is a difference.... when i use the old one, my "date added" is correct... if i use the new one, it is wrong...
so IT MUST BE IN THE NFO FILE !!!

This is the OLD nfo file, which shows NO date added and works normal:
Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2019-04-19 19:22:51 - tinyMediaManager 2.9.16 -->
<movie>
    <title>Hollow Man 2</title>
    <originaltitle>Hollow Man II</originaltitle>
    <set>
        <name>Hollow Man Filmreihe</name>
        <overview></overview>
    </set>
    <sorttitle></sorttitle>
    <rating>4.7</rating>
    <year>2006</year>
    <top250></top250>
    <votes>102</votes>
    <outline>BlaBlaBla Outline BlaBlaBla</outline>
    <plot>BlaBlaBla Plot BlaBlaBla</plot>
    <tagline></tagline>
    <runtime>91</runtime>
    <thumb>http://image.tmdb.org/t/p/w500/dVWS2MXvzIkQgN1TpSCfWHhnbJR.jpg</thumb>
    <fanart>http://image.tmdb.org/t/p/original/7t9okXhuguoylKwFasAZbE8SHQP.jpg</fanart>
    <mpaa>NR</mpaa>
    <certification>NR</certification>
    <id>tt0469916</id>
    <ids>
        <entry>
            <key>tmdb</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">8997</value>
        </entry>
        <entry>
            <key>imdb</key>
            <value xsi:type="xsConfusedtring" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt0469916</value>
        </entry>
        <entry>
            <key>tmdbSet</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">166376</value>
        </entry>
    </ids>
    <tmdbId>8997</tmdbId>
    <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=fXmZFRSYHOE</trailer>
    <country>Vereinigte Staaten von Amerika</country>
    <premiered>2006-05-23</premiered>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>XviD</codec>
                <aspect>2.35</aspect>
                <width>640</width>
                <height>272</height>
                <durationinseconds>5479</durationinseconds>
            </video>
            <audio>
                <codec>MPEG Audio</codec>
                <language></language>
                <channels>2</channels>
            </audio>
        </streamdetails>
    </fileinfo>
    <watched>false</watched>
    <playcount>0</playcount>
    <genre>Horror</genre>
    <genre>Action</genre>
    <genre>Thriller</genre>
    <genre>Science Fiction</genre>
    <studio>Frontera Productions</studio>
    <studio>Destination Films</studio>
    <studio>Red Wagon Entertainment</studio>
    <credits>Joel Soisson</credits>
    <credits>Gary Scott Thompson</credits>
    <credits>Andrew W. Marlowe</credits>
    <director>Claudio F├ñh</director>
    <actor> BlaBla a lot of actors </actor>
    <producer> BlaBla Producer BlaBla </producer>
    <languages>Englisch</languages>
</movie>


The NEW NFO wich did not work, but has a "date added" in the end of the lines....

Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2019-05-17 21:48:22 - tinyMediaManager 2.9.17 -->
<movie>
    <title>Hollow Man 2</title>
    <originaltitle>Hollow Man II</originaltitle>
    <set>
        <name>Hollow Man Filmreihe</name>
        <overview></overview>
    </set>
    <sorttitle></sorttitle>
    <rating>4.7</rating>
    <year>2006</year>
    <top250></top250>
    <votes>102</votes>
    <outline> BlaBla outline BlaBla</outline>
    <plot>BlaBla Plot BlaBla</plot>
    <tagline></tagline>
    <runtime>91</runtime>
    <thumb>http://image.tmdb.org/t/p/w500/dVWS2MXvzIkQgN1TpSCfWHhnbJR.jpg</thumb>
    <fanart>http://image.tmdb.org/t/p/original/7t9okXhuguoylKwFasAZbE8SHQP.jpg</fanart>
    <mpaa>NR</mpaa>
    <certification>NR</certification>
    <id>tt0469916</id>
    <ids>
        <entry>
            <key>tmdb</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">8997</value>
        </entry>
        <entry>
            <key>imdb</key>
            <value xsi:type="xsConfusedtring" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">tt0469916</value>
        </entry>
        <entry>
            <key>tmdbSet</key>
            <value xsi:type="xs:int" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">166376</value>
        </entry>
    </ids>
    <tmdbId>8997</tmdbId>
    <trailer>plugin://plugin.video.youtube/?action=play_video&amp;videoid=fXmZFRSYHOE</trailer>
    <country>Vereinigte Staaten von Amerika</country>
    <premiered>2006-05-23</premiered>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>XviD</codec>
                <aspect>2.35</aspect>
                <width>640</width>
                <height>272</height>
                <durationinseconds>5479</durationinseconds>
            </video>
            <audio>
                <codec>MPEG Audio</codec>
                <language></language>
                <channels>2</channels>
            </audio>
        </streamdetails>
    </fileinfo>
    <watched>false</watched>
    <playcount>0</playcount>
    <genre>Horror</genre>
    <genre>Action</genre>
    <genre>Thriller</genre>
    <genre>Science Fiction</genre>
    <studio>Frontera Productions</studio>
    <studio>Destination Films</studio>
    <studio>Red Wagon Entertainment</studio>
    <credits>Joel Soisson</credits>
    <credits>Gary Scott Thompson</credits>
    <credits>Andrew W. Marlowe</credits>
    <director>Claudio F├ñh</director>
    <actor> BlaBla a Lot of actors... </actor>
    <producer> BlaBla some producer </producer>
    <dateadded>10.07.2006 21:22:04</dateadded>
    <languages>Englisch</languages>
</movie>


So THIS is my problem?!?
Do no one else have this issue ??!

With old NFO
Image

Same movie with new NFO Sad
Image


RE: Release 2.9.17 - Karellen - 2019-05-17

Date added is in the wrong format. Should be yyyy-mm-dd hh:mm:ss

<dateadded>2019-03-20 04:45:12</dateadded>


RE: Release 2.9.17 - Kamikaze01 - 2019-05-18

(2019-05-17, 22:33)Karellen Wrote: Date added is in the wrong format. Should be yyyy-mm-dd hh:mmConfuseds

<dateadded>2019-03-20 04:45:12</dateadded>

Thank u @Karellen  for your answer.

You are right - if i change the dateadded to this format, everything is good.
But if i rescrape the move with TMM (2.9.17) i get the same NFO with wrong dateadded format Sad
In the settings of TMM i choose to use the NFO for Kodi.... i never changed any settings between 2.9.16 and 2.9.17 !!

Can someone confirm the wrong dateadded format in NFO from TMM 2.9.17 ?!?!

Thank u


/edit:
just tested it with different TMM Settings

If i choose my old working NFO Settings "KODI", i got the wrong date added since 2.9.17
Image


If i choose the NFO Settings for OLDER Kodi instance <16, i got the same NFO with a wrong dateadded Sad
Image



only, when i choose the NFO-Format "MediaPortal" i got a NFO with no dateadded, which works... 
This is only since 2.9.17.... i used to use die normal Format "Kodi" (because my version is ABOVE 16) and this settings works fine the last years.
Since 2.9.17 i have to choose "MediaPortal" to get a working NFO for my right date added in KODI.
Image


RE: Release 2.9.17 - myron - 2019-05-20

Guys, since this version we write the dateAdded to the NFO.
We didn't do this before (this was basically only added for preserving the video file date, which is used as dateAdded)
Since we thought it might be only a TMM tag (didn't actually check in Kodi), we didn't care about the format....

Will be changed with next Version (either the format, or not writing this tag)


RE: Release 2.9.17 - Kamikaze01 - 2019-05-23

(2019-05-20, 08:45)myron Wrote: Guys, since this version we write the dateAdded to the NFO.
We didn't do this before (this was basically only added for preserving the video file date, which is used as dateAdded)
Since we thought it might be only a TMM tag (didn't actually check in Kodi), we didn't care about the format....

Will be changed with next Version (either the format, or not writing this tag)

Thank u SO much @myron  Smile
I thought I was going crazy. But in the end everything seems to be good Smile

Have just received the update to 2.9.17.1 where this is fixed.

TMM is definitely one of the best scraper !!

THANK YOU !!! My problem is solved !!