Commit Graph
154 Commits
Author SHA1 Message Date
Ruud 76807176fb Merge branch 'develop-categories' of git://github.com/clinton-hall/CouchPotatoServer into clinton-hall-develop-categories
Conflicts:
	couchpotato/core/plugins/score/main.py
2013-07-15 20:47:29 +02:00
mano3m 2584abda0e Several fixes and increased readability 2013-07-13 17:06:59 +02:00
Ruud 36f63bdf99 Seeding cleanup and better defaults 2013-07-09 22:52:32 +02:00
Ruud 8a252bff64 Don't use parentdir for tagging 2013-07-07 13:00:38 +02:00
Ruud d3d3106fc9 Merge branch 'develop_seed' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_seed 2013-07-07 11:37:53 +02:00
Ruud 797dedfcbb Remove cdX from subname. fix #1524 2013-07-05 21:28:07 +02:00
mano3m 7ed43da425 Also set seeding status in case nothing is done 2013-06-26 19:49:05 +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
clinton-hall 007597239f add categories 2013-06-14 15:06:59 +09:30
Ruud 6e0857c6c1 Remove Flask dependencies 2013-06-12 23:37:08 +02:00
clinton-hall 563e3072a5 add audio channels to renamer 2013-05-31 13:44:40 +09:30
Ruud d9ce2906a0 Fix line ending 2013-05-26 14:24:59 +02:00
Joel KåbergandRuud b76397f98e addApiView explenation 2013-05-26 14:22:31 +02:00
Joel KåbergandRuud fcad9e0be5 fireAsync made optional 2013-05-26 14:22:23 +02:00
Ruud 7b5b748d23 Failed joining unicode and none unicode paths
fix #1447
2013-05-18 22:45:09 +02:00
Ruud 067d6e8514 Put link and symlink in helpers 2013-04-30 19:32:11 +02:00
mano3mandRuud 42e19e1e2b Replace linktastic with simple ctypes
Linktastic calls the command line interpreter to do linking. This
solution calls the windows API directly. This is faster and cleaner, but
most important of all: it doesn't cause a command window to popup every
time a link is made. This popup asks window focus and thus interrupts a
movie you are watching!!

Hopefully this also works on non-windows systems. I am unable to test
this so please let me know :)
2013-04-30 19:24:28 +02:00
Ruud 9ba19d27a6 Combine status calls 2013-04-27 11:04:19 +02:00
Ruud 384a355a53 Check release type by info 2013-04-26 23:48:54 +02:00
Ruud 58ad5c3938 Merge branch 'develop_symlink' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_symlink 2013-04-26 19:59:47 +02:00
mano3m 6ee68d1418 Fix getDownloadInfo 2013-04-26 19:37:47 +02:00
mano3m b85942989d Standardise failed status
apply the failed status in case of a manual re-add and automatic try
next release
2013-04-21 23:46:21 +02:00
Clinton Hall f2f43a2231 Wont delete the "from" (sub)folders, "movie" folder or "destination" folder at this time. These should be deleted after the renaming... at this stage we should only be deleting any "older releases" 2013-04-20 11:42:53 +09:30
mano3m 2979a8edec Cleanup 2013-04-19 21:28:53 +02:00
mano3m 185a530b59 only link for torrents not nzbs 2013-04-17 21:19:50 +02:00
Ruud cb0b6614c6 move_symlink proper function 2013-04-12 21:14:45 +02:00
Kyle KleinandRuud 177063d39c Add File Action Move & Sym link 2013-04-12 21:10:30 +02:00
Ruud 95a68af795 Debug logs 2013-04-08 21:40:17 +02:00
Ruud c1937ea71f linktastic clenaup 2013-04-08 21:10:46 +02:00
Ruud a600430be4 file_action cleanup
tag ignored/failed/renamed with custom file
2013-04-05 21:56:33 +02:00
Ruud f77b598899 Merge branch 'links' of git://github.com/jkaberg/CouchPotatoServer into jkaberg-links 2013-04-05 18:00:17 +02:00
Ruud 5b0fa9054b Put renaming started lower 2013-04-05 17:51:19 +02:00
Joel Kåberg 3c2a00b17b add copy and move to file actions 2013-04-05 14:21:15 +02:00
Joel Kåberg 47ddf31f76 ruud was bulling me ;) 2013-04-05 14:07:10 +02:00
Joel Kåberg 57ae06e139 initial link support 2013-04-05 13:48:09 +02:00
Ruud 72cc3576d3 Use @mano3m code to check download_info 2013-04-01 22:51:34 +02:00
Ruud 3fe7d2ea15 Download id cleanup 2013-04-01 21:18:29 +02:00
Ruud 8eed54f1f7 Merge branch 'develop_dwnlodid_complete' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_dwnlodid_complete
Conflicts:
	couchpotato/core/downloaders/transmission/__init__.py
	couchpotato/core/downloaders/transmission/main.py
2013-04-01 20:46:36 +02:00
mano3m 2851781a72 Move around items between scanner and renamer 2013-04-01 13:03:05 +02:00
Ruud 207e846ae6 Check crons after saving settings. fix #1556 & #1557 2013-04-01 00:06:15 +02:00
mano3m 8fe60a893c Update of uTorrent 2013-03-31 18:53:19 +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 744aa153f6 Merge branch 'develop_720p1080p' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_720p1080p 2013-03-25 09:11:23 +01:00
Ruud b0d556c8eb Try and find release status by ID instead of name. closes #1511
Thanks to @mano3m
2013-03-24 19:54:11 +01:00
mano3m f9ace29cab Fix the names of quality identifiers
720P should be 720p, 1080P should be 1080p. Ref
http://en.wikipedia.org/wiki/720p and http://en.wikipedia.org/wiki/1080p

Note that this update only changes anything for new databases. For as
far as I can see the change for existing databases is minimal.
2013-03-23 00:40:38 +01:00
Ruud 4fcba70c9a Cleanup dashboard snatched movies 2013-03-16 11:53:55 +01:00
Ruud fc3f15e0cf Remove dots and spaces from left movie name. fixes #1428 2013-02-23 17:45:27 +01:00
Ruud 0a7765f639 uTorrent status support. closes #1391
Thanks to Stourwalk
2013-02-23 16:36:12 +01:00
Ruud 4e45c94fc3 Renamer NTFS permission fix #778 2013-02-12 23:23:18 +01:00
Ruud 629bead919 Raise current exception 2013-02-02 12:02:54 +01:00