diff --git a/source/net/sourceforge/filebot/web/AbstractEpisodeListProvider.java b/source/net/sourceforge/filebot/web/AbstractEpisodeListProvider.java index b8cd8bcc..fe1184ee 100644 --- a/source/net/sourceforge/filebot/web/AbstractEpisodeListProvider.java +++ b/source/net/sourceforge/filebot/web/AbstractEpisodeListProvider.java @@ -44,6 +44,7 @@ public abstract class AbstractEpisodeListProvider implements EpisodeListProvider return (cache != null) ? cache.putSearchResult(query, locale, results) : results; } + // helper for scripting public List getEpisodeList(SearchResult searchResult, String sortOrder, String locale) throws Exception { return getEpisodeList(searchResult, sortOrder == null ? SortOrder.Airdate : SortOrder.forName(sortOrder), new Locale(locale)); } diff --git a/website/.htaccess b/website/.htaccess index 04e11449..688dc876 100644 --- a/website/.htaccess +++ b/website/.htaccess @@ -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