| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Prior to this change, when pagination kicks in on the user management or report
management panel, the following exception is raised:
TypeError: a bytes-like object is required, not 'str'
The cause is that `request.query_string` in the URL parameters in raw bytestring
form as per Werkzeug documentation.
|
|
|
|
| |
This reverts commit b6fba854007bb4392846085a60178c44dbd7989e.
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't seem to be an issue in my Guix SD/Python 3.7 testing, but hit an
issue on Debian 9/Python3.5 where concatenating text to `request.query_string`
was causing the error:
TypeError: a bytes-like object is required, not 'str'
This clearly hasn't been an issue in the past though, so I suspect there's a
library somewhere that's on a different version and is behaving differently.
|
|
|
|
| |
Unfortunately now the player isn't showing up because there's no thumbnail.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In addition to side-stepping spectrograms completely in Python 3 in 1038aea8,
this commit adds some fallbacks that will help with potential issues in Python 2.
Fixes Issue #5457
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
Author: Jorge <mediagoblin@gybs.waa>
|
|
|
|
| |
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
|
|
|
|
|
|
|
|
|
| |
This change adds a Python 3-specific audio thumbnailer that side-steps the
bundled Python 2-only `audioprocessing` module. Instead of an audio spectrogram,
Python 3 users will get a static image.
This also allows me to remove my ineffective customisations to
`audioprocessing`, returning it to the upstream version as should always be the
case for vendored code in "extlib".
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Warning was:
PyGIWarning: GstPbutils was imported without specifying a version first. Use gi.require_version('GstPbutils', '1.0') before import to ensure that the right version gets loaded.
|
|
|
|
|
|
|
| |
Moves the datetime_format used in various places to the config and allows a
global override per site.
Signed-off-by: Ben Sturmfels <ben@sturm.com.au>
|
| |
|
| |
|
|
|
|
| |
Bottom margin was less than top margin.
|
| |
|
|
|
|
|
|
|
| |
Switching from iteritems() to items() is technically less memory efficient on
Python 2, but this appeared be a significantly cleaner approach than adding six
to the template context. It's also the right choice assuming the project will at
some point go Python 3 only.
|
| |
|
|
|
|
|
|
|
|
|
| |
To avoid issues with quotes, I've replaced the manual CSV handling with
csv.DictReader and simplified the unicode handling down to a single line. I
don't believe any special encoding is required when writing to the database.
This has been tested by importing a CSV with braille characters on Python 3 and
Python 2.
|
| |
|
|
|
|
|
| |
The command was raising "io.UnsupportedOperation: seek" for URL-based imports
and didn't support HTTPS.
|
|
|
|
|
|
|
|
|
| |
Original of the video was not saved because info about it was not
written to the database. Fixed that.
Also removed original video from get_all_media listing. The method is
weird, we should evaluate whether it is video-specific and how to
generalize it.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
This probably broke stuff
|
| |
| |
| |
| |
| | |
There were some blocking issues in the code. They are small, but break
tests and/or production. Fixed some of them.
|
| |\
| | |
| | |
| | |
| | | |
Minor changes
See merge request !3
|
| | |
| | |
| | |
| | | |
Closes #11
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
This field is required to store the progress of the default
resolution of the media. So, we now store the total progress of transcoding
the video in 'transcoding_progress' and progress of transcoding the default
resolution in 'main_transcoding_progress'.
|
| | |
|
| |
| |
| |
| | |
Check for it's returned values.
|
| |
| |
| |
| | |
Closes #8
|
| |\
| | |
| | |
| | |
| | | |
Add multiple video qualities feature
See merge request !2
|
| | |
| | |
| | |
| | | |
Related to #6
|
| | |
| | |
| | |
| | | |
Related to #5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Report transcoding_progress as the overall percent of all resolutions.
Modify Logging.
Closes #6
|
| | |
| | |
| | |
| | | |
Related to #5
|
| | |
| | |
| | |
| | | |
Closes #5
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This reverts commit f6ba0e561bfb62991d70a4c002edf142d9d7540c.
|