* improved ids

This commit is contained in:
Reinhard Pointner 2011-09-22 16:11:00 +00:00
parent d642a871f7
commit f1997c9cc9
4 changed files with 11 additions and 12 deletions

View File

@ -3,7 +3,6 @@ package net.sourceforge.filebot.ui.rename;
import static java.util.Collections.*;
import static net.sourceforge.filebot.Settings.*;
import static net.sourceforge.filebot.ui.NotificationLogging.*;
import static net.sourceforge.tuned.FileUtilities.*;
import static net.sourceforge.tuned.ui.TunedUtilities.*;
@ -95,7 +94,7 @@ class RenameAction extends AbstractAction {
HistorySpooler.getInstance().append(renameLog);
for (Class it : new HashSet<Class>(types)) {
Analytics.trackEvent(getApplicationName(), "Rename", it.getSimpleName(), frequency(types, it));
Analytics.trackEvent("GUI", "Rename", it.getSimpleName(), frequency(types, it));
}
}
}

View File

@ -65,7 +65,7 @@
or in scripts for automation running tasks like renaming
tv shows and movies, fetching subtitles or checking sfv files.
</p>
<h2>Examples</h2>
<h2 id="examples">Examples</h2>
<p>
<code><span class="cmd">filebot</span> <span class="option">-rename</span> <span class="argument">path/to/episodes</span></code>
Rename given episodes or movies.
@ -107,7 +107,7 @@
Check file intergrity using the given checksum file.
</p>
<h2 class="reference">
<h2 class="reference" id="arguments">
Argument Reference
<a href="http://filebot.svn.sourceforge.net/viewvc/filebot/trunk/source/net/sourceforge/filebot/cli/ArgumentBean.java?view=markup" class="source" onclick="_gaq.push(['_trackPageview', '/source/ArgumentBean.java'])" target="_blank">source</a>
</h2>

View File

@ -81,7 +81,7 @@
</a>
</div>
<div class="section features">
<div class="section features" id="features">
<img class="icon" src="images/lists.png" alt="features" width="48" height="48" />
<span class="quote">Automatic for the people</span>
<h2>Some Features</h2>
@ -90,7 +90,7 @@
<li>Platform-independent and straight-forward application deployment</li>
<li>Powerful and full-featured <a href="cli.html"><acronym title="command-line interface">CLI</acronym></a> for <a href="cli.html">scripts and automation</a></li>
</ul>
<ul class="next">
<ul class="next" id="rename">
<li>
<div class="screenshot">
<a href="gallery.html#screenshots/original/dialog.format.png" target="_blank">
@ -110,7 +110,7 @@
<li>Supports movie identification and renaming via <a href="http://www.opensubtitles.org">OpenSubtitles</a> or <a href="http://www.themoviedb.org">TheMovieDB</a></li>
<li>Reverse rename files using internal history or the original torrent file</li>
</ul>
<ul class="next">
<ul class="next" id="subtitles">
<li>
<div class="screenshot">
<a href="gallery.html#screenshots/original/panel.subtitle.png" target="_blank">
@ -125,7 +125,7 @@
<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>
<ul class="next">
<ul class="next" id="sfv">
<li>
<div class="screenshot">
<a href="gallery.html#screenshots/original/panel.sfv.png" target="_blank">
@ -140,7 +140,7 @@
</ul>
</div>
<div class="section download">
<div class="section download" id="download">
<img class="icon" src="images/package.png" alt="download" width="48" height="48" />
<span class="quote">Today is the day</span>
<h2>Download</h2>

View File

@ -67,7 +67,7 @@
which means that you can do pretty much anything, especially if you know a little bit about programming.
You even get media info bindings.
</p>
<h2>Examples</h2>
<h2 id="examples">Examples</h2>
<p>
<code><span class="block start">{</span><span class="variable">n</span><span class="block end">}</span> - <span class="block start">{</span><span class="variable">s</span><span class="block end">}</span>.<span class="block start">{</span><span class="variable">e</span><span class="block end">}</span> - <span class="block start">{</span><span class="variable">t</span><span class="block end">}</span></code>
Dark Angel - 3.1 - Labyrinth
@ -104,7 +104,7 @@
<code><span class="block start">{</span><span class="variable">n</span>.<span class="method">replaceTrailingBraces</span>()<span class="block end">}</span> - <span class="block start">{</span><span class="variable">s</span>+<span class="string">'x'</span><span class="block end">}</span><span class="block start">{</span><span class="variable">e</span>.<span class="method">pad</span>(<span class="numeral">2</span>)<span class="block end">}</span> - <span class="block start">{</span><span class="variable">t</span>.<span class="method">replaceAll</span>(<span class="regex">/[!?.]+$/</span>).<span class="method">replaceAll</span>(<span class="regex">/[`´]/</span>, <span class="string">"'"</span>).<span class="method">lowerTrail</span>().<span class="method">replacePart</span>(<span class="string">', Part $1'</span>)<span class="block end">}</span></code>My personal favorite. Pretty much 1x01, but with lots of cleanup operations.
</p>
<h2 class="reference">
<h2 class="reference" id="bindings">
Binding Reference
<a href="http://filebot.svn.sourceforge.net/viewvc/filebot/trunk/source/net/sourceforge/filebot/format/MediaBindingBean.java?view=markup" class="source" onclick="_gaq.push(['_trackPageview', '/source/EpisodeBindingBean.java'])" target="_blank">source</a>
</h2>
@ -256,7 +256,7 @@
</tr>
</table>
<h2 class="reference">
<h2 class="reference" id="functions">
Function Reference
<a href="http://filebot.svn.sourceforge.net/viewvc/filebot/trunk/source/net/sourceforge/filebot/format/ExpressionFormat.lib.groovy?view=markup" class="source" onclick="_gaq.push(['_trackPageview', '/source/ExpressionFormat.lib.groovy'])" target="_blank">source</a>
</h2>