Commit Graph
183 Commits
Author SHA1 Message Date
Ruud b6f850dc27 in_ needs list.. 2013-10-03 08:30:13 +02:00
Ruud 38ce63795c Check snatched with single query 2013-10-03 08:26:02 +02:00
Ruud 0876d1ff8e Rename release.update to update_status 2013-09-30 20:52:04 +02:00
Ruud 6bbcc5af77 Merge branch 'develop_release' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_release 2013-09-30 20:31:50 +02:00
Ruud Burger 6a9f6a6fc8 Merge pull request #2099 from mano3m/develop_folder
Remove all empty folders after rename
2013-09-30 11:24:21 -07:00
mano3m 6bda5f5b03 Don't use movie done status to check seeding
Fixes #2278
2013-09-30 19:34:12 +02:00
mano3m 6174f121c8 fix log message 2013-09-30 19:27:11 +02:00
mano3m 89daa836e7 Remove all empty folders
Quite often there is a subfolder in the movie folder after extraction.
This folder is deleted but the actual movie folder remains behind. This
update fixes that in both cases: move_folder is known, or we work in the
'from' folder.
2013-09-30 19:24:46 +02:00
mano3m 27fdbff619 Set missing to ignored after 1 week 2013-09-30 19:16:13 +02:00
mano3m d11f9d26c0 Add missing status 2013-09-30 19:15:51 +02:00
mano3m f0f843f746 Add release.update event
Proof of concept commit.

It updates the database and calls movie.update.id to refresh the entire movie in the frontend. It would be better to crease a static js file in the release folder and add release functionality there including updating one release only.
2013-09-30 19:15:10 +02:00
Ruud b0781b45f8 Different seperator for folder and filename 2013-09-19 23:49:23 +02:00
Ruud 08a1e1e582 Done use faulty None value for category 2013-09-16 22:33:45 +02:00
Ruud 779c7d2942 Remove mutable objects from function args 2013-09-02 22:44:44 +02:00
Ruud 7fd14e0283 Code cleanup 2013-09-02 21:59:06 +02:00
Ruud b797590a4e Make sure extr_files exists 2013-08-25 20:16:08 +02:00
Jason MehringandRuud 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 199e61ea14 Fallback on type for current downloads 2013-08-24 16:37:16 +02:00
mano3m c13c0f24e5 Change type to protocol in release and renamer 2013-08-24 15:50:19 +02:00
mano3m 7eb1d72333 remove move exception from unrar PR 2013-08-24 15:50:19 +02:00
Ruud c267232160 Add unrar support
Thanks @mano3m
2013-08-24 15:04:56 +02:00
Ruud 8e9e7b49ea Simplify linking
Thanks @mano3m
2013-08-24 14:03:17 +02:00
Ruud bb8e8a0df5 Merge branch 'develop_seed_fixes' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_seed_fixes 2013-08-24 13:22:29 +02:00
Ruud e2bd6a91cd MPAA rating for renamer 2013-08-24 13:21:39 +02:00
mano3m 695cdea447 Remove 'move' exception
No need to remove files when 'move' is selected as the downloaders do
this themselves now when cleaning up
2013-08-21 20:59:38 +02:00
mano3m d0735a6d58 Add failsafe for symlink errors
E.g. on Windows you need Admin rights to symlink...
2013-08-21 20:59:38 +02:00
mano3m 175c26bea9 Fix untagDir and hastagDir
Changes in commit 8a252bff64 broke the
tagging functionality
2013-08-21 20:59:23 +02:00
Ruud 874655846c Move movie plugin to media folder 2013-08-15 23:52:43 +02:00
Ruud 623571acbb Make category destination editable 2013-08-15 18:31:06 +02:00
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