my-local-putio 4.0.2 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 393e8f46747aad47a5ff3c0703087232990f9175e9d0b7f59eed319c0a239b8c
4
- data.tar.gz: cce06ae923c94ad5b26828cdd007ac1aff6c6c3ab7127c755fa28d9da5f14ae7
3
+ metadata.gz: e4005143ce3e0837e492efd136f86a336405acea364d122d6fb098c974426d59
4
+ data.tar.gz: 47f70d5c48b9a5b0cf31b03cb6059dd3f21b3870077ce2804e3e490f4fc21892
5
5
  SHA512:
6
- metadata.gz: 44deeb7a0cdbabf3f9db78067c47a97634c949197a17802ce5391901983723922712fd1246d3fc01ddaad1f9b2f4ea37cc0b66126aa0c9b7f107abd42a7afe78
7
- data.tar.gz: 48a2c3a717706c02a7a838bafce63d606637d73aded8c03ca83d9f879e7de91d4948b2aa6c7101f3570a12023f4a585476f0ba8c06d18ecea0f8d8f80ec84926
6
+ metadata.gz: 9e795b28fe462b56e2378b2bf5f13834eaac9f6c549fc066634fe621e2994490350c81eb922da4fe8522404beb617ab07f1ed1543aea16c83e676c4a023cee23
7
+ data.tar.gz: 964b90d324ea09b609ce55db1eb6f30e22f95dafadbf45b1808909ca96151abe588ddd9ba41919c1eb210fc9d010cb40377506d0a0345c1a838a0fe86847b37a
@@ -1,3 +1,11 @@
1
+ # v4.1.0
2
+
3
+ - Change download order from put.io:
4
+ - Main Directory: Ordered by added dated `desc`, older will start first
5
+ - Subfolder: Ordered by Name
6
+ - With this changes the script will start download the older folder, and will start download the episode n1 from that folder.
7
+ - Example: The main dir have `new_folder1/video1.mp4`, `new_folder2/video2.mp4`, `old_folder/video1.mp4`, `old_folder/video2.mp4` before this changes the script will download using the last defined by the user (at the interface), so the behaviour would be different based on the user preferences. With the new changes, the first to download will be `old_folder/video1.mp4`, and then `old_folder/video2.mp4`.
8
+
1
9
  # v4.0.2
2
10
 
3
11
  - More code refactoring
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my-local-putio (4.0.2)
4
+ my-local-putio (4.1.0)
5
5
  socksify (= 1.7.1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ module MyLocalPutio
16
16
  private
17
17
 
18
18
  def fetch_files(id: nil, path: "/")
19
- logger.log "Getting remote file list for #{path}"
19
+ logger.log "Getting remote file list for folder #{path}"
20
20
  files = cli.get_files(id)["files"]
21
21
 
22
22
  while files.any?
@@ -11,7 +11,7 @@ module MyLocalPutio
11
11
  end
12
12
 
13
13
  def get_files(parent_id=nil)
14
- args = parent_id ? {parent_id: parent_id} : {}
14
+ args = parent_id ? {parent_id: parent_id, sort: "NAME_DESC"} : {sort: "DATE_DESC"}
15
15
  get("files/list", args)
16
16
  end
17
17
 
@@ -1,3 +1,3 @@
1
1
  module MyLocalPutio
2
- VERSION = "4.0.2"
2
+ VERSION = "4.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my-local-putio
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Biriba
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-22 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler