Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Feature Requests _ MOD/Tracker Support

Posted by: Pyrii Aug 24 2007, 12:11 AM

I frequently enjoy some tracker files in winamp, so support for tracker files (xm/it/mod/stm/s3m etc...) maybe even if it just reads details from winamp instead of directly.

Currently I have the blogscript I use modified to read filename as a failsafe, so it's currently looking like this for tracker files:

Played 3 minutes ago:
[] Phantom
by Unknown -
(0)


... for a 6 minute file, as it can't read song length it can't tell if the song is still playing.

Well would be a nice feature, hope it's doable.

Posted by: Serge Aug 24 2007, 12:46 AM

Use %s in AMIP to get everything Winamp can provide.

Posted by: Pyrii Aug 24 2007, 01:54 AM

Does that provide song length aswell?

Posted by: Serge Aug 24 2007, 08:19 AM

%s contains everything Winamp can provide. In some cases you can specify format for %s inside Winamp.

Posted by: Pyrii Aug 24 2007, 12:23 PM

QUOTE(Serge @ Aug 24 2007, 09:19 AM) *

%s contains everything Winamp can provide. In some cases you can specify format for %s inside Winamp.


Well I'm not seeing the file length come through. Regardless, my request for MOD support stands as I'm thinking it might be handy for other peeps too.

For now I've used %sl and added some PHP code to the parser:
CODE
        if(!$plastic_tunes_duration) {
            $dur_minutes = floor($plastic_tunes_backupdur / 60);
            $dur_hours = floor($dur_minutes / 60);
            $dur_seconds = $plastic_tunes_backupdur % 60;
            $plastic_tunes_duration = str_pad($dur_hours, 2, '0', STR_PAD_LEFT) . ':' . str_pad($dur_minutes, 2, '0', STR_PAD_LEFT) . ':' . str_pad($dur_seconds, 2, '0', STR_PAD_LEFT);
        }

Powered by Invision Power Board
© Invision Power Services