layback 0.1.3 → 0.2.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
  SHA1:
3
- metadata.gz: 727fff1aa637960b6cdbec478d9344a44c1cd67c
4
- data.tar.gz: 880a49e3a8fe3a4a0a7c3758829bbdaa7bb02ee6
3
+ metadata.gz: dc6442788ee8b4521e8de02034870376e5c3ccf8
4
+ data.tar.gz: feeaad713fd1d185a3bbc8fac2823c76534c2cc7
5
5
  SHA512:
6
- metadata.gz: 001649e609533f73e53cc31fbecc582158a8ed6bc4f4ab66f8066610ca3ed59a7c80fca42aec2c0e2e93d4fb8193ae8c8a8e107589efa5c71a19adf2fd84f979
7
- data.tar.gz: fe45ce17fce17955cc3abd28e5ede39b62604c58d4d0fe9db3aa57aec1a3b9f678dff1612da7250a33cb5abc4be6b0353077f4bcd26256902078a45fd41e5f0b
6
+ metadata.gz: 10a24874c5553a6595e05b5c9f530e834e65c6909ace6047b791db01c2003bcab91bf0b029b944a477aadb879d5780c6dc6a8beb152954d2fb3a0fd98e1825b1
7
+ data.tar.gz: 3add4bc7700b01418bda75cdd65dea10e60a47d151154b88501491de551420f325672ed55c580009eedafdc705f1559eaeaa6f1a274c568c098149615ced13e9
data/README.md CHANGED
@@ -5,6 +5,11 @@
5
5
 
6
6
  When a movie finishes downloading `Layback` will search and download its subtitles automatically.
7
7
 
8
+ <center>
9
+ <img src="https://raw.github.com/evandrojr/layback/master/media/logo.jpg" height="350" />
10
+ </center>
11
+ <BR>
12
+
8
13
  ## Installation
9
14
 
10
15
  I don't know the reason for it, but installing the gem using sudo it not working. So I recommend you install RVM or rbenv in advance and then install layback with a non privileged user like yourself.
@@ -17,22 +22,28 @@ Then install Layback yourself as:
17
22
 
18
23
  $ gem install layback
19
24
 
20
-
21
25
  ## Tools
22
26
 
23
- There are 3 tools at the moment:
27
+ There are 4 tools at the moment:
24
28
 
25
- crawl4subs: Will download the subtitles of the movies
26
- inside a parent folder recursively.
29
+ crawl4subs: Will download the subtitles of the movies
30
+ inside a parent folder recursively.
27
31
 
28
- watch4subs: Watches a folder for new movies and downloads the subtitles as soon
29
- as the movie finishes downloading.
32
+ watch4subs: Watches a folder for new movies and downloads the subtitles as soon
33
+ as the movie finishes downloading.
30
34
 
31
- lang4subs: Change the default language of
32
- all the movies in a parent folder recursively.
35
+ lang4subs: Change the default language of
36
+ all the movies in a parent folder recursively.
33
37
 
38
+ layback remote app: Android remote control.
39
+ [Download at:]( https://github.com/evandrojr/layback/blob/master/Android_installer/layback_app.apk?raw=true)
34
40
 
35
- In case you are a polyglot you can pass as many languages as you like as parameters. The first language available for the movie will be set as the default language for the movie.
41
+ <center>
42
+ <img src="https://raw.github.com/evandrojr/layback/master/media/remote_control_screenshot.jpg" height="300" />
43
+ </center>
44
+ <BR>
45
+
46
+ Sorry but just for now if you want to use the remote control keep your movies files in the directory "~Downloads" otherwise it won't work.
36
47
 
37
48
  ## Usage
38
49
 
@@ -40,7 +51,7 @@ In case you are a polyglot you can pass as many languages as you like as paramet
40
51
 
41
52
  $ crawl4subs "folder-with-movies" pob eng por
42
53
 
43
- for example.
54
+ In case you are a polyglot you can pass as many languages as you like as parameters. The first language available for the movie will be set as the default language for the movie.
44
55
 
45
56
  Default languages are: eng por spa ger on this sequence of priority. [Sub language ISO 639-2](https://github.com/byroot/ruby-osdb/blob/master/lib/osdb/language.rb) code like pob (Brazilian Portuguese), fre or eng.
46
57
 
@@ -48,10 +59,10 @@ Default languages are: eng por spa ger on this sequence of priority. [Sub langua
48
59
 
49
60
  Edit your rc.local file to start watch4subs after boot
50
61
 
51
- su (username) -lc "watch4subs folder-with-movies subs-langs"
62
+ su (username) -lc "layback_loader {folder-with-movies}"
52
63
 
53
64
  Example
54
- `su evandro -lc "watch4subs ~/Downloads pob por spa"`
65
+ `su evandro -lc "layback_loader ~/Downloads"`
55
66
 
56
67
 
57
68
  ### Change the languages of the subtitles
@@ -60,7 +71,6 @@ Example
60
71
 
61
72
  Bug reports and pull requests are welcome on GitHub at https://github.com/evandrojr/layback. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
62
73
 
63
-
64
74
  ## License
65
75
 
66
76
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+
2
3
  system(__dir__ + "/layback_remote_control_server -o 0.0.0.0 &")
3
- system("watch4subs ~/Downloads pob por spa eng bre ger &")
4
- system("crawl4subs ~/Downloads pob por spa eng bre ger &")
4
+ system("watch4subs #{ARGV[0]} pob por spa eng bre ger &")
5
+ system("crawl4subs #{ARGV[0]} pob por spa eng bre ger &")
@@ -1,3 +1,3 @@
1
1
  module Layback
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: layback
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evandro Junior
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-12 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -158,6 +158,8 @@ files:
158
158
  - lib/settings.rb
159
159
  - lib/sl.rb
160
160
  - lib/watcher.rb
161
+ - media/logo.jpg
162
+ - media/remote_control_screenshot.jpg
161
163
  homepage: https://github.com/evandrojr/layback
162
164
  licenses:
163
165
  - MIT