Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: multiple input files  (Read 9786 times)

0 Members and 1 Guest are viewing this topic.

YuGiOhJCJ

  • New User
  • Offline Offline
  • Posts: 17
    • View Profile
    • YuGiOhJCJ
multiple input files
« 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.
« Last Edit: February 26, 2014, 15:40:41 by YuGiOhJCJ »
Logged

jivatma

  • New User
  • Offline Offline
  • Posts: 36
    • View Profile
Re: multiple input files
« Reply #1 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.
Logged

YuGiOhJCJ

  • New User
  • Offline Offline
  • Posts: 17
    • View Profile
    • YuGiOhJCJ
Re: multiple input files
« Reply #2 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?
Logged

Deltafire

  • Milkytracker Moderator
  • Rising Star
  • *
  • Offline Offline
  • Posts: 196
    • View Profile
Re: multiple input files
« Reply #3 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.
Logged

YuGiOhJCJ

  • New User
  • Offline Offline
  • Posts: 17
    • View Profile
    • YuGiOhJCJ
Re: multiple input files
« Reply #4 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?
Logged

Saga Musix

  • TMA Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 2571
  • I love OpenMPT! And Modules! And TMA! And Pie! :>
    • View Profile
    • Saga Musix - free module music and more!
Re: multiple input files
« Reply #5 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.
Logged
» My TMA artist profile
» Visit my music site: https://sagamusix.de/ [de, en]
» Visit my programming website: https://sagagames.de/ [de]
» Open ModPlug Tracker
Pages: [1]   Go Up