mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 09:29:16 +02:00
Merge branch 'hotfix/v0.6.1' into develop
This commit is contained in:
commit
8c0f1fd038
3 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v0.6.1
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- fix an error when playlists on Peertube have same names but not same display names (issue #20)
|
||||||
|
- fix an error where videos does not upload on Peertube when some characters are used in playlist(issue #19)
|
||||||
|
|
||||||
## v0.6
|
## v0.6
|
||||||
|
|
||||||
### Compatibility ###
|
### Compatibility ###
|
||||||
|
|
|
@ -88,6 +88,11 @@ def create_playlist(oauth, url, options):
|
||||||
jresponse = response.json()
|
jresponse = response.json()
|
||||||
jresponse = jresponse['videoChannel']
|
jresponse = jresponse['videoChannel']
|
||||||
return jresponse['id']
|
return jresponse['id']
|
||||||
|
if response.status_code == 409:
|
||||||
|
logging.error('Peertube: Error: It seems there is a conflict with an existing playlist, please beware '
|
||||||
|
'Peertube internal name is compiled from 20 firsts characters of playlist name.'
|
||||||
|
' Please check your playlist name an retry.')
|
||||||
|
exit(1)
|
||||||
else:
|
else:
|
||||||
logging.error(('Peertube: The upload failed with an unexpected response: '
|
logging.error(('Peertube: The upload failed with an unexpected response: '
|
||||||
'%s') % response)
|
'%s') % response)
|
||||||
|
|
|
@ -94,7 +94,7 @@ except ImportError:
|
||||||
'see https://github.com/ahupp/python-magic\n')
|
'see https://github.com/ahupp/python-magic\n')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
VERSION = "prismedia v0.6"
|
VERSION = "prismedia v0.6.1"
|
||||||
|
|
||||||
VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted')
|
VALID_PRIVACY_STATUSES = ('public', 'private', 'unlisted')
|
||||||
VALID_CATEGORIES = (
|
VALID_CATEGORIES = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue