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
Creak
funkwhale
Commits
1d787904
Verified
Commit
1d787904
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into develop
parents
e2c88b98
41ffff9a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/funkwhale_api/music/tasks.py
+1
-1
1 addition, 1 deletion
api/funkwhale_api/music/tasks.py
changes/changelog.d/null-position.bugfix
+1
-0
1 addition, 0 deletions
changes/changelog.d/null-position.bugfix
with
2 additions
and
1 deletion
api/funkwhale_api/music/tasks.py
+
1
−
1
View file @
1d787904
...
...
@@ -273,7 +273,7 @@ def federation_audio_track_to_metadata(payload):
new_data
=
{
"
title
"
:
payload
[
"
name
"
],
"
album
"
:
payload
[
"
album
"
][
"
name
"
],
"
track_number
"
:
payload
[
"
position
"
]
,
"
track_number
"
:
payload
.
get
(
"
position
"
)
or
1
,
"
disc_number
"
:
payload
.
get
(
"
disc
"
),
"
artist
"
:
payload
[
"
artists
"
][
0
][
"
name
"
],
"
album_artist
"
:
payload
[
"
album
"
][
"
artists
"
][
0
][
"
name
"
],
...
...
This diff is collapsed.
Click to expand it.
changes/changelog.d/null-position.bugfix
0 → 100644
+
1
−
0
View file @
1d787904
Fixed a crash when federating a track with unspecified position
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