Coder Social home page Coder Social logo

Playing Standalone Mp3s about esp-radio HOT 5 CLOSED

edzelf avatar edzelf commented on September 27, 2024
Playing Standalone Mp3s

from esp-radio.

Comments (5)

Edzelf avatar Edzelf commented on September 27, 2024

This will not work without changing the software. I will see if I can change the software. It will take some time though...

from esp-radio.

Edzelf avatar Edzelf commented on September 27, 2024

Standalone MP3s are now supported in the 11-oct-2016 version.

from esp-radio.

NoNeedForAName123 avatar NoNeedForAName123 commented on September 27, 2024

Thanks for the support of standalone files.
It works fine but playing files blocks the Webinterface.
The commands are execute after play back...

D: Command: preset with parameter 03
D: Preset set to 3
D: Song stopped correctly after 10 msec
D: New preset requested = 3
D: Preset 3 found in .ini file
D: Connect to new host myserver/test.mp3
D: Stop client
D: Slash in station
D: Connect to preset 3, host myserver on port 80, extension /test.mp3
D: Connected to server
D: Server: Apache/2.4.10 (Debian)
D: Last-Modified: Sun, 08 Jun 2014 09:02:11 GMT
D: Accept-Ranges: bytes
D: Content-Length: 9014509
D: Connection: close
D: Content-Type: audio/mpeg
D: Switch to DATA, bitrate is 0
D: onFileRequest received /config.html
D: Command: getnetworks with parameter 0
D: onFileRequest received /radio.ini
D: onFileRequest received /favicon.ico
D: No data input
D: No data input
D: Trying other station...
D: Song stopped correctly after 0 msec
D: New preset requested = 4
D: Preset 4 found in .ini file

from esp-radio.

Edzelf avatar Edzelf commented on September 27, 2024

123, I tried to reproduce it, but no success... I used "www.stephaniequinn.com/Music/Canon.mp3" as an example, that works without problems. Maybe your mp3 has a very high bitrate?

from esp-radio.

texynz avatar texynz commented on September 27, 2024

Edzelf can you confirm that:
If playing a MP3 from a file (HTTP served), that you cannot stop the file being played by forcing another file to be streamed by setting another preset.

I have tried setting two different files in the preset, but if i play preset1, and lets say it is 3min long, at 2minutes along I cannot change to preset2, and force it to play preset2. I seems like the code is not looking for/of has enough time to see another "command" whilst it is streaming preset1.

No issues if you are using proper streams, rather than direct file streams.

from esp-radio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.