Solved tMM 2.6.9 no subtitles in TV Show .nfo files
#1
Hi,

This may have gone unnoticed - or maybe I have just missed the point - but it seems to me tMM has a bit of trouble with subtitles for TV Shows as it is not creating the <subtitle> tag in the .nfo files. It works perfectly well with Movies, mind that.

See the screenshot below for an episode from a TV Show And Then There Were None - S01E01 - Episode 1.nfo. That episode has English and Spanish subtitles and tMM can "understand it". However, the .nfo file does not display the <subtitle> tag inside any <fileinfo>... and so no subtitle can be chosen for display.

Image

I have even applied Update media information of selected TV Show first and then Rewrite NFO for selected episode just in case I did not generate the .nfo properly. But no, it will not have the desired result.
Here is the code of the .nfo file for reference:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- created on 2016-01-18 13:28:42 - tinyMediaManager 2.6.9 -->
<episodedetails>
    <title>Episode 1</title>
    <showtitle>And Then There Were None</showtitle>
    <rating>8.3</rating>
    <votes>0</votes>
    <season>1</season>
    <episode>1</episode>
    <uniqueid>5316701</uniqueid>
    <plot>1939. As civilization teeters on the brink of war, ten strangers are persuaded to retreat from their troubled lives to Soldier Island, an isolated rock off the Devon coast.</plot>
    <thumb></thumb>
    <mpaa>not rated</mpaa>
    <playcount>0</playcount>
    <lastplayed></lastplayed>
    <watched>false</watched>
    <credits>Sarah Phelps</credits>
    <director>Craig Viveiros</director>
    <aired>2015-12-26</aired>
    <premiered>2015-12-26</premiered>
    <studio>BBC One</studio>
    <actor>
        <name>Sam Neill</name>
        <role>General John MacArthur</role>
        <thumb>http://thetvdb.com/banners/actors/362389.jpg</thumb>
    </actor>
    <actor>
        <name>Charles Dance</name>
        <role>Judge Lawrence Wargrave</role>
        <thumb>http://thetvdb.com/banners/actors/362391.jpg</thumb>
    </actor>
    <actor>
        <name>Aidan Turner</name>
        <role>Philip Lombard</role>
        <thumb>http://thetvdb.com/banners/actors/362393.jpg</thumb>
    </actor>
    <actor>
        <name>Miranda Richardson</name>
        <role>Emily Brent</role>
        <thumb>http://thetvdb.com/banners/actors/365727.jpg</thumb>
    </actor>
    <actor>
        <name>Douglas Booth</name>
        <role>Anthony Marston</role>
        <thumb>http://thetvdb.com/banners/actors/364295.jpg</thumb>
    </actor>
    <actor>
        <name>Noah Taylor</name>
        <role>Thomas Rogers</role>
        <thumb>http://thetvdb.com/banners/actors/362404.jpg</thumb>
    </actor>
    <actor>
        <name>Anna Maxwell Martin</name>
        <role>Ethel Rogers</role>
        <thumb>http://thetvdb.com/banners/actors/362403.jpg</thumb>
    </actor>
    <actor>
        <name>Burn Gorman</name>
        <role>Det Sgt William Blore</role>
        <thumb>http://thetvdb.com/banners/actors/362402.jpg</thumb>
    </actor>
    <actor>
        <name>Maeve Dermody</name>
        <role>Vera Claythorne</role>
        <thumb>http://thetvdb.com/banners/actors/362401.jpg</thumb>
    </actor>
    <actor>
        <name>Toby Stephens</name>
        <role>Dr Edward Armstrong</role>
        <thumb>http://thetvdb.com/banners/actors/362397.jpg</thumb>
    </actor>
    <epbookmark>0.000000</epbookmark>
    <year>0</year>
    <top250>0</top250>
    <displayseason>-1</displayseason>
    <displayepisode>-1</displayepisode>
    <outline/>
    <tagline/>
    <runtime>0</runtime>
    <id/>
    <set/>
    <status/>
    <code/>
    <trailer/>
    <resume>
        <position>0.000000</position>
        <total>0.000000</total>
    </resume>
    <dateadded>2015-12-30 22:13:33</dateadded>
</episodedetails>


In Movies, however, that tag is properly displayed (code taken from a given Movie file) and a subtitle can be chosen:

Code:
<fileinfo>
        <streamdetails>
            <video>
                <codec>h264</codec>
                <aspect>1.78</aspect>
                <width>832</width>
                <height>468</height>
                <durationinseconds>6515</durationinseconds>
            </video>
            <audio>
                <codec>AAC</codec>
                <language>ron</language>
                <channels>2</channels>
            </audio>
            <subtitle>
                <language>eng</language>
            </subtitle>
            <subtitle>
                <language>spa</language>
            </subtitle>
        </streamdetails>
    </fileinfo>

Do you think you could have a look at this issue? Thank you in advance.

BTW, I am using tMM 2.6.9
#2
please try it with latest version.
We're already on 2.7.1 Wink

(but this requires Java 7+, which might be the case that you still be on 2.6.x)
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#3
I don't think internal/external subtitles are ever written to an episode nfo. If there are subs, TMM displays it and kodi shows them when the file is played. Is there any use of that tag?
~Web and graphic designer... Linux enthusiast... Python Fan... A Gooner~
[AMD A10-7850K 3.7 Ghz, Radeon R7]
[Fedora 27] | [Kodi - 17.6 / Skin - Grid]

Image
#4
Hi,

@myron Sorry for late reply. Yes, it was because of Java... Have updaded it and moved to tMM 2.7.1 It works wonders now! Smile I have just edited the Subject: and added [Solved] for clarification purposes

@akya Well, Kodi is one of different media players/servers. I am thinking of Plex, for instance.

Logout Mark Read Team Forum Stats Members Help
tMM 2.6.9 no subtitles in TV Show .nfo files0