Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Jav-It

The most comprehensive JAV video cataloging tool. · By jav-it

Headless Support?

A topic by poyuu created 10 days ago Views: 43 Replies: 2
Viewing posts 1 to 2
(1 edit)

Hi! I just bought this wonderful software, however I'm running in a headless environment (LXC container) and it seems like it is not supported? 

Are there any workaround or plans to support this use case?

Thank you

OS: Ubuntu 24.04
Command: ./jav-it catalog -d /mnt/videos
<pre>Jav-It v1.7.13 Copyright (c) 2020 (<a href="https://jav-it.itch.io/jav-it)
***">https://jav-it.itch.io/jav-it)
***</a> This is REGISTERED software. With your support, you are encouraging the
*** author to continue to develop this tool and new functionality! THANK YOU!
2025/02/03 06:59:00 [WARN] No subtitle defintions file was found! Subtitles will not be included in catalog searches.
2025/02/03 06:59:00 [INFO] Now processing all videos in the directory '/mnt/videos'...
2025/02/03 06:59:00 [FAIL] Could not start simulation engine:  could not start browser instance simulation: could not send message: could not send message to server: 
╔════════════════════════════════════════════════════════════╗
║ Host system is missing a few dependencies to run browsers. ║
║ Please install them with the following command:            ║
║                                                            ║
║     sudo npx playwright install-deps                       ║
║                                                            ║
║ <3 Playwright Team                                         ║
╚════════════════════════════════════════════════════════════╝
2025/02/03 06:59:00 [INFO] Failure to start may be an indication that antivirus software is running. (disable it?)
2025/02/03 06:59:00 [INFO] Attempting automatic repair of simulation engine...
Downloading Playwright build of firefox v1319 - 75.5 Mb [====================] 100% 0.0s
Downloading Playwright build of chromium v978106 - 130.7 Mb [====================] 100% 0.0s
Downloading Playwright build of ffmpeg v1007 - 2.6 Mb [====================] 100% 0.0s
2025/02/03 06:59:14 [FAIL] Could not start simulation engine:  could not start browser instance simulation: could not send message: could not send message to server: 
╔════════════════════════════════════════════════════════════╗
║ Host system is missing a few dependencies to run browsers. ║
║ Please install them with the following command:            ║
║                                                            ║
║     sudo npx playwright install-deps                       ║
║                                                            ║
║ <3 Playwright Team                                         ║
╚════════════════════════════════════════════════════════════╝
2025/02/03 06:59:14 [INFO] Failure to start may be an indication that antivirus software is running. (disable it?)
2025/02/03 06:59:14 [INFO] Attempting automatic repair of simulation engine...
Downloading Playwright build of firefox v1319 - 75.5 Mb [====================] 100% 0.0s 
Downloading Playwright build of chromium v978106 - 130.7 Mb [====================] 100% 0.0s 
Downloading Playwright build of ffmpeg v1007 - 2.6 Mb [====================] 100% 0.0s
panic: There is no active browser context to perform this operation.
goroutine 1 [running]:
rscraper/spider.(*Instance).validateBrowserState(...)
    rscraper/spider/spider.go:906
rscraper/spider.(*Instance).NavigateTo(0xfbd4c0?, {0xa04849?, 0x8?})
    rscraper/spider/spider.go:863 +0xfc
rscraper/scraper.GetJTrailerVideoInformation({_, _}, _)
    rscraper/scraper/jtrailers.go:73 +0xbd
rscraper/scraper.GetJTrailerVideoInformationFromFileName({_, _})
    rscraper/scraper/jtrailers.go:37 +0x10e
rscraper/scraper.GetVideoEntryFromFileName({_, _}, {_, _, _}, _, {_, _})
    rscraper/scraper/scraper.go:345 +0x2c8
main.formatVideoInDirectory({0xc0001ae000, 0x18})
    jav-it/rscraper/main.go:853 +0x215
main.formatAllVideoDirectories({0x7ffdf2b74921, 0xf})
    jav-it/rscraper/main.go:809 +0x22e
main.main()
    jav-it/rscraper/main.go:535 +0x9af

nvm, I got it to work with a container that has X and a desktop manager installed, headless (ssh) works too. Good stuff ;)

Developer(+1)

Hi there! I was going to say, but you solved it already. Amazing job! :-)