Watched status and PlayCount
#1
Hello,

I have an issue with watched status in TinyMediaManager.
I import my movie database (nfo generated by xbmc, separate files) but the watched status on TinMediaManager are not imported.

I look at the nfo generated by TMM and I fount that TMM use <watched> XML element but don't use the <playCount> XML element of XBMC.
How can I synchronise this two elements or use PlayCount in TMM or use watched in XBMC?

Thank for the answer.
#2
just checked the code; I might have used the wrong field at importing NFOs from xbmc;
do you have a NFO which is written by your XBMC from a movie that have been watched? -> please post one here that I can be sure I fix it the right way now Wink
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab
#3
Hello,
This is the nfo generated by XBMC on export :

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>Basic Instinct (multi)</title>
    <originaltitle>Basic Instinct</originaltitle>
    <sorttitle>Basic Instinct 1</sorttitle>
    <rating>7.500000</rating>
    <epbookmark>0.000000</epbookmark>
    <year>1992</year>
    <top250>0</top250>
    <votes>6530</votes>
    <outline>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d&apos;une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu&apos;il faisait l&apos;amour. Nick apprend que le chanteur fr├⌐quentait Catherine Tramell, riche et brillante romanciere. Au cours de son enqu├¬te, il s&apos;apercoit que les parents de Catherine sont morts dans un accident suspect, que son professeur de psychologie a ├⌐t├⌐ assassin├⌐ dix ans plus t├┤t ├á coups de pic ├á glace et qu&apos;enfin, une de ses meilleures amies a, en 1956, tu├⌐ ses trois enfants et son mari.</outline>
    <plot>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d&apos;une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu&apos;il faisait l&apos;amour. Nick apprend que le chanteur fr├⌐quentait Catherine Tramell, riche et brillante romanciere. Au cours de son enqu├¬te, il s&apos;apercoit que les parents de Catherine sont morts dans un accident suspect, que son professeur de psychologie a ├⌐t├⌐ assassin├⌐ dix ans plus t├┤t ├á coups de pic ├á glace et qu&apos;enfin, une de ses meilleures amies a, en 1956, tu├⌐ ses trois enfants et son mari.</plot>
    <tagline>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d&apos;une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu&apos;il faisait l&apos;amour.</tagline>
    <runtime>128</runtime>
    <thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429462.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429463.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429461.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429466.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429468.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-274332.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429469.png</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429471.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Poster_BasicInstinct-429473.jpg</thumb>
    </thumb>
    <fanart>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429460.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429454.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429458.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429457.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429456.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429459.jpg</thumb>
        <thumb>http://passion-xbmc.org/scraper/Gallery/main/Fanart_BasicInstinct-429455.jpg</thumb>
    </fanart>
    <mpaa>-16</mpaa>
    <playcount>1</playcount>
    <lastplayed>2014-01-31</lastplayed>
    <id>tt0103772</id>
    <genre>Policier</genre>
    <country>U.S.A.</country>
    <country>France</country>
    <set>Basic Instinct</set>
    <credits>Joe Eszterhas</credits>
    <director>Paul Verhoeven</director>
    <premiered>1601-01-01</premiered>
    <status></status>
    <code></code>
    <aired>1601-01-01</aired>
    <studio></studio>

The movie is mark as watched in xbmc and other tools but not in TMM.

If I mark watched in TMM, the nfo contains a new element <watched>true<watched> :
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2014-05-13 21:08:01 - tinyMediaManager 2.5.5 -->
<movie>
    <title>Basic Instinct (multi)</title>
    <originaltitle>Basic Instinct</originaltitle>
    <set>Basic Instinct</set>
    <sorttitle>Basic Instinct01</sorttitle>
    <rating>7.5</rating>
    <epbookmark>0.000000</epbookmark>
    <year>1992</year>
    <top250></top250>
    <votes>6530</votes>
    <outline>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d'une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu'il faisait l'amour. Nick apprend</outline>
    <plot>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d'une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu'il faisait l'amour. Nick apprend que le chanteur fr├⌐quentait Catherine Tramell, riche et brillante romanciere. Au cours de son enqu├¬te, il s'apercoit que les parents de Catherine sont morts dans un accident suspect, que son professeur de psychologie a ├⌐t├⌐ assassin├⌐ dix ans plus t├┤t ├á coups de pic ├á glace et qu'enfin, une de ses meilleures amies a, en 1956, tu├⌐ ses trois enfants et son mari.</plot>
    <tagline>Nick Curran, inspecteur de police ├á San Francisco, enqu├¬te sur le meurtre d'une star du rock, Johnny Boz, tu├⌐ de trente et un coups de pic ├á glace par une inconnue alors qu'il faisait l'amour.</tagline>
    <runtime>128</runtime>
    <thumb></thumb>
    <fanart></fanart>
    <mpaa>US:not rated</mpaa>
    <certification>US:not rated</certification>
    <id>tt0103772</id>
    <tmdbId>0</tmdbId>
    <trailer>Basic instinct (multi) [1992 Policier] 1080p-trailer.flv</trailer>
    <country>France</country>
    <premiered>1601-01-01</premiered>
    <status></status>
    <code></code>
    <aired>1601-01-01</aired>
    <fileinfo>
        <streamdetails>
            <video>
                <codec>x264</codec>
                <aspect>2.35</aspect>
                <width>1920</width>
                <height>816</height>
                <durationinseconds>7692</durationinseconds>
            </video>
            <audio>
                <codec>DTS</codec>
                <language>fran├ºais</language>
                <channels>6</channels>
            </audio>
            <audio>
                <codec>DTS</codec>
                <language>anglais</language>
                <channels>6</channels>
            </audio>
        </streamdetails>
    </fileinfo>
    <watched>true</watched>
    <playcount>1</playcount>
    <genre>Policier</genre>
    <studio></studio>
    <credits>Joe Eszterhas</credits>
    <director>Paul Verhoeven</director>

Sorry if I take time to respond
I hope you can see that.

Good luck and thank you for your work.
#4
thanks; fixed that in the movie XBMC NFO (missed a part there)
tinyMediaManager - THE media manager of your choice - available for Windows, macOS and Linux
Help us translate tinyMediaManager at Weblate | Translations at 66%
Found a bug or want to submit a feature request? Contact us at GitLab

Logout Mark Read Team Forum Stats Members Help
Watched status and PlayCount0