06 August 2019, 15:23 | #1 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
mod renamer?
anyone knows if there exist a tool for renaming amiga mods: ext.xy ---> artist - title.ext?
|
06 August 2019, 15:38 | #2 |
Registered User
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
|
Is the artist info inside the mod ?
|
06 August 2019, 16:17 | #3 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
perhaps, there is mods containing metadata (title).
|
06 August 2019, 16:35 | #4 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
|
I think I can write one in python in a few minutes (with the proper mod format). This tool could even run on amiga since python (old but functional) exists...
|
06 August 2019, 17:03 | #5 |
Registered User
Join Date: Jun 2003
Location: UK
Age: 61
Posts: 168
|
How do you propose to add artist info if there is none?
I think there was an .exe called mod-renamer somewhere, either AMP or on Modland that would do something similar by taking the internal name (if it had one), but not the artist name. Might be PC util, not sure about Amiga. Only other way might be to use a multi-rename tool such as the one in TotalCommander, I'm sure there is a standalone version that does the same thing. Artist name I have to add manually, but the rest is easy to do.. |
06 August 2019, 17:22 | #6 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
@jotd:
@axxy: a creatio ex nihil... no, just kidding. of course, somewhere the info needs be fetched... i am sure you know a lot better than me, but how about adjusting a database that already exists and collecting the needed infos from that source - like kestra? should not be impossible and probably a hell lot of work but maybe worth a thought? |
06 August 2019, 17:51 | #7 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
You never will get 100% correct results. How to get the correct artist name from a mod where is no name or two or more names?! You could use the AMP database for example but that is also not 100% correct.
Another question is, why do you want to rename mods? |
06 August 2019, 18:18 | #8 |
This cat is no more
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,196
|
I see a reason: so extension is always ".mod"... handy to play on PC with VLC.
A quick start in python (paste than in a .py file and pass directory to rename as sole argument). I made that simplistic so it can be pasted and everyone can understand. Code:
import fnmatch,os,sys directory = sys.argv[1] for module in os.listdir(directory): if fnmatch.fnmatch(module,"mod.*"): new_name = module[4:]+".mod" os.rename(os.path.join(directory,module),os.path.join(directory,new_name)) for author name, it would require opening the file in binary mode, get the proper offset/tag and add it to the new name |
06 August 2019, 18:30 | #9 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
true - however, a certain amount of tracks could be addressed this way for sure.
reasons? - hey, i am just a daydreamer... well, some (non amiga) players do not accept file-extensions in first place, even though they do support mod-playback. and it is also practical and aesthetical reasons, better accessibility to your mod collection, grouping, sorting all kinds of stuff. an even more utopic aim: building a corrected amiga mods collection on the long run (incl. proper songlenghts via database with exotic formats). i forgot about the most important feature: actually find the mod you are looking for in a bunch of hundreds. try this with a ext.xy mod... Last edited by Nova; 06 August 2019 at 18:40. |
06 August 2019, 18:40 | #10 | ||
Registered User
Join Date: Jun 2003
Location: UK
Age: 61
Posts: 168
|
Quote:
Quote:
How about using a playlist (say from xmplay) and exported to html, no idea if it could be done with 10s of thousands of mods without crashing. Saga-Musix over at ModArchive has a Module Library (v1 & v2) program on his website https://sagagames.de/?programm=modlib, kind of a standalone program but does practically almost all formats. Again, both PC programs. If anything, I would say that there is no definitive database yet, I'm still finding incorrect data from mods that are over 20 years old. |
||
06 August 2019, 18:49 | #11 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
|
06 August 2019, 19:58 | #12 |
Registered User
Join Date: Oct 2012
Location: Italy
Age: 49
Posts: 2,942
|
Building a corrected amiga mods collection is a great project .... are you going to do that Nova ?
|
06 August 2019, 21:27 | #13 |
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
|
06 August 2019, 22:31 | #14 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
I'm not sure if all artist would agree if you rename their mods and make it public somewhere. In private you can do what you want of course. However, I don't see a need for it. Maybe work for years or decades.
What about of sorting by artist named directories? Then you don't need to add artist name to mod name. I think this is easier and also easy to find. |
06 August 2019, 23:07 | #15 | |
Registered User
Join Date: Jun 2003
Location: UK
Age: 61
Posts: 168
|
Quote:
abc.mod or mod.abc tells you nothing. What happens when you have 3 or 4 or more with that filename. Way back I decided to use artist_modname.ext. I structured my folders 0-9, A1,A2,B1 etc and added more when needed, and I also kept the folders at around CD size. With HD space now, I just backup to external drive when I need to. Think most naming conventions nowadays are artist_-_mod_name.ext. As for a DB, I attached an image of my database which I store in Excel, did try to import to Access but it couldn't handle that many entries. I use an old plug-in for 32bit Totalcommder that just about handles old tracker files (not all) to grab the info before importing it into Excel, works for me but it's a bit of a chore to do. There is an old copy on AMP's website in the download section. |
|
07 August 2019, 00:51 | #16 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
Yes, the bigger the collection becomes, the more problems you get. There are several reasons why you cannot build a good database because the source mod can be everything or nothing. Many releases without information. Artists with equal names or several different names. Ripped mods and so on. You know it.
|
07 August 2019, 11:56 | #17 | ||
Registered User
Join Date: Sep 2012
Location: N/A
Posts: 309
|
Quote:
Quote:
@axxy: mod-db picture looks very neat. need to check for a possible equivalent plugin for linux filemanagers. |
||
07 August 2019, 11:58 | #18 | |
Registered User
Join Date: Jun 2003
Location: UK
Age: 61
Posts: 168
|
Quote:
Just to highlight this, https://amp.dascene.net/forum/index....pic,858.0.html. This mod surfaced a month or so ago from a production from 1992. Turns out we've all had this for quite some time, me about 27 years apparently under a different name. Still waiting to see if Asle reads the post and add a comment. Wonder if Dizzy is still contactable? |
|
07 August 2019, 12:13 | #19 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
@Axxy:
I follow AMP forum and have read that thread. So I know your problems. Hence it is a work/profession for life. |
07 August 2019, 12:13 | #20 | |
Registered User
Join Date: Jun 2003
Location: UK
Age: 61
Posts: 168
|
Quote:
The closest thing we got is the Library window in XMPlay and the Database functions of Module Library, but no export options and 2 instead of 1 program to do all. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dr fonk modules moonbeam.mod abudhabi.mod | redblade | request.Modules | 8 | 28 October 2017 13:30 |
Amiga 1200 Mod II (the CD Mod) | nightfear | Hardware mods | 4 | 06 June 2014 19:21 |
Amiga 1200 Mod I (the CF Mod) | nightfear | Hardware mods | 2 | 06 June 2014 08:19 |
Hippel mod to Future Composer mod | Carlos Ace | request.Modules | 1 | 07 November 2002 16:28 |
|
|