Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Two libraries?  (Read 1920 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Two libraries?

I have foobar installed and configured to working how I like it for my PC, the library is pointing to My Music folder on C: etc.

I connect my Hi Res portable DAP to the computer (USB), it has the same files on it's internal sd card that My Music folder does on C: (i.e. they are synced often). The computer can see the SD card as Removable Device etc, all good.

Where the problem lies is I would like to be able to use my Foobar to basically point it to my SD Card in my DAP, so that then I could create a playlist in the morning, save it (m3u file) and therefore run that m3u file from the DAP (which can support this, and have done so many a time with winamp in the past).

Can you think how I could manage this? I mean I could remove the currently library in foobar, then manually add the sd card (K: etc), but that's a pain to do that each time I connect (several times a week).

If i add both directories to the library  (and they are pretty much identical), won't things get weird when adding songs to the playlist, when saving won't some point to the My Music pc directory and not the DAPs one?

Can I go into Layout Editing mode and add a new library, but this time it's JUST the K: (SD card one)? Add that way?

Cheers,

Bruce

Re: Two libraries?

Reply #1
Two separate foobar portable installs?

Re: Two libraries?

Reply #2
If you really wanted them both in the single foobar2000 profile you could divide the two sources using title formatting via a custom grouping column. I'm only familar using Facets and EsPlaylist for this purpose but it's probably possible with other library display panels as well.

See this semi-related post for an idea of how tabs can separate different parts of a library using either the $strstr() function (with Facets) or query syntax (with EsPlaylist). The basic premise is:

Code: [Select]
$if($strstr(%path%,MyPathHere),True,False)

Which translates to: 'if the file path contains MyPathHere do True, otherwise do False'. So to include only tracks from one drive you could make a custom column for each tab that displays only that drive's music:

Code: [Select]
$if($strstr(%path%,C:\),[%album artist%],)
Code: [Select]
$if($strstr(%path%,K:\),[%album artist%],)

The %album artist% tag could be substituted for whichever tag(s) or formatting you normally group your music by.

---

I'll add that for my portable music I simply replicate the same path structure (apart from the root directory) which makes it easier to create playlists since they share virtually the same paths (and there's no need to display the portable copies of the files in fb2k). So with just one find and replace tweak in the m3u I have a ready-to-use playlist that works on the portable device.

Re: Two libraries?

Reply #3
Two separate foobar portable installs?

I thought about that, can you do one portable and one standard? I actually couldn't work out how to do a 'portable' installation, I think when I tried to install it a second time it just did standard again?

If you really wanted them both in the single foobar2000 profile you could divide the two sources using title formatting via a custom grouping column. I'm only familar using Facets and EsPlaylist for this purpose but it's probably possible with other library display panels as well.

See this semi-related post for an idea of how tabs can separate different parts of a library using either the $strstr() function (with Facets) or query syntax (with EsPlaylist). The basic premise is:

Code: [Select]
$if($strstr(%path%,MyPathHere),True,False)

Which translates to: 'if the file path contains MyPathHere do True, otherwise do False'. So to include only tracks from one drive you could make a custom column for each tab that displays only that drive's music:

Code: [Select]
$if($strstr(%path%,C:\),[%album artist%],)
Code: [Select]
$if($strstr(%path%,K:\),[%album artist%],)

The %album artist% tag could be substituted for whichever tag(s) or formatting you normally group your music by.

---

I'll add that for my portable music I simply replicate the same path structure (apart from the root directory) which makes it easier to create playlists since they share virtually the same paths (and there's no need to display the portable copies of the files in fb2k). So with just one find and replace tweak in the m3u I have a ready-to-use playlist that works on the portable device.

Tbh sounds way to convoluted and I'll likely waste hours trying to figure out how to do what u said as well as get things working the way I want. The editing of the m3u file sounds like a better idea because the music is synced via Create Synchronicity so the structures are very similar.

What's a good way to then do a 'Find & Replace', just use Word and edit the m3u file that way?

 

Re: Two libraries?

Reply #4
Tbh sounds way to convoluted

It's actually rather simple. A GIF would explain it in a few seconds, comparatively. The playlist method is a lot more straightforward for the actual purpose though, absolutely.

The editing of the m3u file sounds like a better idea because the music is synced via Create Synchronicity so the structures are very similar.

What's a good way to then do a 'Find & Replace', just use Word and edit the m3u file that way?

Whatever text editor can find and replace all matches of some text and save it back as m3u. I personally use Sublime Text for this.

Re: Two libraries?

Reply #5
You can do a standard and a portable, no problem. I don't see why you have issues installing portable. You just select portable at the beginning of the install process and select a folder. There's nothing more to it. After that's done you can run two instances of foobar at once both the standard install and the portable install and you can configure each separately the way you like.

Re: Two libraries?

Reply #6
You can do a standard and a portable, no problem. I don't see why you have issues installing portable. You just select portable at the beginning of the install process and select a folder. There's nothing more to it. After that's done you can run two instances of foobar at once both the standard install and the portable install and you can configure each separately the way you like.

See that's what I thought, I was expecting an option during installation to choose portable or standard but didn't think I saw that option the other day I tried. I'm prolly senile, I'll have a go at it again.

Re: Two libraries?

Reply #7
You can do a standard and a portable, no problem. I don't see why you have issues installing portable. You just select portable at the beginning of the install process and select a folder. There's nothing more to it. After that's done you can run two instances of foobar at once both the standard install and the portable install and you can configure each separately the way you like.

I think the problem is I can't install a portable one as the installer comes up with a pop up message saying 'standard installation found' and therefore doesn't give me the option?

Re: Two libraries?

Reply #8
Try installing the portable application to a secondary drive or a usb drive.   Move or copy the entire portable foobar installation to where you want it on your main computer.  FWIW, I put mine inside of my music library.

Best, LedHed8

Re: Two libraries?

Reply #9
I think the problem is I can't install a portable one as the installer comes up with a pop up message saying 'standard installation found' and therefore doesn't give me the option?
In the first screen where you can do one-click update of an existing install you can hit the Custom button to change settings or install portable version.


Re: Two libraries?

Reply #10
Try installing the portable application to a secondary drive or a usb drive.   Move or copy the entire portable foobar installation to where you want it on your main computer.  FWIW, I put mine inside of my music library.

Best, LedHed8

I just seemed to have an odd installer of foobar that wouldn't allow, I found another installer for foobar and it gave the option for portable, so all good on that front.

However, I noted that there didn't seem the ability to import a saved theme? I mean I have my main standard installation configured the way I like it, album art via facets, lyric viewer and stuff like that, and even tho its not crucially important to have these features for  some stuff (like making a playlist) I still kinda want to browse and choose songs in a similar manner (and importing the theme would have been the quickest way).

So is it a case of no importing themes but I noticed a component folder so the portable installation can still 'get there' per se if I manually set it up again?

Re: Two libraries?

Reply #11
Tbh sounds way to convoluted

It's actually rather simple. A GIF would explain it in a few seconds, comparatively. The playlist method is a lot more straightforward for the actual purpose though, absolutely.

The editing of the m3u file sounds like a better idea because the music is synced via Create Synchronicity so the structures are very similar.

What's a good way to then do a 'Find & Replace', just use Word and edit the m3u file that way?

Whatever text editor can find and replace all matches of some text and save it back as m3u. I personally use Sublime Text for this.

Just to say thanks for this, I successfully created a playlist and used notepad's 'Replace' feature and it worked a charm. Thanks once again.