1
0
mirror of https://github.com/azlux/botamusique synced 2024-11-23 13:56:17 +00:00
botamusique/media
Martin Weinelt 48d54beffd
radio: don't get stuck on mpd http streams
MPD HTTP streaming provide the media content at every URL thrown at the
HTTP backend. So requests for shoutcast and icecast metadata get stuck
receiving the actual media content, instead of the expected metadata.

The conclusion is to only request these metadata files, when they're not
actually advertised as audio or video content types in a HEAD request.
2021-06-01 23:16:22 +02:00
..
__init__.py new playlist format 2018-11-13 15:48:09 +01:00
cache.py fix: Removing items during validation breaks validation 2021-05-16 23:48:07 +08:00
file.py feat: Load language file in lang/ instead of the ini file. 2020-07-12 11:45:51 +08:00
item.py fix: glitch sound when stopping music 2020-05-22 22:49:05 +08:00
playlist.py fix: Racing condition happens when editing playlist. Fixes #279. 2021-05-24 09:26:23 +08:00
radio.py radio: don't get stuck on mpd http streams 2021-06-01 23:16:22 +02:00
README.md fix: update some text 2020-03-28 20:46:21 +08:00
url_from_playlist.py Don't accumulate playlist items over multiple attemps 2021-05-16 05:51:42 +02:00
url.py add youtube-dl options 2021-04-03 13:39:47 +02:00

+----------------------------------------------------------+
|          <-| URLItem <-- URLFromPlaylistItem             |
| BaseItem <-| FileItem                                    |
|          <-| RadioItem                                   |
++---------------------------------------------------------+