mano3m
7b3645ea7c
Don't consider stalled as failed when seeding
...
Fixes the issue where Transmission is seeding but still considering the
torrent stalled (new functionality of Transmission). CPS marks it as
failed and a perfectly good torrent gets deleted. Several people on the
forum have this issue,
2013-12-17 21:41:26 +01:00
mano3m
69569758d9
Make sure we return true on success
2013-12-16 22:51:04 +01:00
mano3m
55777531d5
Clean-up and dont mark status twice
2013-12-16 22:43:05 +01:00
mano3m
e9a457e263
mark release das downloaded if renamer is disabled.
...
if the renamer is not enabled and the quality of the downloaded release
is not the finish quality, the release did not get a status update.
2013-12-15 21:03:40 +01:00
mano3m
74561500b5
Convert windows path to *nix path in sp
...
Fixes #2594
Note that os.path.normath converts '/' to '\\' on windows machines, but
unfortunately not the other way around...
2013-12-14 21:12:10 +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
ab413f2f3e
Dont remove historic data when doing a full scan.
...
Fixes #2572
Note that the dashboard already takes care of this and does it the right
way (keeping seeding and ignored releases).
2013-12-07 22:33:34 +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
951b7b8425
Update Synology and Pneumatic
...
As per black hole improvement
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
mano3m
4553726423
[Notifications][XBMC] Add always do a full scan option to XBMC
...
Fixes #2498 (at least partially)
2013-12-07 15:09:30 +01:00
mano3m
f0bde7316d
[Metadata][XBMC] Update new actors to actor_roles
2013-12-07 15:09:23 +01:00
mano3m
1b5bc1fa05
[Metadata][XBMC] Add fileinfo to nfo
...
Also fixed a int / int = int divide bug
2013-11-23 01:04:41 +01:00
mano3m
e4993eac24
[Metadata][XBMC] Add actors to CPS info and nfo
2013-11-23 01:04:40 +01:00
mano3m
bd1bb1ee91
[Metadata][XBMC] Add images to nfo
2013-11-23 01:04:40 +01:00
mano3m
2c1c57333c
[Metadata][XBMC] Add trailer to nfo
2013-11-23 01:04:39 +01:00
mano3m
a466cbcf16
[Metadata][XBMC] Fix nfo data
...
Fixes #1412 and @Lennong MPAA section
2013-11-23 01:04:38 +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
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
5396343940
Cleanup file size code in scanner
2013-11-02 10:43:22 +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
mano3m
d984f11cbf
First attempt at creating a working directory selector
2013-11-02 08:48:52 +01:00
mano3m
ae666bd9b6
Add API call to scan a folder for multiple movies
2013-11-02 08:48:52 +01:00
mano3m
579c1fa53c
Fix categories error
2013-10-20 13:24:01 +02:00
mano3m
4bfb5c6397
Make sure Transmission folders are 'normpath'-ed
2013-10-20 02:41:48 +02:00
mano3m
639d635913
Implement better folder checking
...
Fixes #2360 , thanks @clinton_hall
2013-10-20 02:41:48 +02:00
mano3m
37e5f2c48b
Fix SabNZBd folder bug
...
If only one file is extracted the storage key contains the extracted
file instead of the folder. This leads to CPS skipping the renamer. This
check fixes that.
2013-10-20 01:50:06 +02:00
mano3m
583bb1d0d9
Fix debug message
2013-10-19 00:14:04 +02:00
mano3m
80e9831c03
Make uTorrent language independent
...
Fixes #2341
2013-10-18 00:48:42 +02:00
mano3m
526d383929
Fix for release.update
...
The done release has no release info. This is fixed by doing it in the
same way as the interface.
2013-10-16 22:17:22 +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
c12b189f5f
Fixed variables in scanner
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
57cb22c9aa
Fix type of torrent_files
2013-10-16 22:17:18 +02:00
mano3m
719aca88b7
Clean-up read only files uTorrent
2013-10-16 22:17:17 +02:00
mano3m
caded0694c
include files for Transmission
2013-10-16 22:17:16 +02:00
mano3m
39190495be
Correct path for one file torrent
2013-10-16 22:17:15 +02:00
mano3m
54c7aad57a
Include files from downloader in renamer
2013-10-16 22:17:14 +02:00
mano3m
4b0a5bdd9b
Move and fix cleanreleases
2013-10-13 16:53:45 +02:00
mano3m
3a117b6077
Make sure movies are removed from dashboard
2013-10-12 13:42:48 +02:00
mano3m
6d2889f88d
Fix releases missing from Snatched&Available
...
Fixes #1958
2013-10-12 13:42:30 +02:00
mano3m
fd8e50b533
[SabNZBd] Consider encrypted as failed
2013-09-30 20:05:34 +02: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
7c5616cc79
fix colour order
2013-09-30 19:16:19 +02:00
mano3m
27fdbff619
Set missing to ignored after 1 week
2013-09-30 19:16:13 +02:00
mano3m
516447a104
Remove movie_dict
2013-09-30 19:16:08 +02:00
mano3m
0c6c172d6a
Update movie quality status colour and text
...
It isnt perfect this way. I think we need to add a sepperate function to
do this and call that from both when CPS is loading the page and when it
updates a release (e.g. just rebuild the icons)
2013-09-30 19:16:01 +02:00
mano3m
d11f9d26c0
Add missing status
2013-09-30 19:15:51 +02:00
mano3m
a2cb0ec8ad
frontend release.update
2013-09-30 19:15:44 +02:00
mano3m
1bddadf3a4
clean-up searcher
2013-09-30 19:15:30 +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