Downloaded and got everything setup and working except I am getting the following error when trying to use SQLite for key_valuts
Code:directories: services: C:/devine/devine-services/services vaults: C:/devine/Vaults temp: C:/devine/temp downloader: aria2c key_vaults: - type: SQLite name: "Local Vault" path: C:/devine/Vaults/key_store.db profiles: default: defaultI installed using pip using Python 3.12.7ValueError: Unable to find vault command by the name 'SQLite'.
Also using v3.3.3 of Devinepy -m pip install devine
If I check I can import sqlite3 using python
do I have something configured incorrectly?Code:Python 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sqlite3 >>>
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.
+ Reply to Thread
Results 871 to 899 of 899
Thread
-
Last edited by condrovic; 3rd Oct 2024 at 18:45. Reason: added python import using sqlite3
-
@condrovic
Try with the default path:
Code:%appdata%\local\devine\key_vault.db
-
Same result even when trying different paths, not matter what I try same results
Code:key_vaults: - type: SQLite name: Local-Vault path: C:/Users/ondro/AppData/local/devine/key_store.db # path: "C:\Users\ondro\AppData\Local\devine\Vaults\sqlite\key_store.db" # path: "C:\\Users\\ondro\\AppData\\Local\\devine\\Vaults\\sqlite\\key_store.db"
-
perhap too many space
use like that
Code:key_vaults: - type: SQLite name: Local Vault path: C:\Users\yourpcname\.........\devine\key_store.db
-
Copied and pasted just changed location same results below is the full stacktrace, it's like it's not recognizing the SQLite as a command
Code:directories: services: C:/Users/ondro/AppData/Local/devine/devine-services/services vaults: C:/Users/ondro/AppData/Local/devine/Vaults temp: C:/temp/devine downloader: aria2c cdm: default: nexus_6p_4464_l1 key_vaults: - type: SQLite name: Local Vault path: C:\temp\devine\key_store.db profiles: default: default
Code:in _run_module_as_main:198 │ │ in _run_code:88 │ │ │ │ in <module>:7 │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1157 in __call__ │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1078 in main │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1688 in invoke │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1685 in invoke │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:1434 in invoke │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\core.py:783 in invoke │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\cli │ │ ck\decorators.py:33 in new_func │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │ │ ine\commands\dl.py:141 in cli │ │ │ │ 138 │ │ │ │ help="Amount of tracks to download concurrently.") │ │ 139 │ @click.pass_context │ │ 140 │ def cli(ctx: click.Context, **kwargs: Any) -> dl: │ │ ❱ 141 │ │ return dl(ctx, **kwargs) │ │ 142 │ │ │ 143 │ DRM_TABLE_LOCK = Lock() │ │ 144 │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │ │ ine\commands\dl.py:190 in __init__ │ │ │ │ 187 │ │ │ for vault in config.key_vaults: │ │ 188 │ │ │ │ vault_type = vault["type"] │ │ 189 │ │ │ │ del vault["type"] │ │ ❱ 190 │ │ │ │ self.vaults.load(vault_type, **vault) │ │ 191 │ │ │ self.log.info(f"Loaded {len(self.vaults)} Vaults") │ │ 192 │ │ │ │ 193 │ │ self.proxy_providers = [] │ │ │ │ C:\Users\ondro\AppData\Local\Programs\Python\Python312\Lib\site-packages\dev │ │ ine\core\vaults.py:40 in load │ │ │ │ 37 │ │ """Load a Vault into the vaults list.""" │ │ 38 │ │ module = _MODULES.get(type_) │ │ 39 │ │ if not module: │ │ ❱ 40 │ │ │ raise ValueError(f"Unable to find vault command by the name │ │ 41 │ │ vault = module(**kwargs) │ │ 42 │ │ self.vaults.append(vault) │ │ 43 │ ╰──────────────────────────────────────────────────────────────────────────────╯ ValueError: Unable to find vault command by the name 'SQLite'.
Last edited by condrovic; 4th Oct 2024 at 11:45. Reason: added full devine.yaml
-
do you have SQLite.py in vaults folder?
[Attachment 82671 - Click to enlarge] -
I do it's different than yours as I did an install using pip instead of doing a git clone and build running from source so it's located in a different folder
I am not missing something in the actual command am I?
Code:devine dl --slow -w WANTED_EPISODES SERVICE_NAME URL
[Attachment 82672 - Click to enlarge]Last edited by condrovic; 4th Oct 2024 at 13:20. Reason: added how I am calling devine
-
ok so i tried to dl from AMZN using service from here https://github.com/Fabio31456/devine
it failed to get tracks response, so i hardcoded them (i know it's kinda lame but wanted to check if it'll proceed further)
Code:urls.append("https://ABFICTPAAAAAAAAMKPOAGY3E23AOA.shard-1-eu-reg.dash.pv-cdn.net/dm/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase") urls.append("https://ABFICTPAAAAAAAAMKPOAGY3E23AOA.s3-dub-2.cf.dash.row.aiv-cdn.net/dm/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase") urls.append("https://a157avoddashs3ww-a.akamaihd.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ondemand/ww_dub/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase") urls.append("https://m-4691s3.ll.dash.row.aiv-cdn.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ww_dub/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase") urls.append("https://a56avoddashs3ww-a.akamaihd.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/ondemand/iad_2/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase") urls.append("https://m-7121s3.ll.dash.row.aiv-cdn.net/3$0Ch8IAhIDCgFdICUwAVIGgMACgfADegOAuBeCAQEBiAEEGAE/1@d272833f33726d5dc9f57fec26ed735f/iad_2/25bc/f25b/467d/475a-a07c-6bd406f5e361/f4b7c01d-8953-43fb-9c01-ef7429bc272d_corrected.mpd?custom=true&encoding=segmentBase")
Code:D:\Temp\python\devine>devine dl --lang=all AMZN amzn1.dv.gti.c6361fd3-4e27-4ccb-86b1-9d3b2011a89a / __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4464 (L3) Loaded 1 Vaults ────────────────────────────── Service: AMZN ─────────────────────────────── Service has no Geofence Authenticated with Service ──────────────────── Movies: Budda. Dzieciak '98 (2024) ──────────────────── 1 Movie ──────────────────────── Budda. Dzieciak '98 (2024) ──────────────────────── No Widevine PSSH was found for this track, is it DRM free? No Widevine PSSH was found for this track, is it DRM free? No Widevine PSSH was found for this track, is it DRM free? No Widevine PSSH was found for this track, is it DRM free? No Widevine PSSH was found for this track, is it DRM free? 1 Video └── [H.264, SDR] | en | 1920x1080 @ 15000 kb/s, 25.000 FPS ---------------------------------------- • 00:06 • Downloaded 4 Audio ├── [AAC] | pl | 2.0 | 128 kb/s │ ---------------------------------------- • 00:09 • Downloaded ├── [AAC] | pl | 2.0 | 64 kb/s │ ---------------------------------------- • 00:12 • Downloaded ├── [AAC] | pl | 2.0 | 32 kb/s │ ---------------------------------------- • 00:15 • Downloaded └── [AAC] | pl | 2.0 | 20 kb/s ---------------------------------------- • 00:19 • Downloaded Track downloads finished in 0m19s Failed to Mux video to Matroska file (2) Multiplexing... ⠋ ---------------------------------------- •
-
So to test I uninstalled and downloaded the from git same issues
Code:(devine) ~\source\git\devine master ● 3.12.7 py -m poetry run devine dl ROKU -? / __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4464 (L1) ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ in <module>:1 │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1157 in │ │ __call__ │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1078 in main │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1688 in invoke │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1685 in invoke │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:1434 in invoke │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\core.py:783 in invoke │ │ │ │ C:\Users\ondro\.venvs\devine\Lib\site-packages\click\decorators.py:33 in │ │ new_func │ │ │ │ C:\Users\ondro\source\git\devine\devine\commands\dl.py:141 in cli │ │ │ │ 138 │ │ │ │ help="Amount of tracks to download concurrently.") │ │ 139 │ @click.pass_context │ │ 140 │ def cli(ctx: click.Context, **kwargs: Any) -> dl: │ │ ❱ 141 │ │ return dl(ctx, **kwargs) │ │ 142 │ │ │ 143 │ DRM_TABLE_LOCK = Lock() │ │ 144 │ │ │ │ C:\Users\ondro\source\git\devine\devine\commands\dl.py:191 in __init__ │ │ │ │ 188 │ │ │ for vault in config.key_vaults: │ │ 189 │ │ │ │ vault_type = vault["type"] │ │ 190 │ │ │ │ del vault["type"] │ │ ❱ 191 │ │ │ │ self.vaults.load(vault_type, **vault) │ │ 192 │ │ │ self.log.info(f"Loaded {len(self.vaults)} Vaults") │ │ 193 │ │ │ │ 194 │ │ self.proxy_providers = [] │ │ │ │ C:\Users\ondro\source\git\devine\devine\core\vaults.py:40 in load │ │ │ │ 37 │ │ """Load a Vault into the vaults list.""" │ │ 38 │ │ module = _MODULES.get(type_) │ │ 39 │ │ if not module: │ │ ❱ 40 │ │ │ raise ValueError(f"Unable to find vault command by the name │ │ 41 │ │ vault = module(**kwargs) │ │ 42 │ │ self.vaults.append(vault) │ │ 43 │ ╰──────────────────────────────────────────────────────────────────────────────╯ ValueError: Unable to find vault command by the name 'SQLite'. (devine) ~\source\git\devine master ● 3.12.7
Code:tree .\devine\vaults\ Directory: .\devine\vaults\ TreeDepth: 2 .\devine\vaults ├── __init__.py ├── API.py ├── MySQL.py └── SQLite.py
-
Interesting enough I tried to take windows out of the equation so last night I began working on dockerizing devine, sadly getting the same error
FIGURED IT OUT
Don't do this in your devine.yaml file , I thought it was where you wanted to store the vaults not the commands for the vaults
Code:# vaults: C:/Users/ondro/AppData/Local/devine/vaults
Code:docker run --rm -v "$env:LOCALAPPDATA\devine\devine.yaml:/app/devine.yaml" -v "$env:LOCALAPPDATA\devine\devine-services\services:/app/devine/services" -v "$env:LOCALAPPDATA\devine\wvds\:/root/.local/share/devine/WVDs" -v "$env:LOCALAPPDATA\devine\temp:/tmp/devine" devine-app dl ROKU -? / __ \/ ____/ | / / _/ | / / ____/ / / / / __/ | | / // // |/ / __/ / /_/ / /___ | |/ // // /| / /___ /_____/_____/ |___/___/_/ |_/_____/ ⠀ v3.3.3 Copyright © 2019-2024 rlaphoenix https://github.com/devine-dl/devine Service Config loaded Loaded Cdm Widevine CDM: 4464 (L1) ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /usr/local/lib/python3.10/runpy.py:196 in _run_module_as_main │ │ │ │ 193 │ main_globals = sys.modules["__main__"].__dict__ │ │ 194 │ if alter_argv: │ │ 195 │ │ sys.argv[0] = mod_spec.origin │ │ ❱ 196 │ return _run_code(code, main_globals, None, │ │ 197 │ │ │ │ │ "__main__", mod_spec) │ │ 198 │ │ 199 def run_module(mod_name, init_globals=None, │ │ │ │ /usr/local/lib/python3.10/runpy.py:86 in _run_code │ │ │ │ 83 │ │ │ │ │ __loader__ = loader, │ │ 84 │ │ │ │ │ __package__ = pkg_name, │ │ 85 │ │ │ │ │ __spec__ = mod_spec) │ │ ❱ 86 │ exec(code, run_globals) │ │ 87 │ return run_globals │ │ 88 │ │ 89 def _run_module_code(code, init_globals=None, │ │ │ │ /app/devine/__main__.py:3 in <module> │ │ │ │ 1 if __name__ == "__main__": │ │ 2 │ from devine.core.__main__ import main │ │ ❱ 3 │ main() │ │ 4 │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:1157 in __call__ │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:1078 in main │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:1688 in invoke │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:1685 in invoke │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:1434 in invoke │ │ │ │ /usr/local/lib/python3.10/site-packages/click/core.py:783 in invoke │ │ │ │ /usr/local/lib/python3.10/site-packages/click/decorators.py:33 in new_func │ │ │ │ /app/devine/commands/dl.py:141 in cli │ │ │ │ 138 │ │ │ │ help="Amount of tracks to download concurrently.") │ │ 139 │ @click.pass_context │ │ 140 │ def cli(ctx: click.Context, **kwargs: Any) -> dl: │ │ ❱ 141 │ │ return dl(ctx, **kwargs) │ │ 142 │ │ │ 143 │ DRM_TABLE_LOCK = Lock() │ │ 144 │ │ │ │ /app/devine/commands/dl.py:191 in __init__ │ │ │ │ 188 │ │ │ for vault in config.key_vaults: │ │ 189 │ │ │ │ vault_type = vault["type"] │ │ 190 │ │ │ │ del vault["type"] │ │ ❱ 191 │ │ │ │ self.vaults.load(vault_type, **vault) │ │ 192 │ │ │ self.log.info(f"Loaded {len(self.vaults)} Vaults") │ │ 193 │ │ │ │ 194 │ │ self.proxy_providers = [] │ │ │ │ /app/devine/core/vaults.py:40 in load │ │ │ │ 37 │ │ """Load a Vault into the vaults list.""" │ │ 38 │ │ module = _MODULES.get(type_) │ │ 39 │ │ if not module: │ │ ❱ 40 │ │ │ raise ValueError(f"Unable to find vault command by the name │ │ 41 │ │ vault = module(**kwargs) │ │ 42 │ │ self.vaults.append(vault) │ │ 43 │ ╰──────────────────────────────────────────────────────────────────────────────╯ ValueError: Unable to find vault command by the name 'SQLite'.
Code:# tree vaults vaults ├── API.py ├── MySQL.py ├── SQLite.py └── __init__.py
Last edited by condrovic; 5th Oct 2024 at 16:29. Reason: added solution after some digging
-
Would like to disable creating a container title during muxing. What's the correct syntax:
Code:set_title: false
Code:muxing: set_title: false
Last edited by PunchDrunkL0ve; 6th Oct 2024 at 02:17.
-
I just added this PR: Feat Env Check Dependencies Command, figured it might help some adding in some troubleshooting, hopefully it will help
-
Looking for any extra services that people have created
I already found these
https://github.com/Fabio31456/devine/tree/master/services
https://cdm-project.com/stabbedbybrick/devine-services.git
But was wondering if there is a list anywhere or if anyone had any alternatives? -
Can anyone get this in 1080p from IP ?
https://www.bbc.co.uk/iplayer/episode/b007q86z/the-jackal -
-
??? The top track is 1080p...
[Attachment 82721 - Click to enlarge] -
@SaintyUK
what happens when you try to d/l the 1080p? Does it give you an error? something about there no segments available? -
The 1080p track only contains audio. Perhaps there's a fix as there are a couple of episodes of other shows on iPlayer with the same problem.
-
Probably would of been helpful to include this error message:
Track's HLS playlist has no segments, expecting an invariant M3U8 playlist.
Assume you are both experiencing the same?
The HLS manifest does list 1080p, however the DASH manifest does not. I reckon this is just the BBC messing up.
@stabbedbybrick: looking at your code, it seems that DASH is always forced to HLS. Curious if there was any particular reason why? Other than lower quality audio by the look of it!Last edited by SaintyUK; 8th Oct 2024 at 07:57.
-
@SaintyUK
Yes, same here.
I've come across a few of these 1920x1080 @ 8000 kb/s 25fps with the same "Track's HLS playlist has no segments" error. -
You kind of answered your own question. The H264 DASH manifest doesn't have 1080p so it's edited to use HLS, which does have it (usually). In this case it's listed in the manifest so it shows up in the track list, but the playlist is empty for whatever reason so no segments are found when attempting to download. I also have no clue why this particular title has 320kb/s audio. I don't use iP a lot so don't know if that's a new thing or what?
I did a quick check using all the various endpoints and suppliers used by BBC and all of them return the same broken playlist, so this is most likely an error on their end. -
Thanks stabby!
I also don't use this particular service much - probably for the same reasons as you; based in the UK and iPlayer doesn't have adverts 😁 -
Is there any way to not download subtitles? Even with -V and -A it says checking for captions and stays like that indefinitely. I'm using the ALL4 service from here
[Attachment 82737 - Click to enlarge] -
Is there any way to not download subtitles? Even with -V and -A it shows checking for captions. I'm using the ALL4 service from here: https://cdm-project.com/stabbedbybrick/devine-services/src/branch/main/services/ALL4
[Attachment 82738 - Click to enlarge] -
-
I was able to solve my previous problem by removing CCExtractor from path, however now I have another issue. I get the error: The process cannot access the file because it is being used by another process. Does anyone know what's wrong?
[Attachment 82739 - Click to enlarge]
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