Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jovuit
funkwhale
Commits
aad2a505
Verified
Commit
aad2a505
authored
May 07, 2019
by
Eliot Berriot
Browse files
Fixed issue when transcoding from federation
parent
9671db02
Changes
1
Hide whitespace changes
Inline
Side-by-side
api/funkwhale_api/music/views.py
View file @
aad2a505
...
...
@@ -323,9 +323,7 @@ def handle_serve(upload, user, format=None, max_bitrate=None):
mt
=
f
.
mimetype
if
should_transcode
(
f
,
format
,
max_bitrate
=
max_bitrate
):
transcoded_version
=
upload
.
get_transcoded_version
(
format
,
max_bitrate
=
max_bitrate
)
transcoded_version
=
f
.
get_transcoded_version
(
format
,
max_bitrate
=
max_bitrate
)
transcoded_version
.
accessed_date
=
now
transcoded_version
.
save
(
update_fields
=
[
"accessed_date"
])
f
=
transcoded_version
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment