Skip to content
Snippets Groups Projects
Select Git revision
  • develop default protected
  • 1356-update-packages
  • 1303-failing-to-refetch-federated-tracks
  • 1108-remove-jwt-and-switch-to-oauth-for-ui-auth
  • set-sast-config-2
  • set-sast-config-1
  • master
  • tracemallocmiddleware
  • 1299-encoding-problem-in-rss-feeds
  • 1346-selectoreventloop-required-instead-got-uvloop-loop
  • 1278-embed-isn-t-available-in-the-front-end-for-channel-tracks
  • 1311-feedparser-requires-update-to-accomodate-python-3-9
  • 1.0.1
  • 1121-download
  • plugins-v3
  • plugins-v2
  • plugins
  • 1.1.1
  • 1.1
  • 1.1-rc2
  • 1.1-rc1
  • 1.0.1
  • 1.0
  • 1.0-rc1
  • 0.21.2
  • 0.21.1
  • 0.21
  • 0.21-rc2
  • 0.21-rc1
  • 0.20.1
  • 0.20.0
  • 0.20.0-rc1
  • 0.19.1
  • 0.19.0
  • 0.19.0-rc2
  • 0.19.0-rc1
  • 0.18.3
37 results

models.py

Blame
  • Forked from funkwhale / funkwhale
    Source project has a limited visibility.
    • Blopware's avatar
      a3504ae9
      Sanitize remote tracks' saving locations with slashes on their names · a3504ae9
      Blopware authored and blopware's avatar blopware committed
      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.
      a3504ae9
      History
      Sanitize remote tracks' saving locations with slashes on their names
      Blopware authored and blopware's avatar blopware committed
      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.