IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Library partly on external drive
dalgard
post Nov 26 2012, 01:14
Post #1





Group: Members
Posts: 87
Joined: 30-October 09
Member No.: 74433



My disk is full and all of it is music, so I'm trying to move the stuff I listen to least to an external drive. Now I need to find a nice way to incorporate this scheme into foobar cool.gif

It helps a lot that foobar retains in its index files that are currently offline. This way they can still be searched.

It would be practical, however, to be able to mark files that are currently unavailable using some title formatting. Also, even if the external drive is plugged in, it would be nice to mark which files are residing on a removable medium.

Any thoughts on how to do those two things?

Extracting the drive letter from the path is one solution, but not very dynamic. Another thing is the sorting of my library - the tracks on the external harddrive appear at the bottom when I browse my library using Facets and EsPlaylist, but I can't see that path is used anywhere for sorting... It would be optimal if I were able to split up single albums (with the popular songs on the internal) but still have all the songs shown together as one album.

Thanks for your input! smile.gif

This post has been edited by dalgard: Nov 26 2012, 01:16
Go to the top of the page
+Quote Post
Daeron
post Nov 26 2012, 01:53
Post #2





Group: Members
Posts: 401
Joined: 9-October 08
Member No.: 59818



You can set up a filter using a code like this:
CODE
$left(%path%,3)

What is not so dynamic about this? I suppose Facets put an 'All' toggle on top of each filter. If an album is split between two drives, just use that.

This post has been edited by Daeron: Nov 26 2012, 01:59
Go to the top of the page
+Quote Post
BenB
post Nov 26 2012, 03:59
Post #3





Group: Members
Posts: 749
Joined: 17-April 12
Member No.: 98921



Maybe, by dynamic, OP means something like:

CODE
$if($strstr(%path%,C:\),LOCAL,EXTERNAL)

This could be used in a new column to mark tracks individually. It could also be used to help create a new view in Album list where selecting "All music" would show all tracks (sorted correctly, regardless of location), but also leaving OP the option of selecting "LOCAL" or "EXTERNAL" as a way to show only those tracks in their respective location.

As for the sorting, Facets has a box in its preferences to define how it sorts. It's likely to be %path_sort% currently. Changing that to something akin to:

CODE
%album artist% - %date% - %album% - %discnumber% - %tracknumber% - %title%

might help achieve what you want OP.

You'll likely want to change the sort settings under Shell Integration to something similar to the above sort as well.
Go to the top of the page
+Quote Post
dalgard
post Nov 26 2012, 11:55
Post #4





Group: Members
Posts: 87
Joined: 30-October 09
Member No.: 74433



Thanks for your answers.

The reason I think extracting the drive letter is not very dynamic is that one has to code in statically which drive letters belong to which category. It would be nice to have a dynamic method of determining wether a file resides on an internal drive, an external drive, or even on a network drive.

Also, the most important part of my question is determining which files are offline. For instance, if I would like to add a star before each song title for files that are currently unavailable (instead of trying to play it and having the song skipped).

I'm using the old version of Facets since I must consider the new one bloatware for my purpose (I use the exquisite EsPlaylist instead), and I don't see any option for sorting - is it just me?
Go to the top of the page
+Quote Post
Daeron
post Nov 26 2012, 18:02
Post #5





Group: Members
Posts: 401
Joined: 9-October 08
Member No.: 59818



BenB's variation does exactly that. The internal drive letters are doubtful to ever change. Everything else will be labeled under 'External'. If you want to separate them, you could just put your music into '\network\' and '\external\' root folders on the corresponding drives and make a filter based on that. Though it is hardly different than just using drive letters in my opinion.

Marking files in playlists can be done with the same code as well (just change 'EXTERNAL' to a star or whatever and 'LOCAL' to nothing). But again, simply using the filter should immediately sort out every potential file. (And the media library will do it for you eventually anyway.)

This post has been edited by Daeron: Nov 26 2012, 18:08
Go to the top of the page
+Quote Post
dalgard
post Nov 26 2012, 23:09
Post #6





Group: Members
Posts: 87
Joined: 30-October 09
Member No.: 74433



Please give me a little credit and don't write any more posts pointing out obvious stuff... About using drive letters as an indicator, it's still not a very dynamic solution; I might create more internal partitions, move my foobar to another machine and so on... There are no guarantees that letters C and D are internal, E to V are external and W to Z are network drives. But I guess it's the only method available.

I'm still very interested in seeing some title formatting that will tell me wether a file is currrently online/available or wether it resides in a location that is disconnected. Foobar retains files in its database even if their current location is unavailable (which is a good thing).

This post has been edited by dalgard: Nov 26 2012, 23:09
Go to the top of the page
+Quote Post
Zarkon
post Nov 27 2012, 00:35
Post #7





Group: Members
Posts: 200
Joined: 7-November 04
Member No.: 18008



Not possible. Previous discussion here and here.

This post has been edited by Zarkon: Nov 27 2012, 00:44
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: 2nd October 2014 - 12:10