Scripting way to upload videos to peertube and youtube
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

177 lines
6.1 KiB

  1. # Changelog
  2. ## v0.12.1
  3. ### Fix
  4. - Fix an error when setting log level in configuration
  5. ## v0.12.0
  6. ### Features
  7. - Add `--heartbeat` option to send request to youtube API, avoiding youtube to disabling you API account if you do not upload video often (Thanks @Zykino see #54)
  8. - Rework and improve genconfig process to avoid erasing existing configuration and make it more easy to use
  9. - Add a `prismedia-init` script when installing prismedia to easily generate basic configuration (see #55)
  10. - Update multiple dependencies used for prismedia as they were very old.
  11. - Add auto search for thumbnail in `.png` in addition to `.jpg` and `.jepg`.
  12. ### Fixes
  13. - Add pagination for youtube playlist to search for all user playlists (Thanks @Zykino)
  14. - Remove file format check for both videos and thumbnail as Youtube and Peertube now accepts more than .mp4 and .jpg (see #60)
  15. ## v0.11.0
  16. ### Features
  17. - Add the configuration of Original date of Record for Youtube and Peertube (see #50)
  18. - Add a progress bar when uploading on Peertube (Thanks @Zykino, see #52)
  19. ## v0.10.3
  20. ### Fix
  21. - Fix the pagination for Peertube playlist, as index begins at 0, not 1
  22. ## v0.10.2
  23. ### Fixes
  24. - Fix a typo in log (missing space when displaying thumbnail) (see #49)
  25. - Add pagination when searching playlist in Peertube as default pagination show only 14 playlists (see #41)
  26. - Add a check to avoid uploading video on Peertube with more than 5 tags (see #48)
  27. - Revert the workaround for Youtube playlist bug now the bug is fixed by Youtube (see #47)
  28. ## v0.10.1
  29. ### Fix
  30. - Fix a bug introduced with v0.10.0 that broke thumbnail on youtube upload.
  31. ## v0.10.0
  32. ### Features
  33. - Add the possibility to specify strict checks option to never forgot parameters when uploading (see #36)
  34. - Improve logging system, add options for batch upload and print url-only in the stdout (see #29)
  35. - --debug option is now deprecated in favor of --log=debug
  36. ### Fixes
  37. - Workaround against the Youtube API breakdown while adding video in playlist. See #47 for details. Should be removed once Google fix their bugs.
  38. ## v0.9.1
  39. ### Features
  40. - Possibility to bypass the MIME check for .mp4 when the user is sure of its video (#46 , thanks to @zykino)
  41. - Now **available with pip** for installation! (See the README for doc)
  42. ## v0.9.0
  43. ### Upgrade from v0.8.0
  44. Now using [poetry](https://python-poetry.org/) for packaging and installing! It's easier to maintain and publish package, but means changes when using prismedia from command line.
  45. **Using poetry** (recommanded)
  46. - [install poetry](https://python-poetry.org/docs/#installation)
  47. - git pull the repo
  48. - install prismedia:
  49. ```bash
  50. poetry install
  51. ```
  52. - use prismedia from the command line directly from your path:
  53. ```bash
  54. prismedia -h
  55. ```
  56. **From source**
  57. Prismedia is now seen as a python module, so you need to use `python -m prismedia` instead of `./prismedia_upload.py`.
  58. Once you have pulled the new v0.9.0, you may update by using:
  59. ```
  60. pip install -r requirements.txt
  61. # Then use prismedia through python command line:
  62. python -m prismedia -h
  63. ```
  64. ### Features
  65. - Prismedia now uses [poetry](https://python-poetry.org) to allow easier installation usage and build, see the README (fix #34)
  66. - Add two new options to schedule video by platform. You may now use youtubeAt and peertubeAt to prepare previews (fix #43)
  67. - Enhance the NFO system to allow a hierarchical loading of multiple NFO, with priorities. See README and [prismedia/samples](prismedia/samples) for details (fix #11)
  68. ## v0.8.0
  69. ### Breaking changes
  70. Now work with python 3! Support of python 2 is no longer available.
  71. You should now use python 3 in order to use prismedia
  72. ### Features
  73. - Add a requirements.txt file to make installing requirement easier.
  74. - Add a debug option to show some infos before uploading (thanks to @zykino)
  75. - Now uploading to Peertube before Youtube (thanks to @zykino)
  76. ## v0.7.1
  77. ### Fixes
  78. Fix bug #42 , crash on Peertube when video has only one tag
  79. ## v0.7.0
  80. ### Features
  81. Support Peertube channel additionally with playlist for Peertube!
  82. Peertube only as channel are Peertube's feature. See #40 for details.
  83. ### Fixes
  84. - Best uses of special chars in videoname, channel name and playlist name
  85. - Some fixes in logging message for better lisibility
  86. - Readme features list improved for better lisibility
  87. ## v0.6.4
  88. ### Fixes
  89. - Fix #33, no more trying to add a video into a playlist when the playlist does not exist on Youtube
  90. - fix #39, patch the playlist name check when playlist contains special chars
  91. ## v0.6.3
  92. ### Fixes
  93. Fix Critical bug #38 that prevent upload when creating playlists on Peertube, as public playlist need a non-null channel_id.
  94. ## v0.6.2
  95. **Warning**: your Peertube instance should be at least in v1.3.0 to use this new functionality.
  96. ### Features
  97. New feature, the Peertube playlists are now supported!
  98. We do not use channel in place of playlist anymore.
  99. ## v0.6.1-1 Hotfix
  100. This fix prepares the python3 compatibility.
  101. **Warning** you need a new prerequisites: python-unidecode
  102. - Remove mastodon tags (mt) options as it's deprecated. Compatibility between Peertube and Mastodon is complete.
  103. - Simplify python2 specific functions
  104. ## v0.6.1
  105. ### Fixes
  106. - fix an error when playlists on Peertube have same names but not same display names (issue #20)
  107. - fix an error where videos does not upload on Peertube when some characters are used in playlist(issue #19)
  108. ## v0.6
  109. ### Compatibility ###
  110. **Beware**, the first launch of prismedia for youtube will reask for credentials, this is needed for playlists.
  111. This release is fully compatible with Peertube v1.0.0!
  112. ### Features
  113. - Add the possibility to upload thumbnail.
  114. - Add the possibility to configure playlist. (thanks @zykino for Peertube part)
  115. - Use the API instead of external binaries for publishAt for both Peertube and Youtube. (thanks @zykino)
  116. - Use the console option to authenticate against youtube for easier use with ssh'ed servers
  117. - Add -f as an alias for --file for easier upload.
  118. ## v0.5
  119. ### Features
  120. - plan your Peertube videos! Stable release
  121. - Support for Peertube beta4
  122. - More examples in NFO
  123. - Better support for multilines descriptions
  124. ### Fixes
  125. - Display datetime for output
  126. - plan video only if upload is successful