IPB

Welcome Guest ( Log In | Register )

> Notice!

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.

 
Reply to this topicStart new topic
> Need some help Moving Files to new location
Michael_vdW
post Jan 18 2018, 21:57
Post #1


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



Hi All,

I'm using Mp3tag in conjunction with dBpoweramp to clean up my library.

I thought I'd easily be able to move everything to a new location on my NAS using the Tag-Filename function, but quickly found out it didn't move the entire contents of the directory, Folder.jpg was left behind in the original location.

So after some searching on this forum I found out about the tag-tag function using the field _DIRECTORY.

My format is like this:

I:\MusicNEW\%albumartist%\%album%\[$num(%discnumber%,1)-]$num(%track%,2) - %title%

So basically I'd like everthing to be moved to a new location with one folder for multidisc albums and with the discnumber (if present) added to the filename.

Something seems to be wrong though because I tested this with one album (not multidisc and no discnumber tag) and ended up with this folder path:

I:\MusicNEW\Bobby Bland & B.B. King\I Like to Live the Love\07 - Goin' Down Slow\01 - Three O'Clock Blues.flac

07 - Goin' Down Slow is the first track in the list in mp3tag, coincidence? I think not?

Any idea what I'm doing wrong here?

Any help would be much appreciated.

Michael

This post has been edited by Michael_vdW: Jan 18 2018, 22:04
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 18 2018, 22:03
Post #2


Member


Group: Full Members
Posts: 9472
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85k



ZITAT(Michael_vdW @ Jan 18 2018, 21:57) *
.... I found out about the tag-tag function using the field _DIRECTORY.

My format is like this:

I:\MusicNEW\%albumartist%\%album%\[$num(%discnumber%,1)-]$num(%track%,2) - %title%

So basically I'd like everthing to be moved to a new location with one folder for multidisc albums and with the discnumber (if present) added to the filename.

Something seems to be wrong though because I tested this with one album (not multidisc and no discnumber tag) and ended up with this folder path:

I:\MusicNEW\Bobby Bland & B.B. King\I Like to Live the Love\07 - Goin' Down Slow\01 - Three O'Clock Blues.flac

Any idea what I'm doing wrong here?

Any help would be much appreciated.

Michael

If you want to move a whole DIRECTORY then you should leave out anything that has to do with the filename.
So
I:\MusicNEW\%albumartist%\%album%\[$num(%discnumber%,1)-]$num(%track%,2) - %title%should only be:
I:\MusicNEW\%albumartist%\%album%\

If you want to also rename the file then do that before you move the whole directory (or afterwards) - but do it in 2 steps.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Michael_vdW
post Jan 18 2018, 22:09
Post #3


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



Thank you ohrenkino.

Currently my multidisc cd's are in their own folders with , disc 1 , disc 2 at the end.

I'm guessing that firstly moving everything to a new directory will put all the tracks from disc 1 and disc 2 in the same folder? Then it'll be easy to rename the individual files from there?

This post has been edited by Michael_vdW: Jan 18 2018, 22:10
Go to the top of the page
 
+Quote Post
Michael_vdW
post Jan 18 2018, 22:16
Post #4


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



QUOTE (ohrenkino @ Jan 18 2018, 22:03) *
If you want to move a whole DIRECTORY then you should leave out anything that has to do with the filename.


Yeah, I guess I kinda missed this one huh.gif biggrin.gif
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 18 2018, 22:20
Post #5


Member


Group: Full Members
Posts: 9472
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85k



ZITAT(Michael_vdW @ Jan 18 2018, 22:09) *
Thank you ohrenkino.

Currently my multidisc cd's are in their own folders with , disc 1 , disc 2 at the end.

I'm guessing that firstly moving everything to a new directory will put all the tracks from disc 1 and disc 2 in the same folder? Then it'll be easy to rename the individual files from there?

If you use an absolute path then the current set of files from the source folder are moved to the target folder.
If you rename a folder then you must have the whole folder structure ready in that respect that you cannot generate any new folders - you can only keep the current number of folders or merge several folders to a lower number.

That is why I cannot answer your question as I do not know if you already have separate folders for multi-disc albums or whether this should be the result after moving the files.
Although you say that the files are in separate folders, the format string that you supplied
I:\MusicNEW\%albumartist%\%album%\[$num(%discnumber%,1)-]$num(%track%,2) - %title%
uses the optional discnumber part as part of the filename and not as a folder name.
This one would:
I:\MusicNEW\%albumartist%\%album%\[$num(%discnumber%,1)\]$num(%track%,2) - %title%

As only one file (I think it is the first one) of a folder is evaluated, it is mandatory that this file has the discnumber set if that is to be used.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Michael_vdW
post Jan 18 2018, 22:27
Post #6


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



QUOTE (ohrenkino @ Jan 18 2018, 22:20) *
That is why I cannot answer your question as I do not know if you already have separate folders for multi-disc albums or whether this should be the result after moving the files.


Current situation is like this:

I:\AC-DC\Live, Disc 1
I:\AC-DC\Live, Disc 2

I'd like the contents of both the above folders moved to:

I:\MusicNEW\AC-DC\Live

And then rename the files to have the optional discnumer added.

I hope this clarifies it.

This post has been edited by Michael_vdW: Jan 18 2018, 22:28
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 18 2018, 22:36
Post #7


Member


Group: Full Members
Posts: 9472
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85k



ZITAT(Michael_vdW @ Jan 18 2018, 22:27) *
Current situation is like this:

I:\AC-DC\Live, Disc 1
I:\AC-DC\Live, Disc 2

I'd like the contents of both the above folders moved to:

I:\MusicNEW\AC-DC\Live

And then rename the files to have the optional discnumer added.

I hope this clarifies it.

I assume that "Live" is the name of the album.
So an action of the type "Format value" (or the Convert>Tag-Tag function) for _DIRECTORY and the
Format string: i:\musicnew\%artist%\%album%
should move all the files from the 2 folders to a single (new) one.

If you already have files with the name "folder.jpg" in the 2 folders, you will be asked if the second file should overwrite the first one.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Michael_vdW
post Jan 18 2018, 22:40
Post #8


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



QUOTE (ohrenkino @ Jan 18 2018, 22:36) *
I assume that "Live" is the name of the album.
So an action of the type "Format value" (or the Convert>Tag-Tag function) for _DIRECTORY and the
Format string: i:\musicnew\%artist%\%album%
should move all the files from the 2 folders to a single (new) one.

If you already have files with the name "folder.jpg" in the 2 folders, you will be asked if the second file should overwrite the first one.


OK, thanks!

Will I be asked for every double Folder.jpg? That would mean having to click "overwrite" about 150 times I guess...

In that regard I'd better make sure the multidisc albums are handled first...

This post has been edited by Michael_vdW: Jan 18 2018, 22:41
Go to the top of the page
 
+Quote Post
ohrenkino
post Jan 18 2018, 22:43
Post #9


Member


Group: Full Members
Posts: 9472
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.85k



ZITAT(Michael_vdW @ Jan 18 2018, 22:40) *
OK, thanks!

Will I be asked for every double Folder.jpg? That would mean having to click "overwrite" about 150 times I guess...

In that regard I'd better make sure the multidisc albums are handled first...

you could remove the "hidden" and "system" attribute first:
Open a Command shell, enter:
attrib -h -s folder.jpg /s


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Michael_vdW
post Jan 18 2018, 22:52
Post #10


Member


Group: Full Members
Posts: 6
Joined: 18-January 18
Member No.: 24391
Mp3tag Version: 2.85



QUOTE (ohrenkino @ Jan 18 2018, 22:43) *
you could remove the "hidden" and "system" attribute first:
Open a Command shell, enter:
attrib -h -s folder.jpg /s


There's no hidden or system attribute set, just the archive attribute, which to my understanding is normal

I:\10CC\Greatest Hits 1972-1978>attrib Folder.jpg
A I:\10CC\Greatest Hits 1972-1978\Folder.jpg

This post has been edited by Michael_vdW: Jan 18 2018, 22:53
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th January 2018 - 06:29