1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 08:48:51 -05:00

* fix fix

This commit is contained in:
Reinhard Pointner 2014-03-24 15:30:59 +00:00
parent 147f1e5dca
commit 8f31ed3977
2 changed files with 3 additions and 2 deletions

View File

@ -44,6 +44,7 @@ public abstract class AbstractEpisodeListProvider implements EpisodeListProvider
return (cache != null) ? cache.putSearchResult(query, locale, results) : results;
}
// helper for scripting
public List<Episode> getEpisodeList(SearchResult searchResult, String sortOrder, String locale) throws Exception {
return getEpisodeList(searchResult, sortOrder == null ? SortOrder.Airdate : SortOrder.forName(sortOrder), new Locale(locale));
}

View File

@ -11,8 +11,8 @@ RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
RewriteCond %{HTTP_HOST} =filebot.net [NC]
RewriteRule ^(.*)$ http://www.filebot.net/$1 [R=301,L]
RewriteCond %{HTTP_HOST} =www.filebot.net [NC]
RewriteRule ^scripts\/(.*)$ https://github.com/filebot/scripts/blob/master/$1.groovy [R=301,L]
# RewriteCond %{HTTP_HOST} =www.filebot.net [NC]
# RewriteRule ^scripts\/(.*)$ https://github.com/filebot/scripts/blob/master/$1 [R=301,L]
# compress text, html, javascript, css, xml