Search found 872 matches

by wbartels
Fri Feb 18, 2005 1:14 pm
Forum: Fixed
Topic: artist_alphabetical is always same as artist (and other)
Replies: 4
Views: 8873

Code: Select all

if (in_array (strtolower($temp[1]), array('a', 'the', 'de', 'het', 'van', 'le', 'les', 'die')))
That is a good tip to lowercase first.
I will use it on the next version.
Superlexx wrote:So I modified the code to allow WMP-like sorting :D
Can you give me an example how WMP sorts?
by wbartels
Thu Feb 17, 2005 5:03 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

Damn WinAmp, with foobar I get no sound problems while transcoding from mp3 to vorbis. I've done a test, the original transcoder gave me 2.66x speed and the optimized one did 5.25x (a 3:09 song was transcoded in 36 seconds), which should be enough for every PC > 500MHz. I don't know if there is a s...
by wbartels
Wed Feb 16, 2005 11:45 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

Maybe it's because our boxes lack CPU power, I have a 1.5GHz AthlonXP and oggenc is keeping it 100% busy. Yes, that would be the problem, my server is just 900MHz Celron. Maybe an optimized compile for your 1.5GHz AthlonXP could do the trick: http://www.hydrogenaudio.org/forums/index.php?showtopic=...
by wbartels
Wed Feb 16, 2005 2:48 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

This is working, but it sounded strange no constant speed.

Code: Select all

$cfg['stream_encode'] = 'D:\Console\Codec\oggenc.exe --quiet --quality 1 --title %title --artist %artist --album %album --output=- -';
by wbartels
Wed Feb 16, 2005 2:34 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

This is cool :) :)
OGG streaming below threshold works perfect.
The next step is to get stranscoding working.
by wbartels
Wed Feb 16, 2005 2:06 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

Thanks, I add this to the next version:

Code: Select all

....$hash . '&ext=.' . $cfg['stream_extension'] . "\r\n";
by wbartels
Wed Feb 16, 2005 1:48 pm
Forum: General discussion
Topic: ogg vorbis streaming and WinAmp
Replies: 22
Views: 29898

I think the biggest problem with Winamp is, that it only relies on the file extension and doesn't use the header information. For unknown extensions it uses the default Nullsoft MPEG decoder. You get the "error synching to mpeg" error because Winamp tries to play ogg files with the default...
by wbartels
Tue Feb 15, 2005 2:33 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

That looks promising.

If security is not your highest concern than you can replace hmacsha1(… , …) with sha1(… . …) in login.php, users.php and initialize.inc.php.
You also have to replace the hmacsha1 JavaScript in login.php

Pack is also used in users.php for triple des encryption.
by wbartels
Mon Feb 14, 2005 7:01 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

Thanks very much Superlexx.
Some example code makes it a lot clearer.
And will give me a good basis to start with.

I will take a brake, and start to make it W3C compliant over a few weeks.
by wbartels
Mon Feb 14, 2005 5:43 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

W3C compliancy isn't a big deal, just move the formatting to the CSS and turn ampersands ('&') in URLs to "&" (plus other minor stuff like removing the iframe from the table), but without unicode support it doesn't make much sence to me at this moment . What is a good site to lear...
by wbartels
Sun Feb 13, 2005 10:49 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

After I switched the MySQL charset to default (latin1_swedish_ci) and disabled mbstring.dll in php.ini, the >127 characters work as intended. Still I have some albums with cyrillic characters that don't work. Btw. in menu.php, line 119 should be </tr> instead of <tr> ;). I have modified some of the...
by wbartels
Sun Feb 13, 2005 7:20 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

well, for some reason, I even have problems with Björk since at some stage the name becomes "Bj" like other names containing high byte characters (some german and scandinavian band names and tracks). Maybe it's because the mbstring.dll PHP extension is installed or MySQL running in UTF-8 ...
by wbartels
Sun Feb 13, 2005 4:26 pm
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

It is a pity that readdir() doesn't work with multibyte strings :( I hope that PHP will fix this before my first Russian or Chinese album :wink: So far I hadn't any problem with exotic characters. But they are all high byte strings and not multibyte strings: Sigur rós: Viðrar vel til loftárása Björk...
by wbartels
Fri Feb 11, 2005 11:29 am
Forum: Fixed
Topic: bug in stream.php
Replies: 3
Views: 8237

I thought I had tested this a long time ago :oops: Now I see that $_SERVER['HTTP_HOST'] already gave a port number. I will fix it in the next version. The same mistake was made in about.php on line 141 and 142. I think the best way is to remove these lines from the code. Thanks very much for your he...
by wbartels
Fri Feb 11, 2005 5:04 am
Forum: Implemented
Topic: Unicode support
Replies: 34
Views: 55618

Not with netjukebox 3.65 :( Many string functions have to be replaced with the multibyte equivalent. For example strlen() has to be replaced with mb_strlen() For more information, take a look here: http://nl2.php.net/mbstring I don't know if MySQL is multibyte compatible, and if GET and POST work we...