imdb-terminal 2.0.0 → 2.0.1
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/README.md +5 -2
- data/bin/imdb +11 -1
- metadata +12 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a835730544b1acf9055d609a37a5727aecb9754878be3ccf1b873502b72fd771
|
4
|
+
data.tar.gz: 6a9bc9712e20f70d2eceb8169dc32d81263a0a65cf2418815a3774a05399aeda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf5bc22eb1a504498cb0a0843066b32c6fd0aaae995894f01616a27cebc3daac6c1c2bc996f28b7178c53a68dc9993f1dd1b4850118ea84fb42ebc2678b670f8
|
7
|
+
data.tar.gz: 51ae69f5e824dd50157bb2f770d8536ffb9121957166fb61710d281d09c6041f794b5b41a520b2d6c7aa56359592974ff7e098c5315cd4e8510411086a0bd2a5
|
data/README.md
CHANGED
@@ -41,11 +41,13 @@ The screenshot gives you an overview of the layout of the panes:
|
|
41
41
|
gem install imdb-terminal
|
42
42
|
```
|
43
43
|
|
44
|
-
### Dependencies
|
44
|
+
### Dependencies (Linux/macOS)
|
45
45
|
- **w3mimgdisplay** (for poster display): `sudo apt install w3m-img`
|
46
46
|
- **ImageMagick** (for poster processing): `sudo apt install imagemagick`
|
47
47
|
- **xdotool** (for image redraw on workspace switch): `sudo apt install xdotool`
|
48
48
|
|
49
|
+
**Windows**: All core functionality works on Windows, but poster display is not available due to terminal limitations.
|
50
|
+
|
49
51
|
### Quick Start
|
50
52
|
```bash
|
51
53
|
git clone <repository>
|
@@ -138,8 +140,9 @@ In the Genres pane:
|
|
138
140
|
### Common Issues
|
139
141
|
|
140
142
|
**No posters displayed:**
|
141
|
-
- Ensure w3m-img is installed: `sudo apt install w3m-img`
|
143
|
+
- **Linux/macOS**: Ensure w3m-img is installed: `sudo apt install w3m-img`
|
142
144
|
- Check terminal supports images (works best in terminals like urxvt, kitty, iTerm2)
|
145
|
+
- **Windows**: Poster display is not supported due to terminal limitations
|
143
146
|
|
144
147
|
**Posters disappear after workspace switch:**
|
145
148
|
- Ensure xdotool is installed: `sudo apt install xdotool`
|
data/bin/imdb
CHANGED
@@ -46,6 +46,9 @@ DATA_DIR = File.join(Dir.home, '.imdb', 'data')
|
|
46
46
|
CACHE_MUTEX = Mutex.new
|
47
47
|
MAX_FETCH_RETRIES = 3
|
48
48
|
|
49
|
+
# Platform detection
|
50
|
+
WINDOWS = Gem.win_platform?
|
51
|
+
|
49
52
|
# MAIN CLASS {{{1
|
50
53
|
class IMDBApp
|
51
54
|
# INITIALIZATION {{{1
|
@@ -1320,7 +1323,11 @@ class IMDBApp
|
|
1320
1323
|
help_text << " • Use genre filters to find specific types of content\n".fg(230)
|
1321
1324
|
help_text << " • Dump list removes items from main view permanently\n".fg(230)
|
1322
1325
|
help_text << " • TMDb provides streaming provider information\n".fg(230)
|
1323
|
-
|
1326
|
+
unless WINDOWS
|
1327
|
+
help_text << " • Posters are displayed in the terminal using w3mimgdisplay\n".fg(230)
|
1328
|
+
else
|
1329
|
+
help_text << " • Poster display not available on Windows\n".fg(230)
|
1330
|
+
end
|
1324
1331
|
|
1325
1332
|
help_text
|
1326
1333
|
end
|
@@ -1803,6 +1810,8 @@ class IMDBApp
|
|
1803
1810
|
end
|
1804
1811
|
|
1805
1812
|
def show_poster(tconst) #{{{2
|
1813
|
+
return if WINDOWS # Skip image display on Windows for now
|
1814
|
+
|
1806
1815
|
w3m = "/usr/lib/w3m/w3mimgdisplay"
|
1807
1816
|
return unless File.executable?(w3m)
|
1808
1817
|
cache = cache_dir
|
@@ -1848,6 +1857,7 @@ class IMDBApp
|
|
1848
1857
|
end
|
1849
1858
|
|
1850
1859
|
def check_image_redraw #{{{2
|
1860
|
+
return if WINDOWS # Skip image redraw on Windows
|
1851
1861
|
# Only check if we have an image currently displayed
|
1852
1862
|
return unless @current_image && File.exist?(@current_image)
|
1853
1863
|
|
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: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcurses
|
@@ -70,8 +70,8 @@ description: 'Discover and manage movies and TV series from IMDb''s Top 250 list
|
|
70
70
|
Features smart search with preview mode, advanced filtering by rating/year/genre,
|
71
71
|
streaming information via TMDb, wish lists, and terminal poster display. Enhanced
|
72
72
|
with jump-to-existing items, duplicate management, and robust data handling. Version
|
73
|
-
2.0.
|
74
|
-
|
73
|
+
2.0.1: Added Windows support - all core functionality works on Windows with graceful
|
74
|
+
handling of platform-specific features.'
|
75
75
|
email: g@isene.com
|
76
76
|
executables:
|
77
77
|
- imdb
|
@@ -87,21 +87,14 @@ metadata:
|
|
87
87
|
source_code_uri: https://github.com/isene/imdb
|
88
88
|
homepage_uri: https://isene.com/
|
89
89
|
documentation_uri: https://github.com/isene/imdb#readme
|
90
|
-
post_install_message:
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
External dependencies for full functionality:
|
100
|
-
- w3m-img (for poster display): sudo apt install w3m-img
|
101
|
-
- imagemagick (for poster processing): sudo apt install imagemagick
|
102
|
-
- xdotool (for image redraw on workspace switch): sudo apt install xdotool
|
103
|
-
|
104
|
-
Enjoy discovering your next favorite movie! :-)
|
90
|
+
post_install_message: "✓ IMDb Terminal Browser installed successfully!\n\nTo get started:\n1.
|
91
|
+
Run: imdb\n2. On first run, the app will scrape IMDb Top 250 lists\n3. Optional:
|
92
|
+
Get a free TMDb API key for streaming info\n4. Press '?' for help once running\n\nExternal
|
93
|
+
dependencies for full functionality (Linux/macOS only):\n- w3m-img (for poster display):
|
94
|
+
sudo apt install w3m-img\n- imagemagick (for poster processing): sudo apt install
|
95
|
+
imagemagick\n- xdotool (for image redraw on workspace switch): sudo apt install
|
96
|
+
xdotool\n\nNote: Poster display is not available on Windows, but all other \nfunctionality
|
97
|
+
works normally.\n\nEnjoy discovering your next favorite movie! :-)\n"
|
105
98
|
rdoc_options: []
|
106
99
|
require_paths:
|
107
100
|
- "."
|