funkwhale/api/funkwhale_api
Blopware 0c8f4400b0
Sanitize remote tracks' saving locations with slashes on their names
For that case, the resulting saved file made use of these slashes to
store the tracks in subdirectories of federation_cache/xx/xx/xx, instead of
in the federation_cache/xx/xx/xx directory itself. As a consequence, the
tracks are downloaded in the wrong location, and upon any trial of
playing the tracks, funkwhale responds with the message
"The track cannot be loaded. You can have connectivity issues"

An example of a podcast with this kind of RSS items is located in
https://www.rtve.es/api/programas/2082/audios.rss

This commit overcomes this by a simple replacement of the offending
slashes to hyphens.
2021-05-09 17:51:45 +02:00
..
activity See #297: sorted imports 2018-06-10 10:55:16 +02:00
audio Fix feed formatting so it passes w3c validation 2020-10-22 15:06:28 +02:00
cli Delete existing thumbnails automatically when running 2020-08-23 16:39:31 +02:00
common Sanitize remote tracks' saving locations with slashes on their names 2021-05-09 17:51:45 +02:00
contrib Omit recording_mbid if no data is available; fixes https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1310 2020-12-16 14:53:55 +01:00
favorites See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
federation Ignore not supported activity pub tag types instead of discarding the request 2021-02-28 21:23:49 +01:00
history Upgraded dependencies 2020-07-18 10:29:22 +02:00
instance Resolve "Remove Raven Sentry" 2021-04-25 15:13:17 +00:00
manage Upgraded dependencies 2020-07-18 10:29:22 +02:00
moderation See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
music Add missing playable serializer 2021-05-09 05:38:55 +00:00
musicbrainz Fix #877: Ensure API urls answer with and without a trailing slash 2019-07-02 14:31:47 +02:00
playlists See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
providers Removed unused acoustid dependency / logic 2019-01-11 14:10:02 +01:00
radios See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
requests See #542: Removed import requests code 2018-10-01 19:16:47 +02:00
static New theming system 2020-05-15 14:12:36 +02:00
subsonic change struct to reflect subsonic api specs, fixes #1374 2021-03-28 19:21:01 +02:00
tags See #1100: clean compat and XXX in the code 2020-08-03 15:47:14 +02:00
taskapp See #170: fetch channel outbox on discovery/detail 2020-03-31 16:22:11 +02:00
templates Fix #806: Use proper site name/domain in emails 2019-04-23 11:14:58 +02:00
users Remove JWT related code 2021-04-28 10:44:28 +02:00
__init__.py Version bump and changelog for 1.1.1 2021-04-13 10:27:07 +02:00
factories.py Implement tag models 2019-07-08 15:26:14 +02:00