06 August 2004, 00:54 | #1 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Command Line Mod PLayer
Hi,
I'm looking for a player that will play mod files from the command line and not display the program. I've tried hippoplayer but I can only get it to play files in a certain order, I want it to play tracks from a dir randomly. It needs to be small and use little resources as it needs to be run in the background of a menu system. Any help on this would be VERY handy! (or if you can tell me how to randomise tracks from commandline in hippo player that would be great) |
09 August 2004, 00:14 | #2 |
Registered User
|
try ptplay, probably on aminet
|
11 August 2004, 15:48 | #3 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
As it was such a popular thread I thought I'd let you know how I got on.
Well after testing about 14 different mod players all of which where pains in the arses to get to run from commandline, pretty much all of them wouldn't allow me to shuffle the tracks without opening the gui which I didn't want to do. I managed to find APlayer which did allow this but kept chucking out the same "cannot open amigaguide.library" error everytime I ran it from commandline behind my menu (i did have this lib in the correct dir). After snoopdos-ing it from a standard wb install I figured out that I needed to add the file classes/datatypes/amigaguide.datatype, and also add a couple of lines to my startup sequence... namely: assign > NIL LIBS: sys:classes ADD C:AddDataTypes QUIET REFRESH Then I had to add some more libs (commodities, rexxsys and some more) to get it work. If it would have said that in the amigaguide document (ooh the irony) in the first place I wouldn't have spent ages ripping my hair out (and that's a lot cos I am a gorilla) End of torturous lesson. |
11 August 2004, 21:07 | #4 | |
Music lord
Join Date: Jun 2003
Location: Liverpool, UK
Age: 50
Posts: 630
|
Quote:
|
|
11 August 2004, 23:07 | #5 |
Moderator
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
|
Deliplayer and Eagleplayer have arexx scripts - isn't it possible to use them without opening the GUI? Haven't tried, so you'd have to find out how to use them.
Amigaguide.datatype is already present. The assign classes is in the WB3.0 startup-sequence file already but the adddatatypes command is only default in WB3.1. It's usually used by software or in WB3.0 from CLI to add and read new datatypes recently added. Last edited by Bloodwych; 11 August 2004 at 23:22. |
11 August 2004, 23:49 | #6 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
well if a modplayer is designed to be used from commandline then the chances are you might not be using it within workbench anyway so it should really say what files it depends on imo. And besides, I have no idea why it needs amigaguide files because it does not use any guide files at all, it never displays a thing.
|
12 August 2004, 01:28 | #7 |
Moderator
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
|
I've been looking at WB30 vs WB31 and although the former lacks adddatatypes in the startup-sequence, it seems to perform the command automatically when using the datatypes.lib (hex editor lists this command inside).
WB31 datatype.lib makes no mention of this command and that's why it's in the startup-sequence. Not very helpful to you KG, just wanted to add to my last post in case anyone can clear up if datatypes are updated automatically in wb30 or the adddatatypes line has to be entered. Glad you've got whatever you want to work, even if it was a mess on. Believe me, I've been there a few times when adding features to the ClassicWB. Last edited by Bloodwych; 12 August 2004 at 01:35. |
12 August 2004, 05:00 | #8 | |
Junior Member
Join Date: Mar 2002
Location: Perth, Western Australia
Age: 50
Posts: 283
|
Quote:
The most resouce friendly would be the player that comes with the protracker package as mentioned before (PTPLAY) but you will need to setup your own script to choose a random song. Stick with Hippoplayer unless you want to play some of the more exotic MOD formats. Last edited by gary; 12 August 2004 at 08:25. |
|
12 August 2004, 10:26 | #9 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
How do I create a playlist?
I've recently discovered that Aplayer is a pain in the arse! Sorry to sound simple but I fiddled with hippoplayer for ages with no success in creating a playlist. Or do I have have to create them from memacs or a text editor? |
13 August 2004, 02:49 | #10 |
Junior Member
Join Date: Mar 2002
Location: Perth, Western Australia
Age: 50
Posts: 283
|
I don't have an Amiga handy, but try clicking the file open button and selecting multiple files. From memory the playlist was shown underneath the interface and had the usual add/delete options to include more songs. You may have to resort to downloading a full hippoplayerarchive (maybe from Aminet) and reading the instrustions
Hippoplayer will play multiple MODS/samples (and a few other formats) from the command line wiithout bringing up a GUI. I've used it for this purpose. The command line was something like: hippoplayer HIDE <playlist> And I think you can stop it by: hippoplayer QUIT The playlist file is just text so you can make your own without using hippoplayer, just be careful to have the first 2 lines as "HipPrg" then blank for it to be recognised properly. eg: Code:
HiPPrg mods/crappy/mod.maccarena mods/annoying/mod.shutuppa-your-face mdds/pureshit/mod.hampsterdance mods/homer/mod.rappin-ronny-reagan mods/homer/mod.its-raining-men |
13 August 2004, 11:06 | #11 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Cheers for that, I will give it a shot.
And I did download the hippoplayer archive, I knew that you could use the HIDE and QUIT functions and all that, it's just that (like I said), I couldn't get the darned thing to play a playlist or shuffle. Thanks again, hope it bloody works this time! (btw - i like your choice of mod-names, very camp ) |
12 December 2008, 21:09 | #12 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,613
|
"AGREED." (c) Kung Fu Panda / Clint Eastwood.
Was about to compliment that code box Gary |
12 December 2008, 21:16 | #13 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Wow, I was just about to dig up this old thread but someone beat me to it!
I've now given hippoplayer a good go, and it does indeed play a playlist in random order if you save out the prefs file and specify a playlist. Trouble is it always pops up a requestor whenever you try to load a TFMX file (mdat/smpl). This always pops up, even if you choose to 'ignore errors'. Is there not a simple mod player that can play random tracks without some special "feature" standing in the way? |
12 December 2008, 22:38 | #14 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,646
|
I would like a simpler commandline modplayer.
I just need it to load ONE mod at a time on request, and quit the player when the mod has reached restart point (or after a bunch of restarts). Anything like this exists? It would be the background to some graphics... Perhaps I should start looking for AMOS-like applications liek Blitz Basic (or those demomakers...) |
12 December 2008, 22:48 | #15 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
from my testing I'm pretty sure there is one that does that.
What formats does it need to support? |
13 December 2008, 11:36 | #16 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Right, I've now settled on HippoPlayer despite it's flaws (diplaying the name of TFMX files before playing, displaying a message if a file is unsupported - both in HIDE mode).
Just have to make sure I don't include any files which are not supported (or are TFMX) and put it in the readme for others. |
09 June 2015, 11:54 | #17 | |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,542
|
Quote:
http://aminet.net/package/mus/misc/TFMX-converter The merged files are supported by hippoplayer and don't display the popup when loaded. |
|
22 October 2015, 01:34 | #18 |
Lesser Talent
Join Date: Jan 2003
Location: UK
Age: 42
Posts: 7,957
|
Good to know!
Maybe one day I'll revisit this |
02 January 2017, 13:57 | #19 |
Registered User
Join Date: Sep 2019
Location: Finland
Posts: 363
|
If anyone is still interested, I've just recently (in the year 2016) fixed this annoying pop up as requested by a jolly french fellow. Here it is: https://dl.dropboxusercontent.com/u/...opup-fixed.zip
|
03 January 2017, 11:34 | #20 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
If I start your hip then I get an software failure (long write to 0). On A1200 3.1 040.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FAT Player MikMod v5 (amiga mod player for Nintendo DS) | spajdr | Amiga scene | 0 | 14 August 2008 21:55 |
is there new command line ? | turrican3 | support.WinUAE | 1 | 15 April 2007 12:21 |
command line? | Drake1009 | support.WinUAE | 7 | 14 August 2004 17:17 |
Command Line. | ruttolibero | support.WinUAE | 1 | 25 July 2003 15:05 |
Looking For a command-line Mod Player for the PC | Mangar | request.Apps | 5 | 24 February 2003 15:49 |
|
|