mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
Revert README to use prismedia as it's indeed the binary script installed through pip
This commit is contained in:
parent
ba2a1ebb79
commit
e0a63ed4b2
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -98,28 +98,28 @@ Here are some demonstration of main usage:
|
||||||
|
|
||||||
Upload a video:
|
Upload a video:
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file="yourvideo.mp4"
|
prismedia --file="yourvideo.mp4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Specify description and tags:
|
Specify description and tags:
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file="yourvideo.mp4" -d "My supa description" -t "tag1,tag2,foo"
|
prismedia --file="yourvideo.mp4" -d "My supa description" -t "tag1,tag2,foo"
|
||||||
```
|
```
|
||||||
|
|
||||||
Provide a thumbnail:
|
Provide a thumbnail:
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file="yourvideo.mp4" -d "Video with thumbnail" --thumbnail="/path/to/your/thumbnail.jpg"
|
prismedia --file="yourvideo.mp4" -d "Video with thumbnail" --thumbnail="/path/to/your/thumbnail.jpg"
|
||||||
```
|
```
|
||||||
|
|
||||||
Publish on Peertube only, while using a channel and a playlist, creating them if they do not exist:
|
Publish on Peertube only, while using a channel and a playlist, creating them if they do not exist:
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file="yourvideo.mp4" --platform=peertube --channel="Cooking recipes" --playlist="Cake recipes" --channelCreate --playlistCreate
|
prismedia --file="yourvideo.mp4" --platform=peertube --channel="Cooking recipes" --playlist="Cake recipes" --channelCreate --playlistCreate
|
||||||
```
|
```
|
||||||
|
|
||||||
Use a NFO file to specify your video options:
|
Use a NFO file to specify your video options:
|
||||||
(See [Enhanced NFO](#enhanced-use-of-nfo) for more precise example)
|
(See [Enhanced NFO](#enhanced-use-of-nfo) for more precise example)
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file="yourvideo.mp4" --nfo /path/to/your/nfo.txt
|
prismedia --file="yourvideo.mp4" --nfo /path/to/your/nfo.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Use some credits to show some activity for you apikey so the platform know it is used and would not put your quota to 0 (only Youtube currently).
|
Use some credits to show some activity for you apikey so the platform know it is used and would not put your quota to 0 (only Youtube currently).
|
||||||
|
@ -127,12 +127,12 @@ Use some credits to show some activity for you apikey so the platform know it is
|
||||||
To prevent Youtube from inactivating your apikey after 90days of inactivity it is recommended to launch this command automatically from a script around once a month. It will mwke a call to use a few credits from your daily quota.
|
To prevent Youtube from inactivating your apikey after 90days of inactivity it is recommended to launch this command automatically from a script around once a month. It will mwke a call to use a few credits from your daily quota.
|
||||||
On Linux and MacOS, you can use cron, on Windows the "Task Scheduler".
|
On Linux and MacOS, you can use cron, on Windows the "Task Scheduler".
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --hearthbeat
|
prismedia --hearthbeat
|
||||||
```
|
```
|
||||||
|
|
||||||
Take a look at all available options with `--help`!
|
Take a look at all available options with `--help`!
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --help
|
prismedia --help
|
||||||
```
|
```
|
||||||
|
|
||||||
## Enhanced use of NFO
|
## Enhanced use of NFO
|
||||||
|
@ -160,7 +160,7 @@ Recipes/
|
||||||
|
|
||||||
By using
|
By using
|
||||||
```sh
|
```sh
|
||||||
python -m prismedia --file=/path/to/Recipes/yourvideo1.mp4 --nfo=/path/to/Recipes/cli_nfo.txt --cca
|
prismedia --file=/path/to/Recipes/yourvideo1.mp4 --nfo=/path/to/Recipes/cli_nfo.txt --cca
|
||||||
```
|
```
|
||||||
|
|
||||||
Prismedia will:
|
Prismedia will:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue