gadgetguru / PHP-Streaming-Audio

Pseudo shoutcast server
Other
158 stars 65 forks source link

eregi() function was DEPRECATED #7

Closed mohamedebrahim96 closed 6 years ago

mohamedebrahim96 commented 6 years ago

i have this error rteterter

vkynchev commented 6 years ago

Which version of pho are you using?

mohamedebrahim96 commented 6 years ago

I'm using PHP 7.1

eregi() function was DEPRECATED in PHP 5.3.0, and REMOVED in PHP 7.0.0. So I must have to use preg_match() function instead of eregi().


but when i fix it i found a lot of other errors and warnings

ertertert

and the php code is

rwerwerewr

vkynchev commented 6 years ago

Hmm...looks like these errors come from $playfiles not being initialized... If you are using my fork, you could try to fix this by deleting temp.db file in music directory.

mohamedebrahim96 commented 6 years ago

thx a lot I'm now using your fork @vkynchev and it's work fine...

but I have little [lag/drop frames] on the sound

vkynchev commented 6 years ago

@mohamedebrahim96 try to set bitrate back to 96 from 160...

mohamedebrahim96 commented 6 years ago

still, have little lag. I wish I could make it stream like Spotify smoothly

vkynchev commented 6 years ago

@mohamedebrahim96 sounds like it's your internet connection... It streams fine on my local server, you could try adjusting PHP's memory limits.

mohamedebrahim96 commented 6 years ago

Can I change music ....... he didn't identify different music other yours.

image

mohamedebrahim96 commented 6 years ago

I solve it by delete music.db