Note that there are some explanatory texts on larger screens.

plurals
  1. POphp can't open more than 2 mp3 files at same time?
    primarykey
    data
    text
    <p>here's what i'm doing:</p> <p><strong>"dl"</strong> folder contains a variety of mp3 music albums archives in zip format. For this example, let's say i have an archive called "some_album.zip" and inside the zip file there is a file called "some_song.mp3</p> <p><strong>"playlist.php"</strong> will get the list of mp3 files inside a zip archive then build a XML file to use as playlist with a flash mp3 player. For each mp3 entry in the xml file, it returns a filename value like this:</p> <pre><code>&lt;location&gt;mp3.php?file=some_album.zip#some_song.mp3&lt;/location&gt; </code></pre> <p><strong>"mp3.php"</strong> will read the file inside the zip archive (without extracting it) using *zip://some_album.zip#some_song.mp3* then it will output the content with mp3 headers. So when i go to *mp3.php?file=some_album.zip#some_song.mp3* it will stream the mp3 file just like it was a real file.</p> <p><strong>player.html</strong> is just a flash mp3 player that will stream the album using "playlist.php" XML file.</p> <p><strong>The problem</strong> is that the flash player will only play the first 2 songs no matter what i try. It looks like the server can't open more than 2 files at same time or a maximum of X megabytes.</p> <p>I triple-checked that all mp3 filenames are correct inside the XML playlist and if i manually launch the mp3 URL in my browser it will work perfectly. The mp3 player also detects the mp3 length which confirms the filename is good.</p> <p>I have also tried with 3 different mp3 players and all of them have the same problem : i am only able to play the first 2 songs. So my question is: could it be a setting on my dedicated server that prevent me from reading more than 2 files at same time inside the zip archive ?</p> <p>Example flash player: <a href="http://www.pirate-punk.com/player/test.html" rel="nofollow">http://www.pirate-punk.com/player/test.html</a></p> <p>using this XML playlist (generated from php with content of a zip archive): <a href="http://www.pirate-punk.com/ODYgQ3JldyAtIDIwMDAgLSBCYWQgQmFkIFJlZ2dhZS56aXA=.xml" rel="nofollow">http://www.pirate-punk.com/ODYgQ3JldyAtIDIwMDAgLSBCYWQgQmFkIFJlZ2dhZS56aXA=.xml</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload