Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.
Also make sure you've read the Forum Guidelines before posting in this forum.
![]() ![]() |
Jan 3 2009, 04:25
Post
#1
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
I use mp3tag.exe /fp: to launch loading a single folder but is there a way of loading multiple, e.g. an commandline equivalent of menu command Add directory? Thanks.
|
|
|
|
Jan 3 2009, 08:40
Post
#2
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
I've read somewhere on the forum a proposal like this (not tested):
mp3tag.exe /fp:folder1 mp3tag.exe /fp:folder2 mp3tag.exe /fp:folder3 DD.20090103.0840.CET -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jan 3 2009, 13:07
Post
#3
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
Thanks, but that gives only what's expected - one folder at a time.
BTW, I find for even that to work one must include the folder path e.g. mp3tag.exe /fp:c:\parentfolder\folder1. In general I use "c:\program files\mp3tag\mp3tag.exe" /fp:"[folderpath]". Any other suggestions for multiple folders? I see that ther4e is a solution for the Explorer right-click, but I cannot find the mp3tag command in Explorer File Types. |
|
|
|
Jan 3 2009, 14:12
Post
#4
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Just an addendum to my postage above.
I've read this: http://forums.mp3tag.de/index.php?s=&a...ost&p=33778 DD.20090103.1412.CET -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jan 3 2009, 15:15
Post
#5
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
I'm baffled as to how that can work... but it is for files not folders.
I've worked around my need by making a playlist, but would still like to hear if there is a direct solution. And if anyone cares to write complete documentation for the commandline switches, I'd be very pleased! I hereby pledge 20e. |
|
|
|
Apr 3 2009, 00:08
Post
#6
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
I would still really like to hear a way of doing this.
|
|
|
|
Apr 3 2009, 09:07
Post
#7
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
I have this m3u file:
CODE O:\MUSIK\ROCK\T\The Beatles\2000 - 1\02_FromMeToYou_TheBeatles_1_2000.mp3 O:\MUSIK\ROCK\T\The Beatles\2003 - Let It Be Naked\CD1\01_GetBack_TheBeatles_LIBNCD1_2003.mp3 O:\MUSIK\ROCK\T\Thin Lizzy\1978 - Live And Dangerous and this cmd file: CODE @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" "O:\TEST\Mp3tag.batch.m3u" and got these files listed in Mp3tag: CODE 02_FromMeToYou_TheBeatles_1_2000.mp3 01_GetBack_TheBeatles_LIBNCD1_2003.mp3 01_Jailbreak_ThinLizzy_LAD_1978.mp3 02_Emerald_ThinLizzy_LAD_1978.mp3 03_Southbound_ThinLizzy_LAD_1978.mp3 04_Rosalie_ThinLizzy_LAD_1978.mp3 05_DancingInTheMoonlight_ThinLizzy_LAD_1978.mp3 06_Massacre_ThinLizzy_LAD_1978.mp3 07_StillInLoveWithYou_ThinLizzy_LAD_1978.mp3 08_JohnnyTheFoxMeetsJimmyTheWeed_ThinLizzy_LAD_1978.mp3 09_CowboySong_ThinLizzy_LAD_1978.mp3 10_TheBoysAreBackInTown_ThinLizzy_LAD_1978.mp3 11_DontBelieveAWord_ThinLizzy_LAD_1978.mp3 12_Warriors_ThinLizzy_LAD_1978.mp3 13_AreYouReady_ThinLizzy_LAD_1978.mp3 14_Suicide_ThinLizzy_LAD_1978.mp3 15_ShaLaLa_ThinLizzy_LAD_1978.mp3 16_BabyDrivesMeCrazy_ThinLizzy_LAD_1978.mp3 17_TheRocker_ThinLizzy_LAD_1978.mp3 This works fine. DD.20090403.1006.CEST This post has been edited by DetlevD: Apr 3 2009, 09:34 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Apr 3 2009, 12:26
Post
#8
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
> I have this m3u file:
Thanks for the suggestion - I have a similar one. As I said: QUOTE I've worked around my need by making a playlist but QUOTE but would still like to hear if there is a direct solution.
|
|
|
|
Apr 3 2009, 22:14
Post
#9
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
As an example ... this cmd file starts one instance of Mp3tag displaying all the files from the two folders:
CODE @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Killswitch Engage\2005 - The End Of Heartache\" @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Kim Wilde\1995 - Now & Forever\" As another example ... this cmd file does the same by looping through all the parameters from the given commandline: CODE @For %%p in (%*) DO @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"%%~p" ... typing this on the commandline: CODE Mp3tag.batch.cmd "O:\MUSIK\ROCK\K\Killswitch Engage\2005 - The End Of Heartache\" "O:\MUSIK\ROCK\K\Kim Wilde\1995 - Now & Forever\" DD.20090403.2337.CEST This post has been edited by DetlevD: Apr 3 2009, 22:40 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jul 7 2009, 00:25
Post
#10
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
As an example ... this cmd file starts one instance of Mp3tag displaying all the files from the two folders: Thanks, but it is worth noting that relies on the first command still executing when the second starts. If it has finished (e.g. try the two at the DOS prompt), then the second wipes the Mp3tag tracklist.CODE @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Killswitch Engage\2005 - The End Of Heartache\" @START "" "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Kim Wilde\1995 - Now & Forever\" I would welcome Mp3tag supporting a reliable method e.g. /cd and /ad as per the File menu. |
|
|
|
Jul 7 2009, 08:41
Post
#11
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... If it has finished (e.g. try the two at the DOS prompt), then the second wipes the Mp3tag tracklist. ... This is not true. You should try the example script as intended. ... I would welcome Mp3tag supporting a reliable method e.g. /cd and /ad as per the File menu. Mp3tag is not a simple batch executable file, but a windows application. Once the Mp3tag application is invoked it will get terminated only by user intervention pressing Alt-F4 or clicking the window close button or choosing close command from the file menu. (There is no commandline parameter known, that can kill the running application from a DOS commandline.) Therefore you can use a batch file, as I did it in the examples in the previous posts, for multiple invocations of "Mp3tag /fp" commands to get all the wanted files and folders into one listview. As you easily can see the Mp3tag commandline parameter /fp supports reading in a single file and reading a complete folder too. DD.20090707.0940.CEST This post has been edited by DetlevD: Jul 7 2009, 08:42 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jul 7 2009, 11:05
Post
#12
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
>> If it has finished (e.g. try the two at the DOS prompt),
>> then the second wipes the Mp3tag tracklist. ... > This is not true. Did you actually try at the DOS prompt, Detlev? |
|
|
|
Jul 7 2009, 11:34
Post
#13
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... Did you actually try at the DOS prompt, Detlev? I will try again. Is there any difference between directly executing Mp3tag.exe on commandline against executing from within the batch process? I got it both together in Mp3tag when coding this commandline: CODE "%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Killswitch Engage\2005 - The End Of Heartache\"&"%ProgramFiles%\Mp3tag\Mp3tag.exe" /fp:"O:\MUSIK\ROCK\K\Kim Wilde\1995 - Now & Forever\" I am unsure. It looks a bit like if Mp3tag does not know how to detect itself's running instance. Despite all the tricks it seems a good way to have some handy native commandline parameters. Mp3tag.exe /fp:"<full-qualified path to directory>" Starts Mp3tag (if it is not already running) in the specified directory using the directory as working directory starting with a fresh filelist as defined - maybe with modifier: This folder only / Including subfolders - maybe with path and file wildcards Mp3tag.exe /fn:"<full-qualified file name>" Starts Mp3tag (if it is not already running) with the specified audio file using the directory of the file as working directory starting with a fresh filelist as defined - maybe with file wildcards Mp3tag.exe /add /fp:"<full-qualified path to directory>" Starts Mp3tag (if it is not already running) in the specified directory using the directory as working directory adding new entries to the existing filelist. - maybe with modifier: This folder only / Including subfolders - maybe with path and file wildcards Mp3tag.exe /add /fn:"<full-qualified file name>" Starts Mp3tag (if it is not already running) with the specified audio file using the directory of the file as working directory adding new entries to the existing filelist. - maybe with file wildcards Mp3tag.exe /del /fp:"<full-qualified path to directory>" Mp3tag.exe /del /fn:"<full-qualified file name>" Uses running instance of Mp3tag and deletes/removes the defined entries. - maybe with path and file wildcards - maybe with file wildcards ... hmm, m3u files should be respected too. DD.20090707.1320.CEST This post has been edited by DetlevD: Jul 7 2009, 16:47 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jul 7 2009, 16:15
Post
#14
|
|
|
Member Group: Full Members Posts: 1236 Joined: 25-October 05 Member No.: 2273 Mp3tag Version: - |
> Is there any difference between directly executing Mp3tag.exe
> on commandline against executing from within the batch process? Yes. When executing on the command line, the small delay between commands can cause the second one to wipe the files of the first. > I got it both together in Mp3tag when coding this commandline: Nice trick. That works fine here, and not just for folder - for track files and m3u files too: QUOTE "%ProgramFiles%\Mp3tag\Mp3tag.exe" "q:\a.wma" & "%ProgramFiles%\Mp3tag\Mp3tag.exe" "Q:\b.wma" "%ProgramFiles%\Mp3tag\Mp3tag.exe" "q:\a.m3u" & "%ProgramFiles%\Mp3tag\Mp3tag.exe" "Q:\b.m3u" > Despite all the tricks it seems a good way to have some handy native commandline parameters. Agreed, but I do not see how your suggested change to the behaviour of /fp would accomodate the existing Explorer shell integration requirement. Hence I would prefer my suggestion of addtional switches. > ... hmm, m3u files should be respected too. Agreed. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 02:01 |