devine.yaml
- Devine can be installed:
- PIP (Simple install - recommended)
- Clone the REPO and use Poetry to install (Advanced)
- Downloaded as a ZIP file and use Poetry to install (Not recommended)
- Devine needs (for Basic usage):
- WVD file (in PATH OR imported into Devine dir).
- SERVICES files (with PATH set in "devine.yaml" file).
- PEM certificate for iP UHD content (with PATH set in "devine.yaml" file).
Hash "#" at the front of variable "disables" it.
Hash proceeded by "space" are the config "Notes".
# Check you "Env" paths:
devine env info
# Edit the "devine.yaml" in notepad - Ctrl+S saves it
# keep the notepad opened for additional tests ;)
notepad %userprofile%\AppData\Local\devine\devine.yaml
Replace "xxxx" in the paths with your username.
Replace "email:password" with your log-in details.
"\" Backslash is used in the program PATH in Windows OS .
"/" Slash is used in program PATH in Linux OS.
Devine works on both OS Windows and Linux (also on Mac I believe, but not tested).
I have also noticed when copy/pasting the config,
that sometimes there is a "white space" after the end of the word/command
so just check that there is "NOT" spaces at the end of "ALL" the words/commands
in the "devine.yaml" config.
notepad %userprofile%\AppData\Local\devine\devine.yaml
#####################################################
# DIRectory where all the SERVICES (ALL4, iP, ROKU, CTV, ....) are stored
directories:
services: C:\Users\xxxx\git\devine-services\services\
# You can also set "all the other specific variables" here
#temp: C:\Users\xxxx\temp\
#downloads: C:\Users\xxxx\devine-downloads
#cookies: C:\Users\xxxx\devine-cookies
#cache: C:\Users\xxxx\devine-cache
#logs: C:\Users\xxxx\devine-logs
# Set only if you have not imported your "*.wvd" files into "Devine"
WVDs: C:\Users\xxxx\wvd\full-name-of-your-wvd-with-extension_l3.wvd
# CDM - Content Decryption Module
# that you imported into "Devine" with "devine wvd add %userprofile%\wvd\*.wvd"
# your *.wvd file without the extension
# You can "set" specific Widevine Device for specific SERVICE/user
#cdm:
#default: full-name-of-your-wvd-file-imported-in-devine-without-extension_l3
#AMZN: chromecdm_903_l3
#NF: nexus_6_l1
#DSNP:
#jane_uhd: nexus_5_l1
#tom_hd: ia_emulator_16.0.0_l3
# CREDENTIALS or login details for specific SERVICES
credentials:
#ALL4: email:password
#AMZN: email:password
#NF: email:password
#john: email:password #NF specific username
#paul: email:password #NF specific username
#DSNP: email:password
#CTV: email:password
#CBC: email:password
#Setting "downloader"
downloader: aria2c
#downloader: requests
#downloader: curl_impersonate
#downloader: N_m3u8DL-RE (One day maybe)...
#Aria2 Settings:
#aria2c: prealloc
aria2c:
max_concurrent_downloads: 2
file_allocation: prealloc
#profiles:
# default: default
# SERVICES - iP - BBC iPlayer CERT.PEM settings
#services:
# iP:
# cert: C:\Users\xxxx\wvd\bbciplayer.pem
# SUBTITLES preference:
dl:
sub_format: srt
# KEY_VAULT - storing your "kid:key"
key_vaults:
- type: SQLite
name: Local vault
path: C:\Users\xxxx\wvd\key_store.db
#- type: MySQL
# name: "John#0001's Vault" # arbitrary vault name
# host: "127.0.0.1" # host/ip
# # port: 3306 # port (defaults to 3306)
# database: vault # database used for devine
# username: John321
# password: Doe123
#####################################################
#Check the settings and what is saved in "devine.yaml":
devine cfg --list
Or just try the "Minimal" config:
directories: only need setting "services" and "WVDs" dirs
credentials: best to use a service that does not require credentials to check your set-up is working, but ALL4 (also email:password)/iP only needs a UK IP address to download
downloader: set aria2 (make sure it is working and in path with "aria2c --version"
aria2c: aria2 specific settings
dl: Some services may fail to MUX to MKV if no SRT
Replace "xxxx" in the paths with your username.
Replace "email:password" with your log-in details.
Check the Windows PATH is correct and shows SERVICES | WVD's:
(make sure the command matches your PATHS if you decide to use your own)!
dir C:\Users\xxxx\git\devine-services\services\
dir C:\Users\xxxx\wvd\
#or
dir %userprofile%\git\devine-services\services\
dir %userprofile%\wvd\
(Command "dir" will list content of the DIRectory).
#####################################################
directories:
services: C:\Users\xxxx\git\devine-services\services\
WVDs: C:\Users\xxxx\wvd\full-name-of-your-wvd-with-extension-l3.wvd
credentials:
ALL4: email:password
#iP: no credentials needed
downloader: aria2c
aria2c:
max_concurrent_downloads: 2
file_allocation: prealloc
dl:
sub_format: srt
#####################################################
#Check the settings and what is saved in "devine.yaml":
devine cfg --list
Check:
You have checked your "devine.yaml", but still no luck,
check that you have all dependencies/programs installed and working:
------------------------------------------------------------
(If any of the command give you an ERROR,
then the program is NOT in the Windows PATH and needs to be fixed/added).
Win + R:
cmd [pres ENTER]
Enter one/each command at the time:
(Copy/paste [Ctrl+C | Ctrl+V] the command into CMD prompt and hit ENTER on each one).
git -v
git --version
mkvextract --version
mkvmerge --version
ffmpeg -version
ffprobe -version
aria2c --version
py -V
pip -V
virtualenv venv
ccextractorwinfull --version
shaka-packager -version
hola-proxy --version
py -m pip show --verbose devine
My "SERVICES" from stabbedbybrick are stored in:
C:\Users\xxxx\git\devine-services\services\
Because I installed them there along with Devine:
I have also placed all my "*.wvd" files in:
C:\Users\xxxx\wvd
And additional BINaries are stored in:
C:\Users\xxxx\bin
(and added in Windows PATH)
cd %userprofile%
mkdir bin
mkdir wvd
mkdir git
cd git
git clone https://cdm-project.com/stabbedbybrick/devine-services
cd devine-services
py -m venv env
.\env\Scripts\activate
pip install devine
devine -v
You made it here and it is still not working?
When asking for help it will be useful if you provide:
- Your OS name/version (e.g. Windows 15, Debian 16, Mac OS 17).
- Output of your Env paths: devine env info
- Output of your "devine.yaml": devine cfg --list
- Version of Devine installed: devine --version
- Confirm that you have checked all programs are in path, see #Check
- Path where you have stored WVDs (if not imported into Devine).
- Path where you have stored "SERVICES" files.
(Not including the above information will make it hard to help and result in no one replying to your post).
Also check the short guide:
https://telegra.ph/Devine-On-Win-SHORT-v001-04-17
Or the long guide:
https://telegra.ph/Devine-On-Win-v003-04-10