Browse Source

Merge branch 'hotfix/v0.7.1'

master v0.7.1
LecygneNoir 4 years ago
parent
commit
7b0c543865
3 changed files with 8 additions and 3 deletions
  1. +5
    -0
      CHANGELOG.md
  2. +2
    -2
      lib/pt_upload.py
  3. +1
    -1
      prismedia_upload.py

+ 5
- 0
CHANGELOG.md View File

@ -1,5 +1,10 @@
# Changelog
## v0.7.1
### Fixes
Fix bug #42 , crash on Peertube when video has only one tag
## v0.7.0
### Features

+ 2
- 2
lib/pt_upload.py View File

@ -202,9 +202,9 @@ def upload_video(oauth, secret, options):
continue
# Tag more than 30 chars crashes Peertube, so exit and check tags
if len(strtag) >= 30:
logging.warning("Peertube: Sorry, Peertube does not support tag with more than 30 characters, please reduce your tag size")
logging.warning("Peertube: Sorry, Peertube does not support tag with more than 30 characters, please reduce tag: " + strtag)
exit(1)
fields.append(("tags", strtag))
fields.append(("tags[]", strtag))
if options.get('--category'):
fields.append(("category", str(utils.getCategory(options.get('--category'), 'peertube'))))

+ 1
- 1
prismedia_upload.py View File

@ -97,7 +97,7 @@ except ImportError:
'see https://github.com/ahupp/python-magic\n')
exit(1)
VERSION = "prismedia v0.7.0"
VERSION = "prismedia v0.7.1"
VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted')
VALID_CATEGORIES = (

Loading…
Cancel
Save