mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:09:22 +02:00
Fixed compat with iTunes
This commit is contained in:
parent
c70135c9e3
commit
c96fd5d539
6 changed files with 95 additions and 35 deletions
|
@ -830,7 +830,10 @@ def rss_serialize_item(upload):
|
|||
{
|
||||
# we enforce MP3, since it's the only format supported everywhere
|
||||
"url": federation_utils.full_url(
|
||||
upload.get_listen_url(to="mp3", download=False)
|
||||
reverse(
|
||||
"api:v1:stream-detail", kwargs={"uuid": str(upload.track.uuid)}
|
||||
)
|
||||
+ ".mp3"
|
||||
),
|
||||
"length": upload.size or 0,
|
||||
"type": "audio/mpeg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue