From e0a63ed4b26a1a88cd86596bccb07dc478e360a4 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Sat, 13 Mar 2021 10:36:16 +0100 Subject: [PATCH] Revert README to use prismedia as it's indeed the binary script installed through pip --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3add1af..03c9de6 100644 --- a/README.md +++ b/README.md @@ -98,28 +98,28 @@ Here are some demonstration of main usage: Upload a video: ```sh -python -m prismedia --file="yourvideo.mp4" +prismedia --file="yourvideo.mp4" ``` Specify description and tags: ```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: ```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: ```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: (See [Enhanced NFO](#enhanced-use-of-nfo) for more precise example) ```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). @@ -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. On Linux and MacOS, you can use cron, on Windows the "Task Scheduler". ```sh -python -m prismedia --hearthbeat +prismedia --hearthbeat ``` Take a look at all available options with `--help`! ```sh -python -m prismedia --help +prismedia --help ``` ## Enhanced use of NFO @@ -160,7 +160,7 @@ Recipes/ By using ```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: