IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Organizing Files with Foobar2000
lagbot
post Jan 3 2009, 08:28
Post #1





Group: Members
Posts: 2
Joined: 3-January 09
Member No.: 65131



I am looking for a plugin or method to automatically organize files into sub-folders based on tags. I understand that it's possible to move and rename files manually, but I'm looking for something which will pull information from the files and place them into folders based off of that information. Essentially I'm looking to mimic the features of iTunes' automatic library organizer, but since my library is in FLAC format, I can't use iTunes to organize it.
Go to the top of the page
+Quote Post
Nemphael
post Jan 3 2009, 18:15
Post #2





Group: Members
Posts: 245
Joined: 19-March 07
Member No.: 41623



You can't really do it automatically. Try to make an autoplaylsit with a query to see whether it matches the desired pattern. For instance:
CODE
NOT "%path%" IS "D:\music\%artist%\%album%\%tracknumber%. %title%"

The script doesn't account for illegal characters/file extensions (Can't test, as I don't have Foobar here), but do you catch the general idea?

This post has been edited by Nemphael: Jan 3 2009, 18:16
Go to the top of the page
+Quote Post
Frank Bicking
post Jan 3 2009, 19:29
Post #3





Group: Super Moderator
Posts: 1830
Joined: 24-July 02
From: Berlin, Germany
Member No.: 2776



File operations

The component is included in the installer.

Run the foobar2000 setup again if you did not select it.
Go to the top of the page
+Quote Post
ZeeJay
post Jan 3 2009, 22:59
Post #4





Group: Members
Posts: 50
Joined: 22-February 08
Member No.: 51505



QUOTE (Frank Bicking @ Jan 3 2009, 15:29) *
File operations

The component is included in the installer.

Run the foobar2000 setup again if you did not select it.


Except for the fact that this component can not create NEW folders. You need to create all the folders you want, so it can rename them - not that helpful, is it?!
Also the Masstagger componet was able to create new folders until it reached the version 1.7.
So, both are useless for REALLY getting the library organized.
I suggest the Masstagger version 1.6. Access the menu "Rename or Copy" through right-click, type some commands and tags, and voilą! You can even create and save custom file naming schemes.
Go to the top of the page
+Quote Post
smkk
post Jan 3 2009, 23:07
Post #5





Group: Members
Posts: 603
Joined: 18-November 07
Member No.: 48839



Yes it can create new folders. Say you have an album on C:\ and want to move it to C:\artist\album\tracknumber - title.
Select C:\ as target folder and as naming scheme:
CODE
%artist%\%album%\%track% - %title%
Go to the top of the page
+Quote Post
ZeeJay
post Jan 3 2009, 23:31
Post #6





Group: Members
Posts: 50
Joined: 22-February 08
Member No.: 51505



That's right! How could I never see it that way? (Can I say it's not clear explained?!)
Really my mistake.
I just miss the "delete files" action.
Thanks for pointing the truth.
Go to the top of the page
+Quote Post
lagbot
post Jan 3 2009, 23:39
Post #7





Group: Members
Posts: 2
Joined: 3-January 09
Member No.: 65131



QUOTE (smkk @ Jan 3 2009, 17:07) *
Yes it can create new folders. Say you have an album on C:\ and want to move it to C:\artist\album\tracknumber - title.
Select C:\ as target folder and as naming scheme:
CODE
%artist%\%album%\%track% - %title%


Ok, thanks for the help. Was slightly confused by the file operations tool, but this helped clear it up for me.
Go to the top of the page
+Quote Post
Middy
post Jan 5 2009, 03:02
Post #8





Group: Members
Posts: 16
Joined: 18-December 08
Member No.: 64615



Sorry, kinda random question here- Has anyone had any luck with the

CODE
NOT "%path%" IS "D:\music\%artist%\%album%\%tracknumber%. %title%"


search query? Haven't been able to get it working blink.gif

Thanks for any help! tongue.gif
Go to the top of the page
+Quote Post
smkk
post Jan 5 2009, 03:15
Post #9





Group: Members
Posts: 603
Joined: 18-November 07
Member No.: 48839



%path% doesn't work with variables. What are you trying to archieve anyway?
Go to the top of the page
+Quote Post
Middy
post Jan 5 2009, 03:23
Post #10





Group: Members
Posts: 16
Joined: 18-December 08
Member No.: 64615



QUOTE (smkk @ Jan 5 2009, 10:15) *
%path% doesn't work with variables. What are you trying to archieve anyway?


Yeah, that's what I was thinking- I'm trying to find a way to find files which are "out of order", and that was suggested earlier.
Go to the top of the page
+Quote Post
Nemes1s
post Jan 7 2009, 22:08
Post #11





Group: Members
Posts: 2
Joined: 21-June 08
Member No.: 54662



QUOTE (Middy @ Jan 4 2009, 21:23) *
QUOTE (smkk @ Jan 5 2009, 10:15) *

%path% doesn't work with variables. What are you trying to archieve anyway?


Yeah, that's what I was thinking- I'm trying to find a way to find files which are "out of order", and that was suggested earlier.


You could just select all the music files in your media library and then do the file operation on them so none of them would be "out of order." If that is your end goal that is.

This post has been edited by Nemes1s: Jan 7 2009, 22:10
Go to the top of the page
+Quote Post
Frank Bicking
post Jan 7 2009, 22:27
Post #12





Group: Super Moderator
Posts: 1830
Joined: 24-July 02
From: Berlin, Germany
Member No.: 2776



^ Exactly.

File operations is perfectly able to determine which files need to be moved or renamed on its own.

Its preview will only show files that are out of order.

This post has been edited by Frank Bicking: Jan 7 2009, 22:29
Go to the top of the page
+Quote Post
TomBarlow
post Jan 8 2009, 01:16
Post #13





Group: Members
Posts: 585
Joined: 30-July 07
Member No.: 45750



One thing I don't think has been answered, is it possible, or could it be possible in the future, for File Ops to *automatically* move/rename your files based on their tags? Say if I change a track's album tag, the file could be moved to the relevant folder automatically, without having to run File Ops. It would make sense to have it now that we have an auto-updating media library- we have a library that updates when we change a file, so why not have files that update when we change their tags? You'd just need to define a path for all your music, and foobar would look after it all. It would be ace!

It would probably have to be optional- otherwise someone might go to rename a file only to have foobar change the name back, which would be confusing as hell! And you might have to define a path for files to go to within your library path(s), otherwise they'd be outside the library and they wouldn't show up any more... I think it would be really cool though.
Go to the top of the page
+Quote Post
Nemphael
post Jan 8 2009, 07:19
Post #14





Group: Members
Posts: 245
Joined: 19-March 07
Member No.: 41623



That looks great, but there's bound to be drawbacks. (For now,) How about an autoplaylist query to compare paths and metadata?
Go to the top of the page
+Quote Post
smkk
post Jan 8 2009, 08:11
Post #15





Group: Members
Posts: 603
Joined: 18-November 07
Member No.: 48839



^ The only way i can think of is to use "Automatically fill values" on all tracks with %path% as source, write test tags for artist, album etc and compare to actual file tags.

Open properties for all items in your libary>automatically fill values>source: %path%
If your music is, or rather -should- be stored in C:\artist\album\tracknumber title.mp3 use the pattern:
CODE
%%\%album artist test%\%album test%\%tracknumber test% %title test%.%%

Adjust to your pattern.

Then create new playlist columns to compare the values you got from %path% with the values from tags eg:
CODE
$if($strcmp(%title%,%title test%),OK,not OK)


This post has been edited by smkk: Jan 8 2009, 08:49
Go to the top of the page
+Quote Post
Middy
post Jan 20 2009, 05:08
Post #16





Group: Members
Posts: 16
Joined: 18-December 08
Member No.: 64615



Sorry for the late reply :S

Cheers for that Nemesis, Frank and smkk, seems kinda obvious now lol tongue.gif Thanks

@ TomBarlow- +1 for that feature biggrin.gif Would be great
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: 23rd August 2014 - 17:36