I've submitted a pull request for this on your Github account that will fix playback.
Changes made:
The playlists are not actually playlists, just different URL:s to even out server load, so just pick the first URL in each variant(MP3 and AAC)
Removed the metadata_dict and replaced with single parameters instead since the framework seems a little bit buggy regarding this
Utilize the commented out section again + add two new routines with route decorators(this just to make it work on PHT, i.e. PHT needs to have extension .mp3 or .aac in order to properly determine correct demuxer)
...(some other stuff I forgot now)
Currently, the art and thumb sticks to the ones that were when you started playback. However, PHT is smart enough to update the Artist and Song name when a new track starts playing(extracted from Shoutcast stream info).
Should now work on PHT(OS X) and Plex/Web(Safari on OS X) at least.
Hi meo,
Thanks so much for this, great work! I have updated the bundle on my server and am now able to do the following (while being remote):
- Play on iOS (iPad2), though meta data is not updated upon song change
- Play on PHT (Win7)
- Play on Plex/Web, however there is a loooong delay before playback starts. Also the playback poster shows a "blue 2", probably advertising that both the mp3 and the AAC variants are available. Maybe one of them is timing out?
Thanks so much for this, great work! I have updated the bundle on my server and am now able to do the following (while being remote):
- Play on iOS (iPad2), though meta data is not updated upon song change
- Play on PHT (Win7)
- Play on Plex/Web, however there is a loooong delay before playback starts. Also the playback poster shows a "blue 2", probably advertising that both the mp3 and the AAC variants are available. Maybe one of them is timing out?
Great!
Now when I've read all the posts in this thread more thoroughly:
- If the playlist sometimes includes "faulty" URLs, you could do a pre-check by issuing a BYTE-RANGE HTTP request(e.g. 10 bytes or so) or HEADER HTTP request to determine "bad" links instead of what I did, always returning the first one in the list
Don't know why Plex/Web needs extra time, it's the other way around for me: Plex/Web starts playback instantly while PHT takes about 5 seconds :)
Sorry to hijack this thread, but I forked [1] your project and made some changes. It is still playing the Radio Paradise stream, see MP3_URL for testing. But not the FM4 stream I try to play. In VLC the stream info looks exactly the same?!? What could be different?
Sorry to hijack this thread, but I forked [1] your project and made some changes. It is still playing the Radio Paradise stream, see MP3_URL for testing. But not the FM4 stream I try to play. In VLC the stream info looks exactly the same?!? What could be different?