Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zwordi
funkwhale
Commits
80783f9a
Verified
Commit
80783f9a
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix #195: changelog
parent
3290a15c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
changes/changelog.d/195.feature
+42
-0
42 additions, 0 deletions
changes/changelog.d/195.feature
with
42 additions
and
0 deletions
changes/changelog.d/195.feature
0 → 100644
+
42
−
0
View file @
80783f9a
Store
file
length,
size
and
bitrate
(
#195)
Storage
of
bitrate,
size
and
length
in
database
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Starting
with
this
release,
when
importing
files,
Funkwhale
will
store
additional information about audio files
:
-
Bitrate
-
Size
(in
bytes)
-
Duration
This
change
is
not
retroactive,
meaning
already
imported
files
will
lack
those
informations.
The
interface
and
AP
I
should work as before in such case, however,
we
offer
a
command to deal with legacy files and populate the missing values.
On docker setups
:
.. code-block
::
shell
docker-compose
run
--rm
api
python
manage.py
fix_track_files
On non-docker setups
:
.. code-block
::
shell
# from your activated virtualenv
python
manage.py
fix_track_files
.. note
::
The
execution
time
for
this
command
is
proportional
to
the
number
of
audio
files
stored
on
your
instance.
This
is
because
we
need
to
read
the
files
from
disk
to
fetch
the
data.
You
c
an
run it in the background
while
Funkwhale
is
up.
It's
also
safe
to
interrupt
this
command
and
rerun
it
at
a
later point, or run
it
multiple
times.
Use
the
--dry-run
flag
to
check
how
many
files
would
be
impacted.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment