devine.YAML - BUG relative/full path?
Under Debian I have set manually "relative" PATHs to:
And only the:Code:directories: downloads: ~/Videos/ services: ~/git/devine332TPDpy311poetry/devine/devine/services services: iP: cert: ~/wvd/bbciplayer.pem key_vaults: - type: SQLite name: Local-Vault path: ~/wvd/key_store.db
cert: ~/wvd/bbciplayer.pem
does not work and throws and ERROR:
If I enter the settings via "Code:OSError: Could not find the TLS certificate file, invalid path: ~/wvd/bbciplayer.pem"Code:devine cfg services.iP.cert ~/wvd/bbciplayer.pem
devine will fill in the "full path" in the settings and all works as it should.
Is this a bug?
If so, can somebody raise that on GitHub pls?
Also I have made some progress in configuring from CLI
that is easier as it accepts "relative paths" and fills in the "full path"
But, if you do not have one created already "devine.YAML"
then Devine will create one in the GLOBAL location
and if you have more then one version of Devine
then it can be confusing ....
so I would manually create "key_vaults" and "remote_cdm":
(as per the Install/Config guide)
orCode:nano ~/git/devine-333-pip/.venv/lib/python3.11/site-packages/devine/devine.yaml
Code:nano ~/git/devine332TPDpy311poetry/devine/devine.yaml
Code:############################### #(indentation is "IMPORTANT") #key_vaults (list[dict]) key_vaults: - type: SQLite name: Local-Vault path: ~/wvd/key_store.db ############################### #(indentation is "IMPORTANT") #remote_cdm (list[dict]) remote_cdm: - name: CDRM_Project_API device_type: ANDROID system_id: 4464 security_level: 3 host: https://cdrm-project.com/devine secret: CDRM-Project device_name: CDM ###############################
And then finish the configuration from CLI with:
Code:devine cfg directories.services ~/git/devine332TPDpy311poetry/devine/devine/services devine cfg services.iP.cert ~/wvd/bbciplayer.pem devine cfg directories.downloads ~/Videos/ devine cfg directories.wvds ~/wvd/ devine cfg cdm.default CDRM_Project_API devine cfg dl.sub_format srt devine cfg dl.lang en devine cfg dl.downloads 4 devine cfg dl.workers 16 devine cfg aria2c.max_concurrent_downloads 2 devine cfg aria2c.file_allocation prealloc devine cfg profiles.default default devine cfg credentials.ALL4 email:password devine cfg headers.Accept-Language "en-US,en;q=0.8" devine cfg headers.User-Agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36"
#NordVPN
Code:devine cfg proxy_providers.nordvpn.username zxqsR7C5CyGwmGb6KSvk8qsZ devine cfg proxy_providers.nordvpn.password wXVHmht22hhRKUEQ32PQVjCZ
#Check the SETTINGS
Code:devine env info devine cfg --list
I have tried both the "key_vaults" and "remote_cdm"
This command throws an error:
Error: Got unexpected extra argument (SQLite)
devine cfg key_vaults.- type SQLite
And the below commands:
devine cfg "key_vaults.- type" SQLite
devine cfg 'key_vaults.- type' SQLite
result in entry with quotes around it: '- type'
#EDIT Friday, 12 July 2024
- Corrected iPlayer entry .ip. to .iP.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 541 to 570 of 883
Thread
-
-
How did you work that out?
https://github.com/devine-dl/devine?tab=readme-ov-file#usage
Mentioned "Add Profiles" but the link does not work
https://github.com/devine-dl/devine?tab=readme-ov-file#profiles-cookies--credentials
Looking at Cookies & Credentials
https://github.com/devine-dl/devine?tab=readme-ov-file#cookies--credentials
only mentions profiles executed directly from CLI
And the manual
https://github.com/devine-dl/devine/blob/master/CONFIG.md
does not have a "Profile" section.....unless I missed out something...... -
Since I am having trouble getting CTV to work correctly, I decided to try and see if I could get Pluto to work. It downloads but it comes time to multiplex the files I get the following error. I do not know what file it cannot find. I have the aria2c .exe in the main devine folder (C:\Users\[Me]\AppData\Local\devine). I am not sure if it can "see" it there or if there is another home for it.
Code:Service Config loaded Loaded Cdm Widevine CDM: 22589 (L3) Loaded 0 Vaults ────────────────────────────── Service: PLUTO ────────────────────────────── Service has no Geofence ───────────────────────────── Series: Webster ────────────────────────────── 1 Season, 4 Episodes ─────────────────── Webster S06E01 The Wild, Wild Webst ──────────────────── 1 Video └── [H.264, SDR] | en | 1280x720 @ 2442 kb/s, 30.000 FPS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 00:21 Downloaded 1 Subtitle └── [VTT] | en ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 00:55 Downloaded Track downloads finished in 1m1s Multiplexing... ⠋ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ in <module>:7 │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1157 in __call__ │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1078 in main │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1688 in invoke │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1688 in invoke │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1657 in _process_result │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:783 in invoke │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │ │ ine\commands\dl.py:697 in result │ │ │ │ 694 │ │ │ │ │ ): │ │ 695 │ │ │ │ │ │ for task_id, task_tracks in multiplex_tasks: │ │ 696 │ │ │ │ │ │ │ progress.start_task(task_id) # TODO: Need │ │ ❱ 697 │ │ │ │ │ │ │ muxed_path, return_code = task_tracks.mux( │ │ 698 │ │ │ │ │ │ │ │ str(title), │ │ 699 │ │ │ │ │ │ │ │ progress=partial(progress.update, task │ │ 700 │ │ │ │ │ │ │ │ delete=False │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │ │ ine\core\tracks\tracks.py:413 in mux │ │ │ │ 410 │ │ │ │ 411 │ │ # let potential failures go to caller, caller should handle │ │ 412 │ │ try: │ │ ❱ 413 │ │ │ p = subprocess.Popen([ │ │ 414 │ │ │ │ *cl, │ │ 415 │ │ │ │ "--output", str(output_path), │ │ 416 │ │ │ │ "--gui-mode" │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\subprocess.py:102 │ │ 6 in __init__ │ │ │ │ 1023 │ │ │ │ │ self.stderr = io.TextIOWrapper(self.stderr, │ │ 1024 │ │ │ │ │ │ │ encoding=encoding, errors=errors) │ │ 1025 │ │ │ │ │ ❱ 1026 │ │ │ self._execute_child(args, executable, preexec_fn, close_f │ │ 1027 │ │ │ │ │ │ │ │ pass_fds, cwd, env, │ │ 1028 │ │ │ │ │ │ │ │ startupinfo, creationflags, shell, │ │ 1029 │ │ │ │ │ │ │ │ p2cread, p2cwrite, │ │ │ │ C:\Users\Brian\AppData\Local\Programs\Python\Python312\Lib\subprocess.py:153 │ │ 8 in _execute_child │ │ │ │ 1535 │ │ │ │ │ 1536 │ │ │ # Start the process │ │ 1537 │ │ │ try: │ │ ❱ 1538 │ │ │ │ hp, ht, pid, tid = _winapi.CreateProcess(executable, │ │ 1539 │ │ │ │ │ │ │ │ │ │ # no special security │ │ 1540 │ │ │ │ │ │ │ │ │ │ None, None, │ │ 1541 │ │ │ │ │ │ │ │ │ │ int(not close_fds), │ ╰──────────────────────────────────────────────────────────────────────────────╯ FileNotFoundError: [WinError 2] The system cannot find the file specified
-
Hi Chaps,
A quick question concerning tubi... specifically the version that is now available in the uk.
Here's where i am confused,... on the p.c. i can watch anything i want without having to log in. (i do the same using a free vpn on a nvidia shield and i can stream from the u.s. version without having to log in.
Is the tubi service built specifically for the u.s. version, or would it work for the u.k. version as well.
I have tried only the once with C:\Devine>devine dl --list TUBI https://tubitv.com/movies/100021406/scum (and my error is "Service requires Cookies for Authentication.")
I'm just a little confused as to why i can play it without having to log in.
my chrome is uptodate and has "Open Cookies" addon installed if needed.
thanks for any advice chaps. (p.s. please do not download this for me, I am not requesting this, I am just after advice, thank you).
------------------
I took a chance and saved the cookies from the site above,......
then tried the following :
[Attachment 80533 - Click to enlarge]
But was then met with the following: (the first time i have received this message) but this is the first time for tubi for me.
[Attachment 80534 - Click to enlarge]
I hope this helps with the advice because i think I am almost there.Last edited by LastResort; 8th Jul 2024 at 21:05. Reason: update..
-
if you look at the service config for tubi, its geofenced for US and CA, but you should be able to add "GB" into the list and try it
looks like a problem with ccextractor, did you try redownloading it?
try running ccextractor.exe from the command line, it should print out the help information -
aria2c doesnt do the muxing it does the downloading, which is successful.
https://github.com/devine-dl/devine#dependencies
do you have the dependencies ffmpeg and mkvtoolnix installed? -
I didn't know Tubi has been made available in GB, that's pretty cool. The code was written with US i mind, but it should work for any region as long as your IP matches. The reason it requires cookies is because last I checked, authorization was required to access everything needed. This might not be case for GB yet, but it probably will at some point so you might as well add it. Or maybe the apps work differently, I don't know.
As for your error, ccextractor is used whenever there are no subtitles added/available to check track for closed captions. And in this case, there's something wrong with your installation of it. -
ccextractor isn't just an .exe. There are a bunch of .dlls that need to be in the same directory as the executable.
-
Easy fix, 4 steps
#4
################################################## ##############################
#--------------------------------------
#Install BINary APPS: with IWR
#--------------------------------------
#(You have to paste/type "each" line into the Power Shell on it's own - end press ENTER)
Code:WinKey+x +a
##Download to "System32" DIRectory using "IWR"
(Disable progress bar in IWR for Downloads to speed up):
Code:
Code:$ProgressPreference = 'SilentlyContinue'
# CCExtractor "Latest":
Code:
Code:Invoke-WebRequest ` https://github.com/CCExtractor/ccextractor/releases/latest/download/CCExtractor.msi ` -OutFile $home\Downloads\CCExtractor.msi
Code:Start-Process $home\Downloads\CCExtractor.msi -ArgumentList '/quiet' -Wait
why some people insist
on placing EXE files in project
DIRectroy, instead of having
them available globally across
the whole system ....and for ALL projects
like any other program/app ........ -
Thanks Stabby,...
I checked, there are no subs available for that particular film.
I can confirm that the available tubi service will work with both u.s. and u.k. sites. (as long as cookies are available)... (but i'm deffo not logged in).
Also the tubi service auto started a vpn (not sure which, so it obviously used the u.s. to get this particular movie).
Audio and video both downloaded fine but would not mux due to the unavailable subs. Not a problem, i can toolnix them together. (So more of a hindrance than a problem,....) just odd because other u.k. services mux fine when subs are available.
Appreciate the replies from others as well. (the main thing is, is that it works, at 720p as well). Thumbs Up.
------------------------
uninstalled ccextractor. from an elevated cmd prompt i ran CCExtractor.msi,... the install option was C:\Program Files (x86)\CCExtractor
installation went fine,... just the one question will devine find this location automatically. or would it be better to install to C:\Devine
Stupid question i know,... (but it took me 10 minutes to find out how i could run an .msi with admin privileges) lol
-----------------------------------
can confirm devine cannot see the natural installation folder for ccextractor. 2 files it cannot see, 1 swscale-4.dll and swresample-2.dll both of which are available in C:\Program Files (x86)\CCExtractor
error image of failure:
[Attachment 80546 - Click to enlarge]
also renamed ccextractorwinfull.exe to ccextractor.exe (but made no difference).Last edited by LastResort; 9th Jul 2024 at 13:47. Reason: update 3..
-
-
-
MKV Tool NIx needs to be Installed and added to the Windows PATH manually ....so does (CCExtractor and VLC)
what happens when you try this in PS - CLI:
Code:ffmpeg -version; ffprobe -version; mkvextract --version; mkvmerge --version; #Fin
then you most likely did not install FFMpeg under "Elevated/Administrator" privileged CLI ... CMD/PowerShell.
See:
https://forum.videohelp.com/threads/414487
#0
################################################## ##############################
There are 2 levels of privileges when running CLI (in Windows Terminal, PS, CMD):
...........
#1
################################################## ##############################
# Windows PATH ......... -
Does anyone have an example of how to setup NordVPN within the .yaml file?
I have tried adding it as follows (using the service credentials and not the ones I login to my account):
Code:nordvpn: username: password:
Am I doing it wrong?
/Edit - Managed to get it working by doing the following:
Code:proxy_providers: nordvpn: username: password:
Last edited by SaLTy; 12th Jul 2024 at 13:54. Reason: Got it working...
-
You need to add the "CCextractor" to Windows PATH,
the installer does not do it by default (even in Elevated/Admin prompt, like the VLC and MKVToolNix)....
I have updated the Windows Guide to reflect this more clearly:
https://forum.videohelp.com/threads/414487
And also the Devine Guide (including TUBI/Cookies and NEW Fast installation)
https://forum.videohelp.com/threads/414154/page7#post2735380
All have been confirmed to work on Windows 10 Home edition in VM .... -
-
I only use TUBI so far with Devine. I am very happy it works. I ran low on hard drive space so I haven't been downloading for at least a week now but hopefully it is still working. I am going to get a Visa Prepaid Card and buy Tubedigger so I have that in my tool box so I have additional options.
I find Devine complex and my confidence is weak when it comes even to updating services. I get scared I will screw something up and then it will stop working. It is a wonderful program and I am very grateful for what it can do. -
-
I was just thinking since it is a one time purchase buy a Visa Prepaid Gift Card for that. I do have a Credit Card with a $500.00 limit but I only use it for Best Buy Canada, Amazon Canada and a few others. But I better check to see if Tubedigger accepts Visa Prepaid Gift Cards as payment. I found out Disney Plus doesn't take them.
-
Hi all,
Devine works really well for me, thanks to everyone involved for putting in the hours getting it working.
I have tried a TUBI movie to download but am getting the following error :
[Attachment 80678 - Click to enlarge]
I found a post in this thread where someone else had it but it doesn't look as though they fixed it.
I am using TUBI UK and not behind a VPN or anything. I can view the video on a web browser, android and android TV. If I go to the address that is mentioned in the error I can get to it through a browser.
I am using the command -
devine dl tubi https://tubitv.com/movies/100024017/tower-heist
and I had made the change to the config file to add GB when TUBI came out.
Does anyone have any ideas? Many thanks in advance. -
[Attachment 80680 - Click to enlarge]
Works for me in uk looks like it dropped connection -
https://tubitv.com/movies/100024017/tower-heist
Also comes up with VPN UK IP address with "content unavailable" msg ....on the website
Residential UK IP address works to play the video.
When trying to download on WIndows got the same error:
❌ Download Failed...
An unexpected error occurred in one of the download workers.
See the error trace above for more information.
On Linux machine it works without any problems ....(both have the same settings) .. -
Thanks for the replies. Weird isn't it.
I've tried it on another PC in my house (UK ISP) and it has worked fine. There must be something slightly different between the 2 PCs but I can't work out what. -
-
[Attachment 80685 - Click to enlarge]
ran into a new error today.. didnt see anything above as stated -
-
Hi chaps,
Could a kind soul please tell me what the call would be to download a series from tu.bi.... I know that devine dl tubi "address" is for a single episode.... but i'm unaware of what a series call would be. (I did try billys gui, but it fails on everything by putting -w instead of dl in the call line.) (tried everything on billys gui, but that -w never goes away).
Billy, if you get a chance what does this error mean please..
Usage: devine dl [OPTIONS] COMMAND [ARGS]...
Try 'devine dl -?' for help.
Error: Invalid value for '-w' / '--wanted': Invalid token, syntax error occurred: tubi
C:\Devine>Last edited by LastResort; 13th Jul 2024 at 19:12.
-
-
thanks for the reply gruetry,
I have no problem downloading singular episodes...
i.e. C:\Devine>devine dl tubi https://tubitv.com/tv-shows/200005152/s01-e06-the-sixties-weekender
I cannot fathom out how to download the 6 episodes of the second season.
i.e. the second season starts with this: (the first episode: https://tubitv.com/tv-shows/200024188/s02-e01-camping)
so would i do this devine dl tubi https://tubitv.com/tv-shows/200024188 (because I'm sure this is wrong, as the next episode has a totally different url).
p.s. I'm not sure if i'm doing this right or not but I never use -w. if i use -w it always fails to download anything and throws an error.
as seen in my previous post.
-------------------------------------------
fixed
i did a search using the gui with just a "name" (any name that one might be after) and selecting tubi and search
this returned a whole list of urls.... upon searching the urls i could see the normal url of the programme and not the url of each separate episode.
I then selected download and entered the url of the series.
and then put in the episode numbers as well. see image.
[Attachment 80719 - Click to enlarge]
(but, i did go back to v 1.02 of the gui)
slightly sleepy now,... but it did download the complete 2nd season as needed... fantastic.Last edited by LastResort; 14th Jul 2024 at 00:47. Reason: fixed
Similar Threads
-
How do I completely remove the music and sound effects from a movie?
By cns00 in forum EditingReplies: 1Last Post: 15th Jan 2024, 12:11 -
Which software can remove music from show but keep character dialogue?
By Mohamed61020 in forum AudioReplies: 6Last Post: 2nd Jul 2023, 21:32 -
Software for simple music videos?
By dewiclements in forum Software PlayingReplies: 3Last Post: 26th Jul 2022, 01:21 -
H.264 for archival and editing - no go?
By malling in forum CapturingReplies: 8Last Post: 19th Aug 2019, 23:51 -
Movie music too loud but dialogue too quiet fix needed
By hokkom in forum AudioReplies: 121Last Post: 4th May 2019, 08:51