Remove hard-coded faif.us domain from feed enclosure URLs
This commit is contained in:
parent
136fecaaf1
commit
1b439b3bd0
1 changed files with 2 additions and 2 deletions
|
@ -221,14 +221,14 @@ class CastFeed(CastFeedBase):
|
||||||
class Mp3CastFeed(CastFeed):
|
class Mp3CastFeed(CastFeed):
|
||||||
def item_enclosure_mime_type(self): return "audio/mpeg"
|
def item_enclosure_mime_type(self): return "audio/mpeg"
|
||||||
def item_enclosure_url(self, item):
|
def item_enclosure_url(self, item):
|
||||||
return "http://faif.us" + item.mp3_path
|
return item.mp3_path
|
||||||
def item_enclosure_length(self, item):
|
def item_enclosure_length(self, item):
|
||||||
return item.mp3_length
|
return item.mp3_length
|
||||||
|
|
||||||
class OggCastFeed(CastFeed):
|
class OggCastFeed(CastFeed):
|
||||||
def item_enclosure_mime_type(self): return "audio/ogg"
|
def item_enclosure_mime_type(self): return "audio/ogg"
|
||||||
def item_enclosure_url(self, item):
|
def item_enclosure_url(self, item):
|
||||||
return "http://faif.us" + item.ogg_path
|
return item.ogg_path
|
||||||
def item_enclosure_length(self, item):
|
def item_enclosure_length(self, item):
|
||||||
return item.ogg_length
|
return item.ogg_length
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue