Ruud
9a60f6001a
Check snatched on startup
2013-01-02 14:10:41 +01:00
Ruud
95c2e992b0
Use trailer naming from settings. closes #936
2012-12-19 11:11:12 +01:00
Ruud
4e9472f8ee
Encode path properly before using it in walk. close #978
2012-12-18 23:18:54 +01:00
Ruud
2dcc1e096e
Make path safe first
2012-12-17 21:10:04 +01:00
clinton-hall
bb7b4cbbed
Added try: except for two common errors
...
Does not fix the errors, but prevents the renamer being stuck as "in progress"
Allows next instance to run.
2012-12-13 19:45:13 -08:00
Ruud
929c6fe3f9
Don't run schedules when it's 0
2012-11-30 21:42:18 +01:00
Ruud
b03012e4aa
Customizable check snatched. closes #920
...
Thanks to @clinton-hall
2012-11-11 22:01:19 +01:00
Ruud
655e847aeb
Catch renamer.after event errors. fix #1032
2012-11-10 10:10:05 +01:00
Ruud
a86522a810
Don't download next when the release isn't found in downloaded. fix #924
2012-10-26 22:02:34 +02:00
Ruud
6f7b565103
Use multiple tag when renaming extras. fix #652
2012-10-21 18:07:14 +02:00
Ruud
ad0a1b1efe
Pass all the renamed files when adding new release
2012-10-14 20:26:10 +02:00
Ruud
d3ebe531d5
Don't use 2 events after rename
2012-10-14 14:13:10 +02:00
Ruud
269e98b049
Removed all commented out db.close
2012-10-12 19:09:57 +02:00
Ruud
7f90135947
checksnatched debug code leftover. fix #892
2012-10-02 22:16:21 +02:00
Ruud
9184a97fcd
Don't loop over releases when download doesn't support check snatched. fix #887
2012-09-30 15:56:51 +02:00
Ruud
ce0bf7b51a
Standardized checking snatched
2012-09-28 13:10:58 +02:00
clinton-hall
dc63796e48
Added nzbname
...
previously defined in Downloader. I forgot to bring this across.
2012-09-26 17:12:19 +09:30
clinton-hall
c6cba2f6e5
Only request SABnzbd status once
...
Performs the checking of queue and history here. Requests delete of failed downlaods via download.remove event.
2012-09-26 16:59:36 +09:30
Ruud
89c295b4ad
Properly get releases for check snatched
2012-09-08 14:34:45 +02:00
Ruud
3767a2411a
Movie check snatched to renamer plugin
2012-09-08 14:26:15 +02:00
Ruud
f799e70e18
Only try and remove old folders once. fix #786
2012-09-02 20:47:24 +02:00
Ruud
cf86948c13
Remove empty folder when found better quality. fix #735
2012-08-26 15:42:26 +02:00
Ruud
c753857dbd
Merge branch 'develop4' of https://github.com/mano3m/CouchPotatoServer into mano3m-develop4
2012-08-05 16:41:35 +02:00
Ruud
40daba277b
Handle permission error in shutil.move for *nix systems during the rename plugin.
2012-08-05 15:39:04 +02:00
mano3m
928c440f90
renamer cleanup
2012-08-02 19:01:19 +02:00
mano3m
4223ed4b5a
Put the renamer as a function of a download status checker in the searcher class
...
The changed functionality is as follows:
- the renamer is not on scheduled interval anymore
- the download status checker checks the status of all snatched releases every x minutes
- if a release has downloaded it fires up the renamer (if enabled)
- if it failed, it sets the release to ignored and snatches the next best release
With these additions the renamer wont scan your hd anymore when it is not required, and will retry failed downloads with new releases.
To do:
- the only downloader implemented is SabNZBd, for the others it defaults to the old behavior when releases are snatched (I think!?)
- a button to scan manually: Items added to the renamer folder are only picked up after a download completed
2012-08-02 18:59:04 +02:00
mano3m
4aae3c45ea
Bug fixes, it should actually restart the download now
2012-08-01 02:38:00 +02:00
mano3m
2884488338
Removed double logging, bug fixes
2012-07-29 22:02:51 +02:00
mano3m
6225ed92b1
Added failed download handling for sabnzbd.
...
It will check for failed downloads from the sabnzbd api and then set the failed release to ignore and try the search again.
2012-07-29 20:17:25 +02:00
Ruud
897a7ea122
Unicode errors. fix #600 #597
2012-07-15 16:25:59 +02:00
Ruud
57d3ef8058
Meta data getting renamed with sample filename. fix #467
2012-07-13 23:57:25 +02:00
Ruud
9d962db755
Better description for renaming. fix #568
2012-07-13 15:03:48 +02:00
Ruud
d562559562
Json & decode errors. fix #494
2012-07-01 13:48:38 +02:00
Ruud
f288cbed7a
Stop renamer on 'exists'
2012-06-26 22:21:02 +02:00
Ruud
f45a6f928c
Rename dir on fail
2012-06-25 22:45:09 +02:00
Ruud
138286722f
Log chmod error
2012-06-13 12:11:03 +02:00
Ruud
e0440d4b11
Try and encode logging messages. fix #403
2012-06-11 12:38:22 +02:00
Ruud
bd5170bc8e
Use file permissions
2012-06-10 22:05:28 +02:00
Ruud
e62b177940
Add cd number to renaming options
2012-05-28 22:05:40 +02:00
Ruud
b65923b36d
Leftover print. fix #221
2012-05-26 23:11:58 +02:00
Ruud
0a9c8abcad
Move srt files. fix #274
2012-05-26 00:04:50 +02:00
Ruud
556752fd3f
Original filename
2012-05-24 22:58:09 +02:00
Ruud
4711e09f91
Add imdb id to renaming options
2012-05-20 22:32:46 +02:00
Ruud
082af9a307
Don't fire events for unknown movie
2012-05-19 00:45:42 +02:00
Ruud
c1f0a98e96
Add filename to renamer choices
2012-05-18 12:50:31 +02:00
Ruud
1b9d124965
Remove first in renamer. fix #283
2012-05-18 12:12:43 +02:00
Ruud
4b5fd0d6e6
Renaming to None
2012-05-12 00:00:05 +02:00
Ruud
921a851b7e
Re-use session. fix #252
2012-05-11 23:17:50 +02:00
Ruud
4bdd23e36a
Do some title testing. fix #246 closes #238
2012-05-11 22:59:47 +02:00
Ruud
b2be9ef7c4
Remove debug lines. fixes #233
2012-05-09 22:19:10 +02:00