Commit Graph

112 Commits

Author SHA1 Message Date
Ruud 1f2c2269e6 Ignore thumbs.db files and don't fail on single path split. fix #2265 2013-09-29 09:54:37 +02:00
Ruud 475ac1bb9c Only use filename for identification when possible. fix #2233 & #954 2013-09-28 18:06:45 +02:00
Ruud 69a9fa1193 Simplify string before checking on imdb 2013-09-20 18:08:27 +02:00
Ruud 6464bb065d Better year guessing. fix #609 2013-09-18 23:04:54 +02:00
Mythin 94647bbb57 Fix the variable passed to the getImdb method 2013-09-09 23:08:49 -07:00
Ruud 7fd14e0283 Code cleanup 2013-09-02 21:59:06 +02:00
Ruud 910578a2ac Use TheMovieDB v3 api 2013-09-02 14:10:31 +02:00
Ruud 88176997e7 Don't use year if it's the first in the identified string. fix #1815 2013-09-02 00:00:27 +02:00
Ruud f6c836157d Movie db to bottom in scanner 2013-09-01 00:22:22 +02:00
Jason Mehring 11fcfa8202 Moved library and refactored to its now location. Modified anything firing libray.add/update/_release date to now fire library.add.movie...
Conflicts:
	couchpotato/core/loader.py
	couchpotato/core/media/show/_base/main.py
	couchpotato/core/media/show/library/season/main.py
2013-08-24 20:04:27 +02:00
Ruud c267232160 Add unrar support
Thanks @mano3m
2013-08-24 15:04:56 +02:00
mano3m bf6bcaed72 provide more info in case no movie is found
Several users reported an issue with "more than one group found (0)",
and it was unclear to them what it meant. This might help.
2013-08-22 21:20:02 +02:00
mano3m 461a0b3645 Seeding support
Design intent:
- Option to turn seeding support on or off
- After torrent downloading is complete the seeding phase starts, seeding parameters can be set per torrent provide (0 disables them)
- When the seeding phase starts the checkSnatched function renames all files if (sym)linking/copying is used. The movie is set to done (!), the release to seeding status.
- Note that Direct symlink functionality is removed as the original file needs to end up in the movies store and not the downloader store (if the downloader cleans up his files, the original is deleted and the symlinks are useless)
- checkSnatched waits until downloader sets the download to completed (met the seeding parameters)
- When completed, checkSnatched intiates the renamer if move is used, or if linking is used asks the downloader to remove the torrent and clean-up it's files and sets the release to downloaded
- Updated some of the .ignore file behavior to allow the downloader to remove its files

Known items/issues:
- only implemented for uTorrent and Transmission
- text in downloader settings is too long and messes up the layout...

To do (after this PR):
- implement for other torrent downloaders
- complete download removal for NZBs (remove from history in sabNZBd)
- failed download management for torrents (no seeders, takes too long, etc.)
- unrar support

Updates:
- Added transmission support
- Simplified uTorrent
- Added checkSnatched to renamer to make sure the poller is always first
- Updated default values and removed advanced option tag for providers
- Updated the tagger to allow removing of ignore tags and tagging when the group is not known
- Added tagging of downloading torrents
- fixed subtitles being leftover after seeding
2013-06-26 19:49:04 +02:00
Ruud Burger 7670e320ba Merge pull request #1799 from clinton-hall/develop-audiochannels
add audio channels to renamer
2013-06-10 11:39:34 -07:00
Ruud 15ab745bd0 Don't assume imdb key. fixes #1819 2013-06-08 18:04:46 +02:00
clinton-hall 563e3072a5 add audio channels to renamer 2013-05-31 13:44:40 +09:30
Ruud 5aa29acbd3 Logging fixes 2013-05-17 17:51:15 +02:00
Ruud 551a000893 Incorrect marking as BD-Rip
Fixes #1643
2013-05-17 15:12:13 +02:00
Ruud 6144f09a1f Make lists of sorted movies files also 2013-05-14 00:15:28 +02:00
Ruud d0c1a119fd Use list for leftover files 2013-05-13 23:48:02 +02:00
Ruud a600430be4 file_action cleanup
tag ignored/failed/renamed with custom file
2013-04-05 21:56:33 +02:00
Ruud 3fe7d2ea15 Download id cleanup 2013-04-01 21:18:29 +02:00
mano3m 2851781a72 Move around items between scanner and renamer 2013-04-01 13:03:05 +02:00
mano3m 45b9919f67 Added some debugging info 2013-04-01 10:16:30 +02:00
mano3m 6a18e546ca Add and make use of renamer.scanfolder in downloaders
This is the next step in closing the loop between the downloaders and CPS. The download_id and folder from the downloader are used to find the downloaded files and start the renamer. This is done by adding an additional API call: renamer.scanfolder.

I tested this for SabNZBd only (!) and everything works as expected.

I also added transmission with thanks @manusfreedom for setting this up in f1cf0d91da. @manusfreedom, please check if this works as expected. Note that transmission now has a feature which is not in the other torrent providers: it waits until the seed ratio is met and then removes the torrent. I opened a topic in the forum to discuss how we want to deal with torrents: https://couchpota.to/forum/thread-1704.html
2013-03-31 10:49:40 +02:00
Ruud 3c0edc0d6a Clean out more words before search.
Thanks to @jkaberg
2013-03-25 12:09:32 +01:00
Ruud 19641bd897 Give the scanner some rest when to many threads 2013-03-20 22:47:14 +01:00
Ruud c7cd72787f Ignore extracted folder. fix #1369 2013-02-02 11:49:12 +01:00
Ruud a3a2c8da8e Typo 2013-01-04 19:03:36 +01:00
Ruud 3aea2cd968 Simpler CP tag regex 2013-01-02 13:29:08 +01:00
Ruud 570b79a67e Use height with margin to check quality. fix #582 2012-12-17 22:27:07 +01:00
Ruud a57ba9026d Year match only 1900-2099 2012-12-17 18:21:15 +01:00
Ruud be56b96bd0 Try and find groupname more accurately. fix #612 2012-11-11 16:47:00 +01:00
Ruud 5caa40bd81 Mapped audio codecs to renamer. closes #993
Thanks @clinton-hall
2012-11-04 00:23:36 +01:00
Ruud 212d64143c Ignore extracting folder. fix #1004 2012-11-02 18:16:03 +01:00
Ruud ad0a1b1efe Pass all the renamed files when adding new release 2012-10-14 20:26:10 +02:00
Ruud f204309ed7 Remove unused file before counting them 2012-10-14 14:37:02 +02:00
Ruud 981ba61458 Progress bars for manage updates 2012-10-13 21:17:42 +02:00
Ruud 269e98b049 Removed all commented out db.close 2012-10-12 19:09:57 +02:00
Ruud c0012c9243 Properly use newer_than. fix #850 2012-09-20 11:25:38 +02:00
Ruud bdfb073bca Catch filetime error. fix #741 2012-08-26 14:14:57 +02:00
Ruud 1154d93ccd Don't re-use path_identifiers. fix #665 2012-08-04 23:14:53 +02:00
Ruud 68cbfc4d84 Send unicode to Subliminal 2012-07-11 01:00:56 +02:00
Ruud d562559562 Json & decode errors. fix #494 2012-07-01 13:48:38 +02:00
Ruud f45a6f928c Rename dir on fail 2012-06-25 22:45:09 +02:00
Ruud 3f95a0911a Don't proces temp files. fix #437 2012-06-12 21:18:56 +02:00
Ruud 5b2f1248e0 Encoding file paths 2012-06-11 15:30:39 +02:00
Ruud e0440d4b11 Try and encode logging messages. fix #403 2012-06-11 12:38:22 +02:00
Ruud dce5107606 Check dict before deleting. fix #401 2012-06-11 09:55:53 +02:00
Ruud f410ba13f4 Working "full/quick" scan 2012-06-10 21:58:07 +02:00