Mod Archive Forums

Music Production => MilkyTracker => Tracking => MilkyTracker Feature Requests => Topic started by: YuGiOhJCJ on January 07, 2012, 11:24:55

Title: multiple input files
Post by: YuGiOhJCJ on January 07, 2012, 11:24:55
Hello,

if I want to open a single file in MilkyTracker, I do this :
Code: [Select]
$ milkytracker xm/Blabla.xm
Now, if I want to open multiple files in MilkyTracker, I do this :
Code: [Select]
$ milkytracker xm/*.xm
The expected behavior is : MilkyTracker opens each XM files into tabs.

The current behavior is : MilkyTracker opens a single XM file.

Can you add a feature to open multiple input files in MilkyTracker?

Thank you.
Title: Re: multiple input files
Post by: jivatma on January 10, 2012, 06:08:02
You can load a single XM into Milky with the "Load" Button in the GUI.

Control, Shift and T opens a new Tab, where you can load an other XM in the Way mentioned before.

That's the Way to do that in the GUI of Milky. I don't know, if there is a Way to do that, like you explained (in the Shell / Terminal), sorry.

Happy Tracking,
.Ingo.
Title: Re: multiple input files
Post by: YuGiOhJCJ on February 25, 2014, 04:20:56
I have written a patch to enable this feature (attached to this message).
Can you add it for a future release please?
Title: Re: multiple input files
Post by: Deltafire on March 09, 2014, 00:53:00
Just tried this patch, there is a problem.

The patch will only open the arguments in separate tabs if the setting "Load module in new tab" is enabled.  If it's not enabled (and it isn't by default), the modules are all loaded in the same tab, replacing each other.
Title: Re: multiple input files
Post by: YuGiOhJCJ on March 09, 2014, 21:53:29
I do not think it is a problem but the correct behavior.
Indeed, if the user has the "Load module in new tab" setting disabled, I think it is normal to load each module in the same tab.
That is the expected behavior, isn't it?
Title: Re: multiple input files
Post by: Saga Musix on March 10, 2014, 00:50:59
Well, if the operating system says "please open all these files" and in the end just one of them is open (and loading the rest of them was a waste of time), this is not really user-friendly. Either the tab behaviour should be overridden, or new program instances should be spawned for each tune.