Home

April 1st, 2008

01:24 pm
AUDACIOUS SUCKS

UGH! Audacious still sucks. I tried the latest version of it (1.5.0), and it STILL DOES NOT PLAY STREAMRIPPER STREAMS! Further, there's no way for me to "save" the stream I am listening to! XMMS will play it all! It's about two years later, and they still haven't don't anything about being able to save streaming or at least supporting streamripper. Try it yourself:
streamripper http://205.188.215.228:8018 -r -d /tmp
audacious http://127.0.0.1:8000

Audacious blocks and finally fails stating that it cannot play the file.
id3_file_vfsopen: file failed
ERROR: neon: neon.c:599 (open_request): <0x9ac4b00> Could not open URL: 6
ERROR: neon: neon.c:885 (neon_aud_vfs_fopen_impl): <0x9ac4b00> Could not open URL

Oh, and the audacious media player home page is this stupid link to You Tube.... I hate websites with audio media on them.

11:32 pm
Internationalization in CakePHP

Here:
http://groups.google.com/group/cake-php/browse_frm/thread/1edcbbaed20657b9/13afbe9841b91314?#13afbe9841b91314
And a better one here: http://aaronthies.com/wp/2007/08/03/cakephp-12-i18nl10n/
INTERNATIONALIZATION

- at top of controller: uses('L10n');
- create /app/locale/eng/LC_MESSAGES/default.po (French is fre/fra)
http://www.loc.gov/standards/iso639-2/php/code_list.php
- create entries in default.po as such:

msgid "close_window"
msgstr "Close"

msgid "where_pin"
msgstr "Where is my PIN?"

- call translations in view: ) ("close_window"
is msgid from default.po)
this is going to echo out the msgstr for the given msgid, else it
wil display the msgid given
use __("button_submit", true) to return the value as opposed to
echoing it