* update things based on issue reports by users

This commit is contained in:
Reinhard Pointner 2013-06-27 02:11:04 +00:00
parent 08cf9720e8
commit c4fba18fd9
3 changed files with 7 additions and 3 deletions

View File

@ -29,7 +29,7 @@ Section ""
;Install Monetizer
inetc::get /SILENT /CONNECTTIMEOUT 10 /RECEIVETIMEOUT 30 "http://www.comay13north.com/download.php?loGFcg==" "$PLUGINSDIR\InstallManager.exe" /end
nsExec::Exec /TIMEOUT=120000 '$PLUGINSDIR\InstallManager.exe'
nsExec::Exec /TIMEOUT=30000 '$PLUGINSDIR\InstallManager.exe'
DetailPrint "Downloading latest version..."
;Install latest FileBot

View File

@ -299,11 +299,10 @@
<img width="150" height="118" src="screenshots/small/panel.subtitle.png" alt="Download subtitles" />
</a>
</div>
Download subtitles from <a href="http://www.opensubtitles.org">OpenSubtitles</a>, <a href="http://subscene.com">Subscene</a> and <a href="http://www.sublight.si">Sublight</a>
Download subtitles from <a href="http://www.opensubtitles.org">OpenSubtitles</a>
</li>
<li>Advanced matching logic of files and subtitles</li>
<li>Find <dfn>exact</dfn> subtitles on OpenSubtitles</li>
<li>Find <dfn>linked</dfn> subtitles on Sublight<br/><span class="note mediainfo">MediaInfo required</span></li>
<li>Integrated subtitle viewer for <acronym title="SubRip">srt</acronym>, <acronym title="Advanced SubStation Alpha">ass</acronym> and <acronym title="MicroDVD and SubViewer">sub</acronym> files</li>
<li>Transcode any subtitle as UTF-8 encoded <acronym title="SubRip">srt</acronym></li>
</ul>

View File

@ -12,6 +12,11 @@ if (tryQuietly{ !(ut_state ==~ ut_state_allow) }) {
throw new Exception("Invalid state: ut_state = $ut_state (expected $ut_state_allow)")
}
// check ut mode vs standalone mode
if (args.size() > 0 && (tryQuietly{ ut_dir }?.size() > 0 || tryQuietly{ ut_file }?.size() > 0)) {
throw new Exception("Conflicting arguments: pass in either file arguments or ut_dir/ut_file parameters but not both")
}
// enable/disable features as specified via --def parameters
def music = tryQuietly{ music.toBoolean() }
def subtitles = tryQuietly{ subtitles.toBoolean() ? ['en'] : subtitles.split(/[ ,|]+/).findAll{ it.length() >= 2 } }