From 0e1b8a1f54dd6156b01d41ef7ec8971503af5a02 Mon Sep 17 00:00:00 2001 From: chu23465 <130033130+chu23465@users.noreply.github.com> Date: Thu, 20 Mar 2025 01:41:02 +0530 Subject: [PATCH 1/3] Fix error max.py --- vinetrimmer/services/max.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vinetrimmer/services/max.py b/vinetrimmer/services/max.py index 5f80c38..fbbf392 100644 --- a/vinetrimmer/services/max.py +++ b/vinetrimmer/services/max.py @@ -62,6 +62,7 @@ class Max(BaseService): self.acodec = ctx.parent.params["acodec"] self.range = ctx.parent.params["range_"] self.alang = ctx.parent.params["alang"] + self.quality = ctx.parent.params["quality"] or 1080 # self.api_region = self.config.get(ctx.obj.profile, {}).get('api_region', 'comet-latam') # self.license_api = None From a8f2f9bf624818b9c5eb0841ffb51288aa5f0cbc Mon Sep 17 00:00:00 2001 From: chu23465 <130033130+chu23465@users.noreply.github.com> Date: Thu, 20 Mar 2025 02:46:37 +0530 Subject: [PATCH 2/3] Update to default vquality to HD in amazon.py --- vinetrimmer/services/amazon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vinetrimmer/services/amazon.py b/vinetrimmer/services/amazon.py index b4c218a..fb08178 100644 --- a/vinetrimmer/services/amazon.py +++ b/vinetrimmer/services/amazon.py @@ -75,7 +75,7 @@ class Amazon(BaseService): @click.option("-c", "--cdn", default=None, type=str, help="CDN to download from, defaults to the CDN with the highest weight set by Amazon.") # UHD, HD, SD. UHD only returns HEVC, ever, even for <=HD only content - @click.option("-vq", "--vquality", default="UHD", + @click.option("-vq", "--vquality", default="HD", type=click.Choice(["SD", "HD", "UHD"], case_sensitive=False), help="Manifest quality to request.") @click.option("-s", "--single", is_flag=True, default=False, From ba1963a03e89832b97aa501fbe96e8104c201349 Mon Sep 17 00:00:00 2001 From: chu23465 <130033130+chu23465@users.noreply.github.com> Date: Thu, 20 Mar 2025 17:01:46 +0530 Subject: [PATCH 3/3] Update README.md --- README.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7418d67..bf5137e 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,45 @@ Modified to remove Playready DRM instead of Widevine. - Progress Bars for decryption ([mp4decrypt](https://github.com/chu23465/bentoOldFork), Shaka) - Refresh Token fixed for Amazon service - Reprovision .prd after a week - - ISM manifest support (Microsoft Smooth Streaming) (Few features to be added) + - ISM manifest support (Microsoft Smooth Streaming) (WIP/Experimental) - N_m3u8DL-RE downloader support +## Broken + - `--bitrate CVBR+CBR` is currently broken + - Atmos audio with ISM manifest (Amazon) is currently broken (Needs a working init.mp4). If the title has the atmos audio in MPD then it should work. + - ATVP service is currently broken in dev branch + - Netflix service is currently broken (will probably be fixed Soon™) + +If anyone has any idea how to fix above issues, feel free to open a pull request. ## Usage -1. Run `install.bat` +1. Make sure git is installed in your system by running `git --version`. If not refer to [link](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) + +2. Choose a branch, either `dev` or `main`. Use below command to download. (Recommended instead of downloading zip) + ```bash + git clone -b --single-branch https://github.com/chu23465/VT-PR + ``` -2. Activate venv using `venv.cmd`. +3. Navigate and find `install.bat` + +4. Run `install.bat` + +5. Activate venv using `venv.cmd`. + +6. Run desired command using poetry. + + +## Updating + +1. Backup your `vinetrimmer/Cookies/`, `vinetrimmer/Cache/`, `/Downloads` directories just in case. + +2. Open a command prompt and navigate your `VT-PR` directory. + +3. Recall the branch you downloaded and modify below command accordingly: + ```bash + git pull origin + ``` ### Config @@ -124,7 +154,7 @@ Below flags to be passed after the `AMZN` or `Amazon` keyword in command. | -ism, --ism | Set manifest override to SmoothStreaming. Defaults to DASH w/o this flag. | | -?, -h, --help | Show this message and exit. | -To get UHD/4k with Amazon, navigate to - +To get Atmos/UHD/4k with Amazon, navigate to - ``` https://www.primevideo.com/region/eu/ontv/code?ref_=atv_auth_red_aft