kibook
kibook
I think the "direct radio url ending with .mp3" should already work. Here's an example: http://rfcmedia.streamguys1.com/newpophits.mp3 There's a number of other factors that can cause a stream not to work....
> The link there isn't a stream and has mp3 stream listening disabled The server actually sends different formats back depending on the User-Agent: Standard cURL User-Agent: ``` $ curl...
I did a test with MediaElement.js outside of FiveM, and it worked, so despite the non-standard HTTP response, MediaElement.js can play it: https://jsfiddle.net/kibukj/7pfrhwt5/ I think now the issue with pmms...
297add6 switches pmms to use the HTTP server built in to FXServer for DUI instead of the external github.io page, which fixes the issue playing plain HTTP URLs.
When you play that link, does pmms display both a current timecode and duration (`00:00:00/00:00:00`) or only a current timecode (`00:00:00`)? If you only see a current timecode, it is...
At that point it could be a connection issue with the stream. Having 10 instances of the same stream open is definitely not ideal. Is the idea that you want...
It actually doesn't spawn the objects, that's done via my [objectloader](https://github.com/kibook/redm-objectloader) resource for RedM currently. The coordinates are just to know where to calculate the volume of the audio from....
They are timing out, but it isn't necessarily related to pmms. That message is indicating commands that were sent to their client but were never received (because they lost connection...
> I also tested without resources And what did you find? The most relevant test would be with all resources except pmms vs. with pmms. If there's more timeouts with...
I think there are a few fields that are missing from here: https://github.com/kibook/pmms/blob/fc6b0fdcf38c2c84fe05fc27ada3089236ae96a3/server.lua#L386-L393 Adding ```lua dmp.loop = defaultMediaPlayer.loop ``` will probably fix this, but I will have to test that...