From aa81f139736f80b800454e535ea76990d95479b0 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Sat, 7 Sep 2019 11:25:45 +0200 Subject: [PATCH] Update nfo and readme for the new channel feature for peertube --- README.md | 10 ++++++---- nfo_example.txt | 8 +++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0c88461..df0664b 100644 --- a/README.md +++ b/README.md @@ -91,8 +91,6 @@ Options: WARN: tags with space and special characters (!, ', ", ?, ...) are not supported by Mastodon to be published from Peertube use mastodon compatibility below - --mt Force Mastodon compatibility for tags (drop every incompatible characters inside tags) - This option requires --tags -c, --category=STRING Category for the videos, see below. (default: Films) --cca License should be CreativeCommon Attribution (affects Youtube upload only) -p, --privacy=STRING Choose between public, unlisted or private. (default: private) @@ -112,8 +110,12 @@ Options: --thumbnail=STRING Path to a file to use as a thumbnail for the video. Supported types are jpg and jpeg. By default, prismedia search for an image based on video name followed by .jpg or .jpeg + --channel=STRING Set the channel to use for the video (Peertube only) + If the channel is not found, spawn an error except if --channelCreate is set. + --channelCreate Create the channel if not exists. (Peertube only, default do not create) + Only relevant if --channel is set. --playlist=STRING Set the playlist to use for the video. Also known as Channel for Peertube. - If the playlist is not found, spawn an error except if --playlist-create is set. + If the playlist is not found, spawn an error except if --playlistCreate is set. --playlistCreate Create the playlist if not exists. (default do not create) Only relevant if --playlist is set. -h --help Show this help. @@ -153,7 +155,7 @@ Languages: - [x] add videos to playlist - [x] create playlist - [x] schedule your video with publishAt - - [ ] combine channel and playlist (Peertube only as channel is Peertube feature) + - [x] combine channel and playlist (Peertube only as channel is Peertube feature). See [issue 40](https://git.lecygnenoir.info/LecygneNoir/prismedia/issues/40 for detailed usage. - [x] Use a config file (NFO) file to retrieve videos arguments - [x] Allow to choose peertube or youtube upload (to resume failed upload for example) - [ ] Record and forget: put the video in a directory, and the script uploads it for you diff --git a/nfo_example.txt b/nfo_example.txt index 5fcfc51..4564d8a 100644 --- a/nfo_example.txt +++ b/nfo_example.txt @@ -16,10 +16,12 @@ category = Films cca = True privacy = private disable-comments = True -thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail -playlist = My Test Playlist +#thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail +channel = CookingTest +channelCreate = True +playlist = Desserts Recipes playlist playlistCreate = True -nsfw = True +nsfw = False platform = youtube, peertube language = French publishAt=2034-05-07T19:00:00 \ No newline at end of file