Few changes
This commit is contained in:
parent
4eeda5414d
commit
b1454b8b95
10
README.md
10
README.md
@ -33,6 +33,7 @@ Support for Sport replays or live streams is not planned. It's a whole thing wit
|
||||
|
||||
## Usage
|
||||
|
||||
### Windows
|
||||
1. Install Microsoft Visual C++ Redistributable - [link](https://aka.ms/vs/17/release/vc_redist.x64.exe).
|
||||
|
||||
2. Ensure Python is installed in your system (cannot be from the the Microsoft Store). Refer to [link](https://www.python.org/downloads/) or on Ubuntu -> `sudo apt install python3`. I recommend python 3.10.11 (or higher). Python 3.13 does not work.
|
||||
@ -52,6 +53,15 @@ Support for Sport replays or live streams is not planned. It's a whole thing wit
|
||||
|
||||
8. Run desired command using poetry.
|
||||
|
||||
### Linux
|
||||
|
||||
This is in beta for linux.
|
||||
|
||||
Command:
|
||||
|
||||
```
|
||||
wget https://github.com/chu23465/VT-PR/raw/refs/heads/dev/install.sh && chmod +x install.sh && bash install.sh
|
||||
```
|
||||
|
||||
## Updating
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ from datetime import datetime
|
||||
import base64
|
||||
import click
|
||||
import m3u8
|
||||
from sys import platform
|
||||
|
||||
from vinetrimmer.objects import MenuTrack, Title, Tracks
|
||||
from vinetrimmer.services.BaseService import BaseService
|
||||
@ -134,6 +135,12 @@ class DisneyPlus(BaseService):
|
||||
if self.range == "DV+HDR":
|
||||
self.scenario = "android~unlimited"
|
||||
|
||||
if "linux" in platform:
|
||||
import yaml
|
||||
#Read YAML file
|
||||
with open("./vinetrimmer/config/Services/disneyplus.yml", 'r') as stream:
|
||||
self.config = yaml.safe_load(stream)
|
||||
|
||||
self.configure()
|
||||
|
||||
def get_titles(self):
|
||||
|
||||
@ -24,7 +24,7 @@ cdm_api:
|
||||
credentials:
|
||||
iTunes: 'username:password'
|
||||
Hotstar: 'username:password'
|
||||
DisneyPlus: 'tjp4252@gmail.com:Tjcooke@121382'
|
||||
DisneyPlus: 'username:password'
|
||||
|
||||
directories:
|
||||
temp: ''
|
||||
|
||||
Loading…
Reference in New Issue
Block a user