imdb-terminal 0.4 → 0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/imdb +3 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a157e3f4954b72f59329e6ce485b34e3ca49a0b38ec1b2d4340427cf206134a6
|
4
|
+
data.tar.gz: 3dce0f77bb85d3c5ad98ea7d36fdfb84bb24d1c7d64f06ae9d9aa191487f2d10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f2b6af0c5eef9f3f5158319e3377891005b3e854d0ebc9d5ce28ee88202a5762f9a4428877293b7aa12753536fca24f6fdcd9fdf255ef616d66e8ea2c24f4cb
|
7
|
+
data.tar.gz: f31e0de6386c7960203fdc256f112f2fd38fae342de3e9036bf5205670ccd98778cc871b45886cf09f14ce1f92072d9a7b5a3f4cb30ebd334d06c14616f2a08a
|
data/bin/imdb
CHANGED
@@ -621,11 +621,12 @@ def w_d(ext = 0) # SHOW INFO IN @w_d and @w_p
|
|
621
621
|
list = @active.list
|
622
622
|
return if list.empty? # Skip if list is empty
|
623
623
|
id = list[@active.index][4]
|
624
|
+
@w_d.clr
|
624
625
|
@w_d.text = "#{list[@active.index][0]}\n\n"
|
625
626
|
@w_d.attr = Curses::A_BOLD
|
626
627
|
@w_d.write
|
627
628
|
@w_d.attr = 0
|
628
|
-
@w_d.text
|
629
|
+
@w_d.text = "Rating: " + list[@active.index][1].to_s.ljust(14) + "Genres: #{list[@active.index][3]}\n"
|
629
630
|
@w_d.write
|
630
631
|
return unless ext > 0 # Skip if no details are to be displayed
|
631
632
|
det = getomdb(id)
|
@@ -649,7 +650,7 @@ def w_d(ext = 0) # SHOW INFO IN @w_d and @w_p
|
|
649
650
|
imageshow("/tmp/imdb.jpg")
|
650
651
|
return unless ext > 1 # Skip if no outlets are to be displayed
|
651
652
|
otl.each{|o| outlets += "#{o} "}
|
652
|
-
@w_d.text
|
653
|
+
@w_d.text = "Outlets: " + outlets
|
653
654
|
@w_d.write
|
654
655
|
end
|
655
656
|
def imageshow(image)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imdb-terminal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.5'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses
|
@@ -48,8 +48,7 @@ description: 'Narrow down your preferences from a 1000 movies and almost 500 ser
|
|
48
48
|
Select a minimum IMDB rating, range of production years, genres you like and dislike
|
49
49
|
to get your preferred list. Get detailed information on movies and series and where
|
50
50
|
you can stream them. Even the movie poster in the terminal. New in 0.2: Added ''v''
|
51
|
-
to show version and RubyGem version. Code cleanup. 0.
|
52
|
-
upgrade. Added gem dependency for rest-client'
|
51
|
+
to show version and RubyGem version. Code cleanup. 0.5: Fixed bug in viewing details'
|
53
52
|
email: g@isene.com
|
54
53
|
executables:
|
55
54
|
- imdb
|