Feature Requests: Browse | Submit New | Admin
Need to write a Player that can use different commands for different file extensions or file types. ie. ogg123 for *.ogg mpg123 for *.mp3 mplayer for mms://* In some cases, a http://... url may redirect to mms://... In this case, mplayer still needs to be invoked, so I think the acctual opening of the file/url has to happen before the player acctually starts the eternal program (ie. before CommandRunner starts). That means any errors opening it need to trigger a notification, so that the next song can be played.
Add A Comment:
Date: 2003-10-30 02:46 Sender: Derek Lewis Logged In: YES user_id=438 I've added checking for both byte-orderings, which fixes that particular file.
Date: 2003-10-30 02:26 Sender: Derek Lewis Logged In: YES user_id=438 The basic logic for ogg/mp3 seems to be working, but there are cases where the mp3 detection logic doesn't work. ie. files that don't have the correct magic bytes. One example starts with "fb ff 44 90", which looks backwards. Maybe I just need to check for big-endian and small-endian?
Date: 2003-10-30 00:32 Sender: Derek Lewis Logged In: YES user_id=438 I've just implemented this. Seems to still work for MP3s, and will test on OGG files shortly. FileSongs are checked using the basic logic I ripped from /usr/share/misc/magic. Basicly, it reads a few bytes from the beginning of the file to determine the file type. For now, HTTPSongs are always MP3s.