Commit graph

239 commits

Author SHA1 Message Date
KontiSR
bdac98db4b Implemented the queuing functionality also for Failed downloads.
ajaxEpSearch.js now also processes the clicks for Retries. SO merged those together and removed ajaxEpRetry.js.
2014-09-15 15:01:18 +02:00
echel0n
e3db9b8c93 Renamed filename for donate button 2014-09-15 05:55:53 -07:00
KontiSR
419e35f300 sbRoot missing in some img url's
Added queued.png image.. for manual searching

Fixed issue where consecutive manual searches where not queued properly
Added first backend processing for retrieving all queued searches. This should fix the frondend blocking when doing manual searches for episodes, because the backend is free sooner. It now only queues the search.
Created a returning ajax call for getting a list of all searches in queue en running on the displayShow page.

For the getManualSearchStatus() function, only use curItem from the ManualSearchQueueItem or FailedQueueItem threads.

Conflicts:
	sickbeard/search_queue.py
2014-09-15 13:31:16 +02:00
echel0n
640b840cde PEP8 correction for search web html template 2014-09-15 02:30:01 -07:00
echel0n
e78392f04a Backlog frequency determined by algo that takes into account daily search frequency to prevent overlap of searches, automatically calculates allowed minimum value that is user-settable 2014-09-15 02:23:11 -07:00
echel0n
417047f590 Added ability to set number of days to start backlog searches from, eg 7 days would search for episodes 7 days and older 2014-09-15 01:57:50 -07:00
Adam
f5d3f71c70 Add search queue info to ManageSearches page 2014-09-08 11:54:43 +08:00
djoole
6a393cc755 Added an option in Post Processing options do activated/deactivate postponing postprocess if sync files are present in download TV dir (activated by default) 2014-09-07 12:45:19 +02:00
Woodpaker
000467cc73 * Added saving of changed newznab categories in backend.
Added gui for selecting categories from multiselect box.
Created some helper function in js, for dynamically modifying selects/options

Made results of function for retrieving newznab capabilities more generic. In that now always a valid json is returned with success,tv_categories,error

Added gui elements for retrieving and displaying newznab capabilities

Added backend functions for calling ajax /getNewznabCategories?name=yourNewznabProvider&url=https://newznabprovURL&key=YourApiKey
Returns json.dumps() with TV category capabilities of newznab provider. Is going to be used for new gui element in adding newsnab provider.
2014-09-01 17:57:52 +02:00
echel0n
ee458bd211 Fixed AttributeError: 'NoneType' object has no attribute 'is_scene' in scene_numbering code.
Show root dirs can not be set from general config menu.
Mass editing shows now has the ability to delete root dirs as well as edit them.
Daily search no longer is restricted to just 1 week of results for searching from which now allows for replacing lower quality downloads with higher quality ones if available.
RSS Cache is updated for each provider on demand now when performing manual, failed, backlog, or daily searches.
2014-08-30 01:47:00 -07:00
echel0n
00a1ebfee3 Fixed TypeError: string indices must be integers error when mapping indexer id's
Added full delete feature to mass update, removes show from SR and deletes show folder from hard drive. Remove will just delete show from SR without deleting files from hard drive

Fixed XML errors for TVRage indexer api
2014-08-29 10:05:15 -07:00
echel0n
3cb1c573a3 Fix for newznab provider settings not saving properly
Added new show option, delete now removes show from showlist and deletes from hard drive, remove will just remove show from showlist but leave files on hard drive untouched
2014-08-29 03:29:56 -07:00
echel0n
bcffc09589 Replaced provider backlog only search option with 2 new options that allow you to enable daily searches and backlog searches individually per provider, default is enabled for both. 2014-08-28 22:16:25 -07:00
Adam
7af333e1f7 Fix sorting on mass update page 2014-08-25 13:37:55 +08:00
echel0n
a3449db3d3 Fix for Error cannot find 'cur_ep_enddate' 2014-08-21 23:26:49 -07:00
Callum Loh
b140354b6d Fixes issue with search page from PR 713 2014-08-14 17:11:35 +10:00
echel0n
27ac36cde9 Merge pull request #713 from piejanssens/dev
Add priority option for daily snatches (inc force)
2014-08-12 18:33:53 -07:00
piejanssens
e4282df953 Add priority option for daily snatches (inc force)
This adds a priority option that allows the user to specify the
priority to be used for daily/recent snatches instead of the default
high value ‘100’.

This also includes the use of priority ‘force’ which will let nzbget
download the task even if the queue is paused.
2014-08-11 22:07:02 +02:00
Adam
f4c0893d32 Fixes for trakt settings not saving 2014-08-11 19:29:35 +08:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
Sami Haahtinen
cd1cef55d6 Fix <a> element so that it doesn't leak to other elements 2014-08-05 00:13:34 +03:00
echel0n
a15258c784 Fixed massEdit issues. 2014-07-30 19:41:02 -07:00
echel0n
7b187c3add Fixed cannot find 'capitalize' while searching for 'capitalize' error.
Fixed unexpected branchVersion error.
2014-07-30 12:30:35 -07:00
echel0n
534104b8b0 Changed how SickRage determins its branch version which will resolve issues with app switching back to master branch by mistke on startup. 2014-07-28 21:43:28 -07:00
echel0n
f4b24bd85d Added a checkout branch button to the advanced config settings tab to tie things in better and make them easier. 2014-07-27 15:21:52 -07:00
echel0n
7dc89c084f Added ability to switch branches from general settings/advanced, will perform a forced checkout of whatever branch you choose and restart automatically.
Git updates are now forced to overwrite locale changes to avoid needing to manually stash uncommited changes before being able to proceed with a update.

Fixed indexer mapping when unable to locate show on indexer that we are trying to map to.
2014-07-27 11:39:02 -07:00
echel0n
de5db9be64 Added ability to set a default indexer for trakt notifier used for adding shows from watch list so that SickRage knows what indexer to set the show as.
Indexer mapping now uses indexer api calls to gather its information and then stores it to a new table called indexer_mapping for instant lookups later on.

Fixed trakt related issues for adding new shows and syncing.

Centered items at bottom of pages to just look a little nicer and fit properly.
2014-07-23 22:07:01 -07:00
Supremicus
aa69cfb07c Change SQL in templates.
Split downloaded and snatched
Use > instead of != in sql statement (speed improvement)
Today's Next Episode removes correctly if today's date is snatched or
downloaded (fix)
Progressbar percentage calculated in python (speed improvement)
Episode totals corrected (fix)
2014-07-21 15:38:50 +10:00
echel0n
7f20f5e27f Fixed whitelist error when editing shows, needs more code changes to fully function correctly.
Possible fix for threading exceptions.
2014-07-17 17:43:36 -07:00
echel0n
7cbeef5ed0 Fixed invalid naming pattern error.
Fixed sports regexes.
Fixed name parsing issues.
2014-07-15 02:40:21 -07:00
echel0n
d02c0bd6eb Fixed issues with editing/saving custom scene exceptions.
Fixed charmap issues for anime show names.

Fixed issues with display show page and epCat key errors.

Fixed duplicate log messages for clearing provider caches.

Fixed issues with email notifier ep names not properly being encoded to UTF-8.

TVDB<->TVRAGE Indexer ID mapping is now performed on demand to be used when needed such as newznab providers can be searched with tvrage_id's and some will return tvrage_id's that later can be used to create show objects from for faster and more accurate name parsing, mapping is done via Trakt API calls.

Added stop event signals to schedualed tasks, SR now waits indefinate till task has been fully stopped before completing a restart or shutdown event.

NameParserCache is now persistent and stores 200 parsed results at any given time for quicker lookups and better performance, this helps maintain results between updates or shutdown/startup events.

Black and White lists for anime now only get used for anime shows as intended, performance gain for non-anime shows that dont need to load these lists.

Internal name cache now builds it self on demand when needed per show request plus checks if show is already in cache and if true exits routine to save time.

Schedualer and QueueItems classes are now a sub-class of threading.Thread and a stop threading event signal has been added to each.

If I forgot to list something it doesn't mean its not fixed so please test and report back if anything is wrong or has been corrected by this new release.
2014-07-14 19:00:53 -07:00
echel0n
84fe4f0aeb Added back tvrage_name and tvrage_id to mirror show_name and indexer_id so that other apps that need those values have them available.
Cleaned up video html in display shows.
2014-07-11 18:38:22 -07:00
echel0n
2d87de0fd8 Fix for search provider config page errors. 2014-07-11 14:57:49 -07:00
echel0n
424674464f Playing videos from display show page has now been made opt-in, you can enable/disable via general config menu.
Swapped out video-js player for jwplayer to support mkv video codec.

Fixed issue with videos not playing.
2014-07-11 04:05:33 -07:00
echel0n
d6225dd8d3 Updated next episode airdate function to be run once at startup and then each time after that with show update schedualer 2014-07-09 00:49:05 -07:00
echel0n
dbe22b570b NextEpisode code modified to return the airdate ordinal instead of a ep object, faster. 2014-07-08 23:07:26 -07:00
echel0n
a085f0f538 Improved and faster nextepisode function, speeds up home page load times. 2014-07-08 22:42:56 -07:00
echel0n
004e82e459 Merge remote-tracking branch 'origin/dev' 2014-07-08 15:33:43 -07:00
echel0n
c5adfae655 Merge pull request #626 from arogl/dev
Minor GUI and console fixes
2014-07-08 09:54:56 -07:00
echel0n
84f3c5e698 Merge pull request #630 from olipayne/master
fixed broken images when changing web_root from default (empty)
2014-07-08 09:50:48 -07:00
echel0n
9c265ace69 Merge pull request #633 from adam111316/fix_downloads_column_sorting
Fixes downloads column sorting order for shows with all episodes ignored
2014-07-08 09:46:28 -07:00
adam
00bad06fad Fixes downloads column sorting order for shows with all episodes ignored 2014-07-08 21:52:29 +08:00
echel0n
3eab86478a Fixed video root issues for video player 2014-07-07 11:28:25 -07:00
echel0n
8063ac5d7a Fix for displayshows error: ValueError: invalid literal for int() with base 10: '' 2014-07-07 09:32:04 -07:00
echel0n
2b0b0dd885 Finally thanks to the new error handlers we have resolved the dredded issue 500 errors, enjoy! 2014-07-07 05:55:42 -07:00
Oliver Payne
c5949b4672 fixed broken images when changing from default (empty) 2014-07-06 21:08:16 +02:00
echel0n
773ac7e9e1 Merge pull request #629 from adam111316/fix_releasegroup_history
Fixes blank release group field for animes on history page
2014-07-06 08:46:25 -07:00
Adam
5e9daaf8c6 Fixes blank release group field for animes on history page 2014-07-06 23:38:47 +08:00
adam
9425a91b56 Relocating group labels and required words on show page 2014-07-06 22:54:30 +08:00
echel0n
93e2e93b63 Fix for edit shows and add shows. 2014-07-05 16:47:20 -07:00