Welcome Guest ( Log In | Register )

> MOD/Tracker Support
Pyrii
post Aug 24 2007, 12:11 AM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 24-August 07
From: South UK
Member No.: 357



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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Serge
post Aug 24 2007, 08:19 AM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



%s contains everything Winamp can provide. In some cases you can specify format for %s inside Winamp.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Pyrii
post Aug 24 2007, 12:23 PM
Post #3


Newbie
*

Group: Members
Posts: 3
Joined: 24-August 07
From: South UK
Member No.: 357



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);
        }
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: