Browse Source

Update nfo and readme for the new channel feature for peertube

LecygneNoir 2 months ago
parent
commit
aa81f13973
2 changed files with 11 additions and 7 deletions
  1. 6
    4
      README.md
  2. 5
    3
      nfo_example.txt

+ 6
- 4
README.md View File

@@ -91,8 +91,6 @@ Options:
91 91
                      WARN: tags with space and special characters (!, ', ", ?, ...)
92 92
                            are not supported by Mastodon to be published from Peertube
93 93
                            use mastodon compatibility below
94
-  --mt  Force Mastodon compatibility for tags (drop every incompatible characters inside tags)
95
-        This option requires --tags
96 94
   -c, --category=STRING  Category for the videos, see below. (default: Films)
97 95
   --cca  License should be CreativeCommon Attribution (affects Youtube upload only)
98 96
   -p, --privacy=STRING  Choose between public, unlisted or private. (default: private)
@@ -112,8 +110,12 @@ Options:
112 110
   --thumbnail=STRING    Path to a file to use as a thumbnail for the video.
113 111
                         Supported types are jpg and jpeg.
114 112
                         By default, prismedia search for an image based on video name followed by .jpg or .jpeg
113
+  --channel=STRING Set the channel to use for the video (Peertube only)
114
+                    If the channel is not found, spawn an error except if --channelCreate is set.
115
+  --channelCreate  Create the channel if not exists. (Peertube only, default do not create)
116
+                   Only relevant if --channel is set.
115 117
   --playlist=STRING Set the playlist to use for the video. Also known as Channel for Peertube.
116
-                    If the playlist is not found, spawn an error except if --playlist-create is set.
118
+                    If the playlist is not found, spawn an error except if --playlistCreate is set.
117 119
   --playlistCreate  Create the playlist if not exists. (default do not create)
118 120
                     Only relevant if --playlist is set.
119 121
   -h --help  Show this help.
@@ -153,7 +155,7 @@ Languages:
153 155
   - [x] add videos to playlist
154 156
   - [x] create playlist
155 157
   - [x] schedule your video with publishAt
156
-  - [ ] combine channel and playlist (Peertube only as channel is Peertube feature)
158
+  - [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.
157 159
 - [x] Use a config file (NFO) file to retrieve videos arguments
158 160
 - [x] Allow to choose peertube or youtube upload (to resume failed upload for example)
159 161
 - [ ] Record and forget: put the video in a directory, and the script uploads it for you

+ 5
- 3
nfo_example.txt View File

@@ -16,10 +16,12 @@ category = Films
16 16
 cca = True
17 17
 privacy = private
18 18
 disable-comments = True
19
-thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
20
-playlist = My Test Playlist
19
+#thumbnail = /path/to/your/thumbnail.jpg # Set the absolute path to your thumbnail
20
+channel = CookingTest
21
+channelCreate = True
22
+playlist = Desserts Recipes playlist
21 23
 playlistCreate = True
22
-nsfw = True
24
+nsfw = False
23 25
 platform = youtube, peertube
24 26
 language = French
25 27
 publishAt=2034-05-07T19:00:00

Loading…
Cancel
Save