234 Commits
Author SHA1 Message Date
Ruud 2a2fe448e7 Merge branch 'refs/heads/develop' into tv
Conflicts:
	couchpotato/core/media/movie/_base/main.py
	couchpotato/core/providers/torrent/bitsoup/main.py
	couchpotato/core/providers/torrent/iptorrents/main.py
	couchpotato/core/providers/torrent/sceneaccess/main.py
	couchpotato/core/providers/torrent/torrentleech/main.py
	couchpotato/core/providers/torrent/torrentshack/main.py
2014-01-11 13:55:12 +01:00
Ruud a408cc0246 Update renamer to not trigger twice
Keep track of status support on releases
2014-01-10 22:54:23 +01:00
nikagl 1ea6fdc9a7 Library object has media instead of movies
Make the renamer work again by scanning the media instead of non-existent movies attribute in the library object (fixing error: AttributeError: 'Library' object has no attribute 'movies')
2014-01-01 20:54:34 +01:00
nikagl c0111a467b Update main.py
Release table has media_id column, not movie_id
2013-12-31 11:02:32 +01:00
mano3m f08d34b816 Add a trailing separator for windows drive path
Fixes  #2581, #2526
2013-12-29 23:25:53 +01:00
Joel Kåberg 99ce8dacbf added api calls for manual scan (kudos to @mano3m) 2013-12-16 17:07:34 +01:00
mano3m ea5d274f4d Add another check 2013-12-11 22:40:01 +01:00
mano3m f57f2444fe Improved checking
Fixes #2539 ?
2013-12-11 22:11:33 +01:00
mano3m fd768df9e5 Tabs to spaces 2013-12-08 17:35:05 +01:00
mano3m 6d4297a5fb Extend os.path.sep to all folder checks
Expands 50c5044fe8
2013-12-07 22:39:47 +01:00
mano3m 574255c4b6 Don't tag .ignore files 2013-12-07 22:33:34 +01:00
mano3m 008ba39856 Add backwards compatibility for the renamer API 2013-12-07 22:33:33 +01:00
mano3m cff1b3abdb Provide IDs to check to all downloaders 2013-12-07 22:33:32 +01:00
mano3m 231c5b8ca1 Renamer rename to media 2013-12-07 22:33:31 +01:00
mano3m 640664494e Increase check_snatched readability
- Reduce rested if statements
- Add more comments
2013-12-07 22:31:16 +01:00
mano3m c9980539f0 Improve black hole support
Also scan the 'from' folder if Black hole is used together with another
downloader.
2013-12-07 22:31:15 +01:00
mano3m 824ac86d18 Fix fnmatch
fnmatch does not accept regular expressions as presumed in
0c4851e436 See
http://docs.python.org/2/library/fnmatch.html

This patch actually completely broke tagging. All we need to do is make
sure any [ or ] used is conbverted into [[] or []].

Fixes #2557 and  #2362
2013-12-07 22:11:16 +01:00
Ruud 50c5044fe8 Add path separator for check 2013-12-01 19:23:53 +01:00
Ruud 46b2d6ba6e movie_id > media_id 2013-11-30 16:48:46 +01:00
Ruud bde6de1789 Move movie listing to media 2013-11-30 12:23:53 +01:00
Joel Kåberg d833a04293 move long texts into formhint 2013-11-29 22:10:02 +01:00
Ruud 0ce5c51c67 renamer.scan needs some files. fix #2481 2013-11-18 22:56:03 +01:00
mano3m 8c41046836 more fixes 2013-11-17 21:10:07 +01:00
mano3m c5e6ce0e48 Several sp fixes 2013-11-17 18:26:01 +01:00
Ruud db4f7a216a SP function wrapping whole variables 2013-11-16 13:32:00 +01:00
Ruud a27673eaa4 Merge branch 'develop_clean_path' of git://github.com/mano3m/CouchPotatoServer into mano3m-develop_clean_path 2013-11-16 12:57:21 +01:00
Ruud c1944c987d Add some more double char replacements 2013-11-14 22:35:13 +01:00
Ruud cdb889a985 Merge branch 'develop' of git://github.com/clinton-hall/CouchPotatoServer into clinton-hall-develop 2013-11-14 21:56:31 +01:00
Ruud 0c4851e436 Escape filename before using it in a regex. fixes #2430 2013-11-13 19:32:59 +01:00
Clinton Hall b771aa303f replace multiple separators. fixes #2448 2013-11-13 21:41:29 +10:30
Ruud e119020016 Ignore releases without any info. 2013-11-05 22:16:26 +01:00
mano3m 7b86fe5587 Default movie_folder to from folder
In case remote downloaders return a path that does not exist locally,
the movie_folder and files are updated to the from folder. Fixes #2412,
#1762, #1667, #1047
2013-11-02 11:20:34 +01:00
mano3m fa1baa73e8 Introduce path cleaning
A new function sp is introduced. It does the same as ss but also cleans
the path.
2013-11-02 10:15:50 +01:00
Ruud 4f4ba470e0 Prevent files keyerror for release_download files. fix #2392 2013-10-26 15:26:19 +02:00
Ruud 53cd907db1 Code cleanup 2013-10-20 17:43:30 +02:00
mano3m 579c1fa53c Fix categories error 2013-10-20 13:24:01 +02:00
mano3m 639d635913 Implement better folder checking
Fixes #2360, thanks @clinton_hall
2013-10-20 02:41:48 +02:00
mano3m 583bb1d0d9 Fix debug message 2013-10-19 00:14:04 +02:00
mano3m 89f7cfb896 tagging fixes 2013-10-16 22:17:21 +02:00
mano3m 6abc4cc549 Upgrade tagging
Havent tested this yet, but it should work with both one filed torrents
and folders. Everything mixed, let's go crazy!!
2013-10-16 22:17:21 +02:00
mano3m 6aa7cfc0fe Wrong use of "is" 2013-10-16 22:17:20 +02:00
mano3m 345d0b8211 Add status to renamer.scan api call
This allows for scripts to send the seeding status with the scan
2013-10-16 22:17:20 +02:00
mano3m eb17afc368 Fixed bug where it didnt do anything... 2013-10-16 22:17:19 +02:00
mano3m 5edc745727 Typo 2013-10-16 22:17:18 +02:00
mano3m bc877df513 Cleanup variable naming
Use release_download variable for all item/status/download_info
variables (which are by now all the same thing)
2013-10-16 22:17:18 +02:00
mano3m 54c7aad57a Include files from downloader in renamer 2013-10-16 22:17:14 +02:00
Ruud 66967f8326 Whatever! #2283
@clinton ;)
2013-10-13 22:37:15 +02:00
Ruud c772758683 Add category to renamer replacements. fix #2283 2013-10-13 22:12:15 +02:00
Ruud 2b57bdcd03 Revert "Make sure to untag downloading dir if it's completed. fix #2341"
This reverts commit 65f039e9ed.
2013-10-13 15:17:39 +02:00
Ruud 65f039e9ed Make sure to untag downloading dir if it's completed. fix #2341 2013-10-13 14:25:50 +02:00